Could you uninstall any version of HPLIP which you installed directly from HP and the re-install Ubuntu's HPLIP with the command:
sudo apt install --reinstall printer-driver-hpcups printer-driver-postscript-hp libsane-hpaio hplip-gui hplip hplip-data libhpmud0
If there is any problem, post the screen output of this command here. If not, try to set up your printer again and see whether it works now.
Could you uninstall any version of HPLIP which you installed directly from HP and the re-install Ubuntu's HPLIP with the command:
sudo apt install --reinstall printer- driver- hpcups printer- driver- postscript- hp libsane-hpaio hplip-gui hplip hplip-data libhpmud0
If there is any problem, post the screen output of this command here. If not, try to set up your printer again and see whether it works now.