Linux Fedora FC 35, on a local WiFi net with an HP 8600 inkjet printer. Printer queue gets set up, but goes offline for not having a host.
Rather than hardcoding this printer (named in its own onboard config and in my cups-browsed.conf
Cluster
directive as TawnyMadison) into my configuration, I've been trying to get it set up with cups-browsed
so that I'll have access to other local printers as I move to other networks (such as when travelling). Unfortunately, cups-browsed
finds the printer, but it gets marked as 'not working,' presumably because it doesn't have a host (!). The printer itself says it acts as its own host, and the same cups
configuration works just fine on my Ubuntu RasPI.
Restarting cups-browsed
makes no apparent difference, and running cupsenable TawnyMadison
seems to do something — but nothing prints, and in a moment the queue goes back to being dead. When the device queue, Officejet_Pro_8600_E6EDB5
, appears, using lpmove TawnyMadison Officejet_Pro_8600_E6EDB5
also seems to be doing something... but then Officejet_Pro_8600_E6EDB5
goes offline with the same Status: No destination host name supplied by cups-browsed for printer "Officejet_Pro_8600_E6EDB5", is cups-browsed running?
message.
Here's the repeating output from sudo systemctl restart cups-browsed.service
(TawnyMadison is the name the printer knows for itself):
cups-browsed[3792385]: Wed Aug 3 19:19:25 2022 ===============================
cups-browsed[3792385]: Wed Aug 3 19:19:25 2022 Creating/Updating CUPS queue TawnyMadison
cups-browsed[3792385]: Wed Aug 3 19:19:25 2022 Our new queue overwrites the possibly temporary CUPS queue TawnyMadison, so we need to assure the queue gets permanent.
cups-browsed[3792385]: Wed Aug 3 19:19:25 2022 Setting printer-is-shared bit to make this queue permanent.
cups-browsed[3792385]: Wed Aug 3 19:19:25 2022 Removing the possibly temporary CUPS queue.
cups-browsed[3792385]: Wed Aug 3 19:19:25 2022 Temporary queue has still jobs or CUPS error, retrying later.
cups-browsed[3792385]: Wed Aug 3 19:19:25 2022 === Remote printer overview ===
cups-browsed[3792385]: Wed Aug 3 19:19:25 2022 Printer ipp://Officejet%20Pro%208600%20%5BE6EDB5%5D._ipp._tcp.local/ (HP2C59E5E6EDB5.local, 192.168.32.200): Local queue TawnyMadison, Remote CUPS Printer, Slave of None (To be created/updated)
cups-browsed[3792385]: Wed Aug 3 19:19:25 2022 ===============================
cups-browsed[3792385]: Wed Aug 3 19:19:25 2022 checking queues in 10s
cups-browsed[3792385]: Wed Aug 3 19:19:35 2022 Processing printer list ...
cups-browsed[3792385]: Wed Aug 3 19:19:35 2022 === Remote printer overview ===
cups-browsed[3792385]: Wed Aug 3 19:19:35 2022 Printer ipp://Officejet%20Pro%208600%20%5BE6EDB5%5D._ipp._tcp.local/ (HP2C59E5E6EDB5.local, 192.168.32.200): Local queue TawnyMadison, Remote CUPS Printer, Slave of None (To be created/updated)
cups-browsed[3792385]: Wed Aug 3 19:19:35 2022 ===============================
cups-browsed[3792385]: Wed Aug 3 19:19:35 2022 Creating/Updating CUPS queue TawnyMadison
cups-browsed[3792385]: Wed Aug 3 19:19:35 2022 Our new queue overwrites the possibly temporary CUPS queue TawnyMadison, so we need to assure the queue gets permanent.
Here are the active config lines from /etc/cups.cups-browsed.conf
:
CacheDir /var/cache/cups
LogDir /var/log/cups
DebugLogging file stderr
BrowseRemoteProtocols dnssd cups
BrowseAllow 192.168.32.0/24
BrowseFilter host HP2C59E5E6EDB5
BrowseFilter service Officejet
LocalQueueNamingRemoteCUPS DNS-SD
LocalQueueNamingIPPPrinter DNS-SD
DNSSDBasedDeviceURIs Yes
IPBasedDeviceURIs IPv4
CreateIPPPrinterQueues All
KeepGeneratedQueuesOnShutdown No
Cluster TawnyMadison: TawnyMadison HP2C59E5E6EDB5 Officejet_Pro_8600_E6EDB5_ Officejet_Pro_8600_E6EDB5
UpdateCUPSQueuesMaxPerCall 20
PauseBetweenCUPSQueueUpdates 5
And in /var/log/cups/cups_browsed_log
there's this:
===============================
Creating/Updating CUPS queue TawnyMadison
Our new queue overwrites the possibly temporary CUPS queue TawnyMadison, so we need to assure the queue gets permanent.
Setting printer-is-shared bit to make this queue permanent.
Removing the possibly temporary CUPS queue.
Temporary queue has still jobs or CUPS error, retrying later.
=== Remote printer overview ===
Printer ipp://Officejet%20Pro%208600%20%5BE6EDB5%5D._ipp._tcp.local/ (HP2C59E5E6EDB5.local, 192.168.32.200): Local queue TawnyMadison
, Remote CUPS Printer, Slave of None (To be created/updated)
===============================
That Slave of None (To be created/updated)
seems somehow significant.
Here are the outputs from various lpstat
commands:
# lpstat -l -v TawnyMadison
device for TawnyMadison: implicitclass://TawnyMadison/
# lpstat -a TawnyMadison
TawnyMadison accepting requests since Mon 11 Jul 2022 02:53:16 AM EDT
# lpstat -l -p TawnyMadison
printer TawnyMadison disabled since Mon 11 Jul 2022 02:53:16 AM EDT -
Printer disappeared or cups-browsed shutdown
Form mounted:
Content types: any
Printer types: unknown
Description: TawnyMadison
Alerts: paused
Location:
Connection: remote
Interface: ipp://localhost/printers/TawnyMadison.ppd
On fault: no alert
After fault: continue
Users allowed:
(all)
Forms allowed:
(none)
Banner required
Charset sets:
(none)
Default pitch:
Default page size:
Default port settings:
# lpstat -l -e
Officejet_Pro_8600_E6EDB5_ network none ipp://Officejet%20Pro%208600%20%5BE6EDB5%5D._ipp._tcp.local/
TawnyMadison permanent ipp://localhost/printers/TawnyMadison implicitclass://TawnyMadison/
# lpstat -l -v TawnyMadison
device for TawnyMadison: implicitclass://TawnyMadison/
# lpstat -l -r TawnyMadison
scheduler is running
TawnyMadison-53 coar 448512 Mon 11 Jul 2022 02:52:16 AM EDT
Status: No destination host name supplied by cups-browsed for printer "TawnyMadison", is cups-browsed running?
Alerts: printer-stopped
queued for TawnyMadison
TawnyMadison-54 coar 2540544 Tue 12 Jul 2022 07:55:13 PM EDT
Alerts: none
queued for TawnyMadison
# lpstat -l -c
(nothing displayed)
# lpstat -l -H
/run/cups/cups.sock
I'm probably missing something very obvious, because I've gotten this to work occasionally for a few jobe before it goes back into failure mode.
Any clarification of what I'm missing or have done wrong, and what I need to do to make this work, will be gratefully accepted!