On Fri 08 Apr 2022 at 13:22:26 -0400, Greg Wooledge wrote: > On Fri, Apr 08, 2022 at 06:03:47PM +0100, Tixy wrote: > > On Fri, 2022-04-08 at 17:59 +0100, Tixy wrote: > > > On Fri, 2022-04-08 at 12:10 -0400, Greg Wooledge wrote: > > > > Unfortunately, I was not able to find ANY way to determine the IP > > > > addresses of the autodetected printers that were presented to me. > > > > > > If I go to http://localhost:631/printers/ > > > > I should say I got to that URL from the CUPs interface at > > http://localhost:631/ then clicking the 'Admininitation' tab at the top > > followed by the 'Manage Printers' button on the page that showed. > > Here is what I have on that page: > > ===================================================================== > Showing 7 of 7 printers. > > Queue Name Description Location Make and Model Status > Canon_LBP351dn_f9_7a_4a_ CNLBP712C CNLBP712C, > driverless, cups-filters 1.28.7 Idle > Canon_LBP712Cdn_db_c0_d3_ Canon_LBP712Cdn_db_c0_d3_ > CNLBP712C CNLBP712C, driverless, cups-filters 1.28.7 Idle > Cups_PDF_oc3261540276 Cups_PDF_oc3261540276 Local Raw Printer > Paused > HP_LaserJet_4100_Series_0001E6A68D3D_ HP_LaserJet_4100_Series_0001E6A68D3D_ > HP LaserJet 4100 Series , driverless, cups-filters 1.28.7 Idle > hp_LaserJet_4250_621E13_ hp_LaserJet_4250_621E13_ hp > LaserJet 4250, driverless, cups-filters 1.28.7 Idle > HP_LaserJet_P3010_Series_0FCDD7_ HP_LaserJet_P3010_Series_0FCDD7_ > HP LaserJet P3010 Series, driverless, cups-filters 1.28.7 Idle > PostScript_oc3261540276 PostScript_oc3261540276 Local Raw > Printer Paused > =====================================================================
[...] > Looking at the stuff that I pasted here, how am I supposed to know whether > this corresponds to the physical printer with IP address 10.76.172.100? Another idea that may or may not grip you. It's not guaranteed to work ( whereas the avahi-browse command should be reliable) but it could be worth a try. Many printers provide an snmp (Simple Network Management Protocol) service on port 9100. Check with nmap 10.76.172.100 It would be unusual for the service not to be offered because it dates from the dawn of time and is very simple to implement. There isn't any reliance on avahi-daemon (just TCP/IP) and it works with non-ipp printers. Execute /usr/lib/cups/backend/snmp The output should include an IP address and a printer make and model. Thanks to The Wanderer for sparking this thought. -- Brian.