[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bookworm CUPS Printing Revisited



Thanks to Brian <ad44@cityscape.co.uk> on the thread "Re: CUPS on
Bullseye and Bookworm" I now have CUPS working on dragon, my bookworm
i386 architecture laptop.

Or I should say, CUPS printing is more or less working but something
else (GTK printing?) isn't. I can find the driverless printer on the
network, create a print queue for it, and print to it.

root@dragon:~# driverless
ipps://HP%20LaserJet%20MFP%20M234sdw%20(C0FB67)._ipps._tcp.local/
root@dragon:~# lpadmin -p M234 -v "ipps://HP%20LaserJet%20MFP%20M234sdw%20(C0FB67)._ipps._tcp.local/" -E -m everywhere
root@dragon:~# lp -d M234 /usr/share/cups/data/form_english.pdf
request id is M234-3 (1 file(s))
root@dragon:~# lp -d M234 /etc/nsswitch.conf
request id is M234-4 (1 file(s))
root@dragon:~# 

So far, so good.

I have two problems:

1) I cannot print from abiword. abiword finds three printer queues:
print to file (which works), M234 (as previously set up), and
HP_Laserjet_MFP_M234dsw_COFB67. The two printer queues do not work. The
former see the printer light up, the "busy" indicator light up briefly,
then nothing. The latter evinces no action on the printer at all.

(I selected abiword rather than LibreOffice because LO is a bit of a
resource hog.)

2) When I print from the command line, I get results printing to M234.
But when I try printing to the other queue (directly to the printer as
I understand it), I see:

charles@dragon:~$ lp -d HP_Laserjet_MFP_M234dsw_C0FB67 ~/test.document.pdf 
lp: Error - The printer or class does not exist.
charles@dragon:~$

I copied the printer name from abiword's list of available printers. Is
that the correct way to specify a driverless printer? I also tried
copying and pasting the ipps:// and dnssd:// printers shown by lpinfo
-v. Same error.

According to https://wiki.debian.org/CUPSDriverlessPrinting, "the GTK
print dialog on buster and before (firefox and evince, for example),
has its own way of dealing with a network printer. Unfortunately,
applications that print through this dialog do not make use of CUPS'
temporary queue formation. To have a queue for an IPP printer visible
and usable, users should manually set up a queue with lpadmin, the CUPS
web interface or system-config-printer or rely on cups-browsed to do it
for them. The situation on bullseye and later has improved." Regression?

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


Reply to: