Problem with printing (hplip) in Ubuntu 14.04
Solution 1
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.
Solution 2
Run hp-setup
, then if the problem still persists follow these steps, too:
Go to http://localhost:631/, then go to "Printers", there your printer will be listed under queue name, click it.
Click "Administration" drop down menu
Select "set allowed users"
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.
Solution 3
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.
Related videos on Youtube
![Pandya](https://i.stack.imgur.com/XpD4D.jpg?s=256&g=1)
Pandya
Started using Linux and StackExchange since Ubuntu 12.04 LTS. Then Upgraded to 14.04 LTS. Now I am using Debian GNU/Linux on my Laptop and PureOS on old Desktop computer. I recommend visiting the Philosophy of GNU Project As I've replaced Ubuntu with Debian GNU/Linux, Now my question(s) are became off-topic on AskUbuntu. So, I continue to Unix & Linux. The second reason for my shifting to U & L is I found U & L more interesting than AU since AU is only Ubuntu specific whereas U & L is a broad concept and in my opinion U & L deserves generic questions. (I know why SE has AU & U & L both).
Updated on September 18, 2022Comments
-
Pandya almost 2 years
Earlier when I run Ubuntu 12.04, It prompts to install printer on detecting by XTerm (It automatically download and configures hplip) and my hp-laserjet working fine on Ubuntu 12.04.
Now, I am running Ubuntu 14.04 (Installed form DVD). When I plugged printer, XTerm doesn't prompts so, I manually configured as following.
1. Open printer setting. It detects my Hp Laser Jet P1007
2. It Auto configured correctly and ask to print test page
3. But It not prints test-page. Also not-printing anything and says job completed!
Though It detected & configured properly but not printing.
Details from local-host:
How to solve It?
-
bain about 10 yearsTry looking at the cups web interface at localhost:631 and making sure your printer is the default printer and is enabled.
-
Pandya about 10 years@bain : I also added details from localhost:631.
-
bain about 10 yearsAnd this previously worked in 12.04 - exactly the same computer, printer, USB port etc.? Did you run
hp-setup
after installing 14.04?
-
-
Walter Tross over 9 yearsIf I remember well, I tried to use
hp-setup
(amongst others) to get my HP LaserJet 1020 to reliably print in 14.04, but had to give up and buy an HP LaserJet Professional P1102, which works flawlessly. (In case someone wonders why I didn't buy the wireless model: because I don't like electromagnetic pollution.) -
mac over 9 yearsYou may need to run
sudo apt-get install hplip-dbg hplip-gui
before running hp-setup