You are not logged in.
Hello everybody
First of all, sorry for my English. I recently installed Arch on my laptop (Dell Inspiron 5570) and I encountered a problem with printing.
I have an HP LaserJet P2055d connected to a mac computer that i want to connect to from my laptop. I have installed cups, hplip and avahi and I tried to follow the instructions of the wiki page about CUPS.
With
lpinfo -v
I get the uri of the printer:
network dnssd://HP%20LaserJet%20P2055d%20%40%20Amac._ipp._tcp.local/cups?uuid=3adeef9c-8a7f-3e59-78f0-b8f1eeade322
.
To find available drivers, I tried:
lpinfo -m | grep p2055d
and the result is
drv:///hp/hpcups.drv/hp-laserjet_p2055d-pcl3.ppd HP LaserJet p2055d pcl3, hpcups 3.21.12
lsb/usr/HP/hp-laserjet_p2055d-pcl3.ppd.gz HP LaserJet p2055d pcl3, hpcups 3.21.12
drv:///hp/hpcups.drv/hp-laserjet_p2055dn-pcl3.ppd HP LaserJet p2055dn pcl3, hpcups 3.21.12
lsb/usr/HP/hp-laserjet_p2055dn-pcl3.ppd.gz HP LaserJet p2055dn pcl3, hpcups 3.21.12
I then tried to add a new queue for this printer according to the instructions of wiki. So I tried :
lpadmin -p LaserJet -E -v dnssd://HP%20LaserJet%20P2055d%20%40%20Amac._ipp._tcp.local/cups?uuid=3adeef9c-8a7f-3e59-78f0-b8f1eeade322 -m drv:///hp/hpcups.drv/hp-laserjet_p2055d-pcl3.ppd
Now this is interesting. I get no error messages in my terminal but two errors are reported in the file "/var/log/cups/error_log" :
CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
Because the LaserJet P2055d is not a color pinter I continued the process setting the printer as default, activating it and setting it to accept jobs:
lpoptions -d LaserJet
cupsenable LaserJet
cupsaccept LaserJet
Finally I tried to print the test page as
lpr /usr/share/cups/data/testprint
After typing this command printer seems to start processing the job because the "Ready" light starts blinking and the menu screen of the printer displays "Printing document". However this continues for ever and no page is actually ever printed. When typing :
lpq
I get:
LaserJet is ready and printing
Rank Owner Job File(s) Total Size
active stylian 10 testprint 1024 bytes
I am very confused!!!!
Edit: After typing
lprm
printer printed a blank page with a little black rhombus in the upper left corner.
Last edited by styllag (2021-12-23 07:54:29)
Offline
Did you see https://wiki.archlinux.org/title/CUPS#Network_2 - and specifically did you do this...
Warning: Avoid configuring both the server and the client with a printer filter—either the print queue on the client or the server should be 'raw'
Offline
Oh you are right!!! I missed that. This solved the problem. Thank you!!!!!!
Offline