The O/S of Desktop in question was UBUNTU 14.04. Few days back this was formatted and UBUNTU 16.04 was installed. However after upgrading when it was found that the printer is not working, I downloaded HPLIP from https://developers.hp.com/hp-linux-i...nting/gethplip. Notwithstanding, the position is same. How to resolve the issue?
The issue could be resolved yesterday with the procedure described in the link. https://websiteforstudents.com/installing-hp-printer-drivers-on-ubuntu-16-04-17-10-18-04-desktop/
Therefore, now it stands SOLVED.