HP LaserJet won't print (16.04 LTS)
Solution 1:
Run command : sudo hp-setup -i
and then follow the instruction for installation but first delete the printer that you added.
Solution 2:
Dealing with a different HP printer, I found a glitch in the 3.17 installers that may be your problem. Permissions on the PPD file must include X (chmod 754). The 3.17 installers don't set the permissions correctly, and the result is a printer that works just fine except when you print to it. Retreating to 3.16 didn't fix the problem; I'm guessing because the PPD file is left behind during the 3.17 uninstall and 3.16 "assumes" that its permissions are correct.
In any case, try checking the permissions on your PPD file, or just set them with CHMOD 754.