printer not hplip installed

Asked by Bohdan Harasymiw

Ubuntu 10.04 using HP OfficeJet G85 multifunction printer/fax/scanner.

The printer worked okay in Ubuntu 9.10. However, I can't get it to work with the upgrade to Ubuntu 10.04. I have tried manual and automatic installation of hplip-3.10.5 and versions from packet manager. Nothing seems to work to get the printer going. Scanning works okay but hp-check -r gives a warning saying that

 "Printer is not hplip installed. Printers must use hp: or hpfax: CUPS backend to function in HPLIP."

How do I fix the problem? I am new to Linux so am not familiar with the command language.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Bohdan Harasymiw
Solved:
Last query:
Last reply:
Revision history for this message
Bohdan Harasymiw (bsamhara) said :
#1

I have tried a few more things, including deleting all printers and reinstalling them. I have progressed to the stage where hp-check give no warnings or errors, but still no output from the printer. All that I get is that a message that the print job is being printed and then that it is finished printing. However, in the print status window the job is still in the queue with a status of "processing". There after I periodically receive a notice that the job is being printed and completed again, but the job remains in the queue until I manually delete it.

Any suggestions?

Revision history for this message
sebikul (sebikul) said :
#2

hi, try restarting the samba serivce, this may fix the problem, use the command:

#sudo service smbd restart

hope it solves it!!!

Revision history for this message
Bohdan Harasymiw (bsamhara) said :
#3

I just tried that, but no change. I get the same messages that printing has started then completed but the job remains in the queue with no output from the printer.

Revision history for this message
Bohdan Harasymiw (bsamhara) said :
#4

I have had a look at the job attributes of the queued print jobs. I get one or the other of the following messages under "job-printer-state-message"

/usr/lib/cups/backend/hp failed

 or

/usr/lib/cups/filter/hpcups failed

I have not yet worked out why one or the other of the messages comes up.

Also the very first time that I went to look at the attributes, before deciding to copy them down, the message was something to do with pdf-raster failed. I can't remember the exact wording and have not been able to generate that message under the job-printer-state-message again.

The "job-printer-state-reasons" attribute is [u'none'] in all cases.

The "job-state-reasons" attribute is always "job-hold-until-specified"

I hope that the above help elucidate the cause of the problem.

Revision history for this message
Bohdan Harasymiw (bsamhara) said :
#5

I seem to have fixed the problem, but am not sure exactly what did the trick.

Firstly, unrelated to the print problem, I decided to repartition my disk to set up /boot, /swap, /root, /home, /var, /tmp and /usr on different partitions to make things easier for future upgrades. In conjunction with this I did a clean reinstall of Ubuntu 10.04 with the default hplip 3.10.2-2 installed. This did not fix the print problems.

I tried to run hp-check in the Terminal, but it was not installed so I had to use sudo to install it. When run, hp-check indicated various dependencies were not installed, so I systematically installed them one by one as sudo. Still no success with printing, so I went to the Debian site and downloaded hplip 3.10.5 and installed it straight over the top of the 3.10.2-2 version. I do not know whether this version is exactly the same as that on the HP site, but previously I used the HP site version and uninstalled version 3.10.2-2 prior to the installation.

I used hplip to install the printer.

Still no print output. However, the error message with hp-check now was that pyOS_Inputhook is not available, rather than the backend and hpcups fail error messages as before. Progress? I had no idea, but very frustrated and could see why Windows is so much more appealing to many users - during this whole episode I had to hook up a Windows based laptop to my printer to print out my files.

Finally, I decided to explore the options in the HP Device Manager (icon on the Ubuntu top panel). Working my way through that there is a tab for Printer Control. I toggled the option for Printer Accepting/Rejecting jobs and did a test print and what do you know - the printer printed the page. I then test printed from the Ubuntu Control Center and finally some Open Office and PDF files. Everything seems to be working now. hp-check shows no errors anymore.

So what exactly fixed the problem I am not sure. Whether it was the re-installation, or the Debian sourced hplip or toggle of the Printer Accepting/Rejecting jobs option or a combination of all of these things I have no idea. Certainly the hp-check error messages were different from the original ones listed previously so I suspect that it was a combination of things and pure luck that the problem is fixed.

I post the above information for what it is worth for any other poor bugger that runs into such problems. All I can say is don't give up and have another computer from which you can print while stuffing around trying to find a fix.

Revision history for this message
mcneillk (ken-mc-neill) said :
#6

I have a problem with these symptoms (HP Photosmart Premium over Wifi), and it started after upgrading to 10.10 from 10.04. I have tried re-installing hplip multiple times, but printing is delayed for up to 30 minutes, with the status messages "/usr/lib/cups/backend/hp failed" and "job-hold-until-specified".

It seems to be a network latency / timing pb. In the logs, I find:

9 22:51:51 Antec python: hp-systray(hpdio)[6956]: error: Unable to communicate with device (code=12): hp:/net/Photosmart_Premium_C309g-m?zc=HPEAB866
Jan 9 22:51:51 Antec python: hp-systray(hpdio)[6956]: error: Device not found
Jan 9 22:52:25 Antec python: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 1...
Jan 9 22:52:25 Antec python: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 2...
Jan 9 22:57:07 Antec python: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 1...
Jan 9 22:57:07 Antec hpijs[7856]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 1...
Jan 9 22:57:07 Antec python: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 2...
Jan 9 22:57:08 Antec hpijs[7856]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 2...
Jan 9 22:57:08 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 1...
Jan 9 22:57:09 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 2...
Jan 9 22:57:09 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 3...
Jan 9 22:57:10 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 4...
Jan 9 22:57:10 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 5...
Jan 9 22:57:11 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 6...
Jan 9 22:57:11 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 7...
Jan 9 22:57:12 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 8...
Jan 9 22:57:12 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 9...
Jan 9 22:57:13 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 10...
Jan 9 22:57:13 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 11...
Jan 9 22:57:14 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 12...
Jan 9 22:57:14 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 13...
Jan 9 22:57:15 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 14...
Jan 9 22:57:15 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 15...
Jan 9 22:57:16 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 16...
Jan 9 22:57:16 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 17...
Jan 9 22:57:17 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 18...
Jan 9 22:57:17 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 19...
Jan 9 22:57:18 Antec hp[7819]: io/hpmud/jd.c 784: mdns lookup HPEAB866.local retry 20...
Jan 9 22:57:18 Antec hp[7819]: io/hpmud/jd.c 780: error timeout mdns lookup HPEAB866.local