On Thu, 18 May 2023 15:09:00 +0100 Brian <a...@cityscape.co.uk> wrote:
> On Wed 17 May 2023 at 13:10:21 -0600, Charles Curley wrote: > > > Thanks to Brian <a...@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 haven't any idea why M234 does not work from the dialog. It might be > an issue with the GTK version. Personally, I would prefer that Firefox > was uused to confirm or not. I installed xfce and firefox, and ran firefox on the computer (rather than over ssh to another computer). Firefox showed three queues: PDF, and two printer queues. The PDF one worked. The other two failed silently. The printer never woke up for either. Firefox also allows printing from the system printer dialog. When I selected that, it showed the same three queues. The two printer queues had error messages. For HP_Laserjet_MFP_m234sdw_C0FB67, "No destination host name supplied by cups-browserd for printer "HP_Las..." For HP_Laserjet_MFP_m234sdw_C0FB67@hpbm234ethernet.local, I got an error message, which disappeared before I could write it down. There is now no error message. I tried printing to that, and this time the printer came up, showed its "busy" indicator, and did nothing. > > An alternative URI for M234 is > > ipp://192.168.100.134/ipp/print > > and the previous lpadmin command could be run with this. It's OK as > long as the IP does not change and it also cuts out the moving part > of DNS-SD resolution. That worked: root@dragon:~# lpadmin -p M234ip -v "ipp://192.168.100.134/ipp/print" -E -m everywhere root@dragon:~# lp -d M234ip /usr/share/cups/data/form_english.pdf request id is M234ip-20 (1 file(s)) root@dragon:~# It also showed up in Firefox's system printer dialog. I printed to it. Nothing. I then printed from Firefox's internal printer dialog. That worked. > > The problem with the GTK dialog is that it never handled its > relationship with CUUPS correctly before bullseye (APIs and all > that). However, it *always* got along with manually set up queues, > which M234 is. > That isn't what I see here. John Doe seems to think MDNS doesn't like my network setup. https://lists.debian.org/debian-user/2023/05/msg00767.html -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/