Can not print from Ubuntu 18.04 to HP Color LaserJet CP1215
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
In Progress
|
Undecided
|
Unassigned |
Bug Description
The printer worked fine with Ubuntu 16.04, but cant print a test page (or anythiing else ) with 18.04.
The printer is plugged via USB as ever.
Tried all the suggestions I could scour across the net (eg reinstall, purge & reinstall, etc etc etc)
Especially: https:/
HP device manager sees the printer (even tells me how much toner is left) but it does not print, neither a test page...
The only thing which is working after the upgrade to 18.04 is scanning with an another printer (Epson BX630FW) here printing not possible as well.
As suggested in the similar "resolved" Bug-674931 (how could that work? I've tried all steps that are mentioned there...) the result of
hp-check -t
-------
-------
| DISCOVERED SCANNER DEVICES |
-------
device `epson2:
-------
| DISCOVERED USB DEVICES |
-------
Device URI Model
-----
hp:/usb/
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
HP_Color_
-------
Type: Printer
Device URI: hp:/usb/
PPD: /etc/cups/
====== BREAK BY ME: BUT why this warning?
warning: Failed to read /etc/cups/
====== even though ppd file exists:
====== ls -la /etc/cups/ppd
======
====== drwxr-xr-x 2 root lp 4096 Okt 15 09:51 .
====== drwxr-xr-x 5 root lp 4096 Okt 15 10:51 ..
====== -rw-r----- 1 root lp 6251 Okt 15 09:51 Epson_Stylus_
====== -rw-r----- 1 root lp 6251 Okt 15 09:51 Epson_Stylus_
====== -rw-r----- 1 root lp 43355 Okt 14 15:50 HP_Color_
====== -rw-r----- 1 root lp 16090 Okt 14 15:34 HP_Color_
====== END OF BREAK
PPD Description:
Printer status: Drucker HP_Color_
Required plug-in status: Installed
Communication status: Good
--------------
| PERMISSION |
--------------
USB HP_Color_
No errors or warnings.
Done.
-------
The result of sudo hp-logcapture is enclosed in attach.
Your error_log doesn't show any job arriving at the CUPS server. You also say you cannot print to a Epson BX630FW. At first sight, this looks like a CUPS problem, not an HPLIP problem. Try this:
The URI for the connection is:
hp:/usb/ HP_Color_ LaserJet_ CP1215? serial= LJ20TGN
(Check this with 'lpinfo -v').
Now do
lpinfo -m | grep "cp1215.ppd"
to get the PPD (drv:// /hpcups. ....).
Then:
lpadmin -p test -v <URI> -E -m <PPD>
Print with
lp -d test /etc/nsswitch.conf
--
Brian.