Problem with printing (hplip) in Ubuntu 14.04

You need to run hp-setup after installing Ubuntu 14.04.

hp-setup Installs HPLIP printers and faxes in the CUPS spooler. Tries to automatically determine the correct PPD file to use. Allows the printing of a testpage. Performs basic fax parameter setup.


Run hp-setup, then if the problem still persists follow these steps, too:

  1. Go to http://localhost:631/, then go to "Printers", there your printer will be listed under queue name, click it.

  2. Click "Administration" drop down menu

  3. Select "set allowed users"

  4. Type in your computer "username" and "select allow these users to print" and click "Set allowed Users".

I successfully got the printer running using these steps in Ubuntu 14.04 LTS.


I had the same problem in Ubuntu 17.04 and Hp Laser Jet P1006 but neither installing by localhost:631 or setting "allowed users" nor using printers part of Ubuntu system tools helped me.
But I fixed the problem by removing printer in system tools > printers and running hp-setup -i that is an interface for "hplip".
By hp-setup -i setting up a new printer would be easy and without problem.
I added my new printer by using hp-setup -i steps and in final step it asked me for test print and then everything worked great.