On 4/30/23 20:19, Lee wrote:
On 4/30/23, gene heskett <ghesk...@shentel.net> wrote:
Greetings all;

I have a mixed home network, some buster, some bullseye, all up to date
a/o yesterday.

I have 2 printers shared on this bullseye main box, available as 5 or 6
printers, each configured in cups to do a specific job. Good printers,
both running on brother's own linux drivers for that printer.

All my buster machines can use both of these printers just as if they
were plugged into that machine, but a machine shop full of sawdust and
metal shavings is not a good printer environment, even if there was room
for them, which there isn't.

All of my bullseye machines are locked out, printer screen at
localhost:631 is empty, and no printers can be found and added.

But open a shell, and type "lpstat -t" and it gets the full list of
available printers on that same bullseye machine whose cups output is
empty.

Why?

Take a look at
   https://wiki.debian.org/CUPSQuickPrintQueues

The quick ref is to install avahi-utils and run
   avahi-browse -rt _ipp._tcp  | grep URF

had to install it, pulled in 7 other pkgs: then:
gene@bpi51:~$ avahi-browse -rt _ipp._tcp  | grep URF
txt = ["printer-type=0x80300E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=831942b6-acfd-3e55-7013-00336f687aa2" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(MFC-J6920DW)" "priority=0" "note=letss see if this works" "adminurl=https://coyote.local.:631/printers/Brother_MFC-J6920DW_photo"; "ty=Brother MFC-J6920DW CUPS" "rp=printers/Brother_MFC-J6920DW_photo" "qtotal=1" "txtvers=1"] txt = ["printer-type=0x80300E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=58daf55b-1dc3-31b0-7442-4a936bde800c" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(MFC-J6920DW)" "priority=0" "note=coyote.den duplex bottom tray" "adminurl=https://coyote.local.:631/printers/MFCJ6920DW"; "ty=Brother MFC-J6920DW CUPS" "rp=printers/MFCJ6920DW" "qtotal=1" "txtvers=1"] txt = ["printer-type=0x809016" "printer-state=3" "Duplex=T" "TLS=1.2" "UUID=36139eb5-df51-332f-4f80-ebf162ecc0ae" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(Brother HL-L2320D series)" "priority=0" "adminurl=https://coyote.local.:631/printers/HLL2320D"; "ty=Brother HL-L2320D for CUPS" "rp=printers/HLL2320D" "qtotal=1" "txtvers=1"] txt = ["printer-type=0x809016" "printer-state=3" "Duplex=T" "TLS=1.2" "UUID=391b5af9-9bac-3249-65f0-795f553651fe" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(Brother HL-L2320D series)" "priority=0" "note=floor in den" "adminurl=https://coyote.local.:631/printers/Brother_HL-L2320D_series"; "ty=Brother HL-L2320D for CUPS" "rp=printers/Brother_HL-L2320D_series" "qtotal=1" "txtvers=1"]


If you get a line matching URF the printer supports the AirPrint
service.  Install cups and see if it works (which is all that I needed
to do to get the printer working).  If no, what does

cups already installed as part of armbian

   avahi-browse -rt _ipp._tcp
gene@bpi51:~$ avahi-browse -rt _ipp._tcp
+ eth0 IPv4 Brother HL-L2320D series @ coyote Internet Printer local + eth0 IPv4 Brother MFC-J6920DW @ coyote Internet Printer local + eth0 IPv4 HLL2320D @ coyote Internet Printer local + eth0 IPv4 MFCJ6920DW _tray_2 @ coyote Internet Printer local = eth0 IPv4 Brother HL-L2320D series @ coyote Internet Printer local
   hostname = [coyote.local]
   address = [192.168.71.3]
   port = [631]
txt = ["printer-type=0x809016" "printer-state=3" "Duplex=T" "TLS=1.2" "UUID=391b5af9-9bac-3249-65f0-795f553651fe" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(Brother HL-L2320D series)" "priority=0" "note=floor in den" "adminurl=https://coyote.local.:631/printers/Brother_HL-L2320D_series"; "ty=Brother HL-L2320D for CUPS" "rp=printers/Brother_HL-L2320D_series" "qtotal=1" "txtvers=1"] = eth0 IPv4 Brother MFC-J6920DW @ coyote Internet Printer local
   hostname = [coyote.local]
   address = [192.168.71.3]
   port = [631]
txt = ["printer-type=0x80300E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=831942b6-acfd-3e55-7013-00336f687aa2" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(MFC-J6920DW)" "priority=0" "note=letss see if this works" "adminurl=https://coyote.local.:631/printers/Brother_MFC-J6920DW_photo"; "ty=Brother MFC-J6920DW CUPS" "rp=printers/Brother_MFC-J6920DW_photo" "qtotal=1" "txtvers=1"] = eth0 IPv4 HLL2320D @ coyote Internet Printer local
   hostname = [coyote.local]
   address = [192.168.71.3]
   port = [631]
txt = ["printer-type=0x809016" "printer-state=3" "Duplex=T" "TLS=1.2" "UUID=36139eb5-df51-332f-4f80-ebf162ecc0ae" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(Brother HL-L2320D series)" "priority=0" "adminurl=https://coyote.local.:631/printers/HLL2320D"; "ty=Brother HL-L2320D for CUPS" "rp=printers/HLL2320D" "qtotal=1" "txtvers=1"] = eth0 IPv4 MFCJ6920DW _tray_2 @ coyote Internet Printer local
   hostname = [coyote.local]
   address = [192.168.71.3]
   port = [631]
txt = ["printer-type=0x80300E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=58daf55b-1dc3-31b0-7442-4a936bde800c" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(MFC-J6920DW)" "priority=0" "note=coyote.den duplex bottom tray" "adminurl=https://coyote.local.:631/printers/MFCJ

and

   systemctl status avahi-daemon

show you?

gene@bpi51:~$ systemctl status avahi-daemon
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2023-05-01 02:13:38 -05; 11min ago
TriggeredBy: ● avahi-daemon.socket
   Main PID: 5081 (avahi-daemon)
     Status: "avahi-daemon 0.8 starting up."
      Tasks: 2 (limit: 4207)
     Memory: 788.0K
        CPU: 166ms
     CGroup: /system.slice/avahi-daemon.service
             ├─5081 avahi-daemon: running [bpi51.local]
             └─5083 avahi-daemon: chroot helper

May 01 02:13:38 bpi51 avahi-daemon[5081]: No service file found in /etc/avahi/services. May 01 02:13:38 bpi51 avahi-daemon[5081]: *** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not> May 01 02:13:38 bpi51 avahi-daemon[5081]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.71.9. May 01 02:13:38 bpi51 avahi-daemon[5081]: New relevant interface eth0.IPv4 for mDNS. May 01 02:13:38 bpi51 avahi-daemon[5081]: Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1. May 01 02:13:38 bpi51 avahi-daemon[5081]: New relevant interface lo.IPv4 for mDNS. May 01 02:13:38 bpi51 avahi-daemon[5081]: Network interface enumeration completed. May 01 02:13:38 bpi51 avahi-daemon[5081]: Registering new address record for 192.168.71.9 on eth0.IPv4. May 01 02:13:38 bpi51 avahi-daemon[5081]: Registering new address record for 127.0.0.1 on lo.IPv4. May 01 02:13:39 bpi51 avahi-daemon[5081]: Server startup complete. Host name is bpi51.local. Local service cookie is 4247089512.

Went to machine, ff already running for octoprint tab opened to localhost:631, no printers for a printer search.

So cups still cannot see the shares but only for a bullseye install, buster installs work just fine.

??

Thanks Lee.

Regards,
Lee
.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>

Reply via email to