Ubuntu – /usr/lib/cups/backend/hp has failed with an HP LaserJet p3005


Ever since 10.04, I can't print to an HP Laserjet P3005. I'm even using an entirely different computer now with a fresh install
of 10.10. I've tried with and without the latest hplip.

Recently, sometimes I can get it to print a few things, but eventually it always fails (usually when printing a pdf from the document viewer (also doesn't
work with adobe pdf reader)). Sometimes it fails so bad the printer gives an error saying it needs
to be turned off and on again.

I can't seem to find a fix anywhere, I've googled all over the past
year and tried every fix I could find. It does say that the
/usr/lib/cups/backend/hp has failed.

It also doesn't make a difference if I create the printer using
hp-setup or Ubuntu's own printing control panel. I delete and
re-create the printer, no difference eventually. I use the default
printer settings or custom settings, no difference.

I can print perfectly find to a networked printer at home – an HP
officejet 6310. It seems to be networked HP printers at work that I can't print to
anymore (except occasionally right after re-installing the printer

What's the recommended way to install HP printer drivers and reset
or clean out everything from before. Or where are the right logs
to read or debug commands to do to find out what may be the real cause
of the printing problems?

Best Answer

I have had a few issues with HP printers in the past. The reason I keep buying HP printers is because to some extent they do support open source.

Here is all the issues I have had suggested install as you requested and solutions

Here are a few things that helped me First make sure your printer is supported http://hplipopensource.com/hplip-web/supported_devices/index.html You can check your printer for hplip compatibility I usually check the list before buying a new printer.

Install hplip, Check cups version #cups-config --version to make sure its updated. install sane if its an all in one and you might ever want to use the scanner later.

Sane recommends uncomment hpaio in /etc/sane.d/dll.conf. Running hp-setup as root may help you add your device. (do this)

  • Setting up a static route for the printer. (this usually also is the issue if the computer was saying that it printed but nothing printed, DHCP would assign a new address occasionally and they didnt want to talk anymore.. static makes everything easier) this might be your issue if it works right after you install it again but not later

Other help ... tail /var/log/cups/error_log this will display cups errors newest to oldest.

If you see something like this printer-state-reasons=paused Just resume printing in cups printer admin page.

Related Question