After installing 20.04 on my desktop, my printer has stopped working.
Printer: HP Envy 5640, connected via USB.
hplip
installed.
cups
installed.
Any suggestions appreciated. Printer itself is OK as I have used it wirelessly to print from another PC on the network.
Try
sudo hp-setup -i
. At least for USB. That finally helped me with a HP LaserJet Pro P1102w.If the printer was working for you with hplip before, just uninstall ippusbxd package:
The problem, at least in my case, was that ippusbxd was automatically creating a printer that was not working and was conflicting with my hplip printer.
install hplip gui as below
from hplip gui go to actions and then install required plugin.
And this fixed it for fr model HP LasetJet 1018
I have solved with the following steps, don't know if all are required, most likely only step 3 is the fix.
Removed and reinstalled some packages:
installed hplip from the hp's Developer Portal: https://developers.hp.com/hp-linux-imaging-and-printing/gethplip
ver 3.20.5 claims to be compatible with 20.04 but in my case was not solving the issue:
Finally, changing permissions to the ppd file:
where (i suppose) XXXXXX should be part of the serial number of the printer
Now the printer works fine. It took me several days to achieve this result, the printer was working perfectly on 19.10, so I am a little disappointed of this issue.
So I had this problem for awhile and tried many of the solutions posted above but they just didn't work for me (as written) but I was able to mix and match them to come up with this solution. I am using an HP Deskjet 3520.
sudo apt remove ippusbxd
sudo hp-setup -i
sudo apt remove ipp-usb
<- note that this is different from step 2 abovesudo hp-setup -i
For the heck of it, I decided to upgrade to 21.10 right afterwards and the printer just worked. Hopefully these steps help because it was a pain to figure them out.
No end of pain but got my LaserJet p1102w working on fresh install xubuntu 20.04.1 LTS.
apt purge ippusbxd
hp-setup -i
and install USB printer with PPD plugin as suggested by installer. Test page will not work.And now, finally, magically, I can print. On previous versions of Ubuntu I just plugged in the printer over USB and was up and running. Something has changed. Thank you to all who contributed to the solution in this thread.
I tried to reinstall as per below link.
https://answers.launchpad.net/hplip/+question/690299
But then, I was getting communication error same as in below error.
"Device Communication error (5012)" - HP printer
But, the solution mentioned in above link, partially worked.
Hope this may help others.
I had same issue with a Brother printer. I uninstalled cups and reinstalled but it didn't solve the problem. Next, I uninstalled the printer using the printer settings GUI. I then added a new printer and it automatically found the driver and loaded. It works perfectly now. So I'd recommend just trying to remove it and reinstall the printer first using the GUI before doing anything in the terminal if you are not super techy, like me.
text files wont print ubuntu 20.04
Sort of a solution:
open CUPS 2.3.1 http:
//localhost:631/
after install lp only prints 1st line of text file, and acts like job done ??????
-rwxr-xr-x 1 root 63080 Apr 10 09:12 /usr/lib/cups/filter/texttopdf
<--------/ likely problem /----D [28/Jun/2020:14:46:02 -0400] [Job 59] PID 71266
(/usr/lib/cups/filter/texttopdf) crashed on signal 6.[ jack @ s0n5-u20 scr-2 ~ ] $ echo "a" | CHARSET=utf-8 /usr/lib/cups/filter/texttopdf 1 user title 1 "PageSize=A4" > out.pdf Unsupported OTF font / glyf table texttopdf: fontembed/sfnt.c:651: otf_get_width: Assertion '0' failed. Aborted (core dumped)
print text files works ubuntu20.04 from gvim && konsole prt sc
enscript /tmp/le0203 [ 1 page * 1 copy ] sent to printer
----/ works /---but has file location on header ??? not desireable.
enscript -B /tmp/le0203 no file location header !
print text files fails lp lpr
Using
enscript -B
is a work around, <------/ my tmp solution /--Weird Ubuntu 20.04 LTS not tested for lp and lpr use ???
jack
Interesting question actually and quite by accident I found how to fix it. I have two computers, both experienced this problem after updating to 20.04 Kubuntu. The fix is easy and works every time. If you've only just installed the system, delete it and reinstall. This time do not select connect to the internet via wireless. Either plug in an ethernet cable or install without updates,both methods work.
Once the system is up and running go to systems and select KDE wallet, disable it. (doesn't every one do that to this useless annoying piece of sh** anyway :-) Now connect to the internet via WiFi.
Then go to printers and you should find your printer is now working!
I haven't investigated why this works but I'm assuming that if you connect to the internet during installation cups or somewhere else along the chain the printers wifi is assigned to root.
I know its going to be annoying to do this if you've spent an entire weekend tweeking the system. But if you've only just put it on and its still the basic interface it only takes twenty minutes or so to reinstall this method is simple and it works. I've done it on 4 computers now