HPLIP does not work on Ubuntu 20.04

Bug #1879719 reported by Huib
72
This bug affects 14 people
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Unassigned

Bug Description

After installing Ubuntu 20.04 on two different laptops the HP deskjet printers 2450 and 4502 are recognized including the serial number of the printers and the ink level.
Printing and scanning fails displaying communication error 5012.
HPLIP version installed 3.20.3
HP-doctor no avail.

Revision history for this message
anarcho (anarcho-taoist) wrote :

This affects me also!

Since upgrading I can still print to a HP Envy 5034 but can no longer scan.
I think it may be an issue with Python compatibility.

Kububuntu 20.04
HpLIP 3.20.3
Skanlite and other software.

Revision history for this message
typos1 (jhills1) wrote :

I cant even install HPLIP on my 20.04 install - the HPLIP installer complains about python qt5 not being installed, tries to install it but it fails as does manual installation. My printer is basically an expensive paperweight now.

Revision history for this message
hub18 (hub18) wrote :

yeah i have the same problem installing HPLIP on ubunto 20.04, HPLIP installler complains that it cant install python pygt5 for Python 2.7

I tried to mannually install it but i have a lot of problems doing so, help would be needed.

Revision history for this message
shivani mandora (shivani1708) wrote :

Hi ,

Please refer below link for your issue on ubuntu 20.04:

https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1879206

Changed in hplip:
status: New → In Progress
Revision history for this message
kaeru (kaeru) wrote :

There seems to be some sort of communications error with hplip driver on Ubuntu 20.04 Focal using the one provided by Ubuntu: hp-lip 3.20.3+dfsg0-2

When trying to configure wireless via USB (hp-setup):

error: Unable to communicate with device (code=12): hp:/usb/DeskJet_4720_series?serial=CN91B8H10H0684

hp-setup for USB only, it will install, but unable to print.

Nothing wrong hardware with USB connection or CUPs, because I'm able to print via generic drvless.ppd via USB, which is not using HP driver.

Unable to print also.

Revision history for this message
kaeru (kaeru) wrote :

@shivani1708 that seems like an unrelated bug. As it is right now, the hplip provider packaged by ubuntu hp-lip 3.20.3+dfsg0-2 is not working due to some communications error.

Until this is fixed, users with HP All-in-one printers and wiresless, will not be able to scan, configure wireless or use other HP Toolbox features such finding out the status of ink.

If one just wants to print via USB with HP driver without HPlip that will work with the generic CUPs driver

Revision history for this message
kaeru (kaeru) wrote :

It seems that is only effecting functionality of USB connected HP printers.

If your HP printer has already been configured on the network via Ethernet or previously configured WiFi, then you will be able to continue to print and scan with current driver via the network.

Or if new installation, the printer will be detected on the network, and you will be prompted to install HP drivers, and then you will also be able to print and scan via the network.

Revision history for this message
Shomeir (shomeir) wrote :

Since installing Ubuntu 20.04 I have not been able to use my HP DeskJet 2655. It won't print. It won't scan. I just get communication errors.

Revision history for this message
Damien Thenot (nambrok) wrote :

Since installing Ubuntu 20.04, printer not working with USB, it appears and can be added thanks to the settings GUI but impossible to print anything. On a HP DeskJet 2620.

Revision history for this message
Anatoliy Lisovskiy (wavebourn) wrote :

The same here, a first tried 3.20.9, failed due to perl dependencies that it could not resolve.
I installed dependencies downloading manually, so while it was checking, no dependence errors.
During installation, dependence errors appeared.

Then I downloaded 3.20.5, ad suggested at UP sebsite.
It installed, but did not install plugin.
I installed the plugin, but still it can not communicated with the printer.
Also, it created 3 entries for the same printer, 2 invisible from GUI.

Revision history for this message
Incze GASPAR (inczegaspar) wrote :

My HP 6960 Printer does not work on Linux Mint 20, worked on 18.04 before.
Connection: USB

Interesting: Out of many unsuccessful attempts, I could print twice by starting "cups-browsed" from the command line. Then this trick did not work again...

Tried these steps as well from forums but they did not solve the issue:

sudo apt-get purge hplip cups-filters cups hplip-data system-config-printer-udev
sudo apt purge ippusbxd
sudo apt-get install build-essential tix groff dc axel cups
sudo apt-get install cups-filters unp system-config-printer-gnome

sudo chmod 644 /etc/cups/ppd/OfficeJet_Pro_6960.ppd

BEFORE:
ls -la /etc/cups/ppd/OfficeJet_Pro_6960.ppd
-rw-r----- 1 root lp 43983 dec 1 10:07 /etc/cups/ppd/OfficeJet_Pro_6960.ppd

AFTER:
ls -la /etc/cups/ppd/OfficeJet_Pro_6960.ppd
-rw-r--r-- 1 root lp 43983 dec 1 10:07 /etc/cups/ppd/OfficeJet_Pro_6960.ppd

https://askubuntu.com/questions/1233521/printer-problems-after-installing-ubuntu-20-04

Revision history for this message
Incze GASPAR (inczegaspar) wrote :

HPLIP 3.20.9

Revision history for this message
Alain Baeckeroot (alain-baeckeroot) wrote :

Thsi bug affect me for 3 dfferetn ubuntu install, with 3 different HP printers.

via a wifi or via USB

I added a comment https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1879206/comments/46

What could i do to hel debug and fix this bug ?

Revision history for this message
Chris York (1-0hris-x) wrote :

This bug has been around since the roll out of 20.04lts and the move away from python 2 to python 3.
HP developers are aware of this and have been for some time and as of now have failed to come up with a workaround.
Personally I have given up waiting and bought two new brother laser printers which work perfectly out of the box with no issues.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.