On Fri, Feb 17, 2023 at 11:18:32AM +0000, Brian wrote:
> On Thu 16 Feb 2023 at 15:32:47 -0500, Greg Wooledge wrote:
> 
> > wooledg:~$ cat /etc/debian_version 
> > 11.6
> > wooledg:~$ lpstat -l -e
> > Canon_LBP712C_UFR_II_ permanent 
> > ipp://localhost/printers/Canon_LBP712C_UFR_II_ 
> > ipp://Canon%20LBP712Cdn%20(db%3Ac0%3Ad3)._ipp._tcp.local/
> 
> This is a print queue, set up using Canon drivers.
> 
> > Canon_LBP712Cdn_db_c0_d3_ network none 
> > ipp://Canon%20LBP712Cdn%20(db%3Ac0%3Ad3)._ipp._tcp.local/
> 
> This is not a print queue. CUPS has discovered the printer via
> mdns/DNS-SD and enumetated it. It should be seen with
> 
>   avahi-browse -rt _ipp._tcp
>   avahi-browse -rt _uscan._tcp
> 
> (I would find that data useful for my records).

wooledg:~$ avahi-browse -rt _ipp._tcp 2>&1 | grep -A5 db:c0:d3
+   eno1 IPv4 Canon LBP712Cdn (db:c0:d3)                    Internet Printer    
 local
+   eno1 IPv4 HP LaserJet P3010 Series [0FCDD7]             Internet Printer    
 local
+   eno1 IPv4 hp LaserJet 4250 [621E13]                     Internet Printer    
 local
=   eno1 IPv4 Canon LBP712Cdn (db:c0:d3)                    Internet Printer    
 local
   hostname = [dhcp-10-76-173-174.local]
   address = [10.76.173.174]
   port = [631]
   txt = ["mopria-certified=1.2" "print_wfds=T" 
"kind=document,envelope,postcard" 
"URF=ADOBERGB24,CP255,DM1,FN3,IS1-4,OB10,PQ4,RS300,SRGB24,V1.4,W8-16" "Fax=F" 
"Scan=F" "TLS=1.2" "usb_CMD=LIPSLX" "UUID=15904ba4-fe8c-3bee-5d53-cb5f72ea86b2" 
"PaperMax=legal-A4" "Punch=0" "Staple=F" "Sort=T" "Collate=T" "Bind=F" 
"PaperCustom=T" "Duplex=T" "Copies=T" "Color=T" "TBCP=F" "Binary=F" 
"Transparent=F" "usb_MDL=LBP712C UFR II" "usb_MFG=Canon" 
"adminurl=https://dhcp-10-76-173-174.local/airprint.html"; 
"pdl=application/octet-stream,image/urf,image/pwg-raster,image/jpeg,application/pdf"
 "product=(CNLBP712C)" "ty=Canon LBP712C" "priority=10" "qtotal=1" "note=" 
"rp=ipp/print" "txtvers=1"]
=   eno1 IPv4 hp LaserJet 4250 [621E13]                     Internet Printer    
 local

wooledg:~$ time avahi-browse -rt _uscan._tcp
real 1.023  user 0.004  sys 0.004

(No other output.)

> Its URI will be
> 
>   ipp://10.76.172.100/ipp/print
> 
> Execute
> 
>   lpadmin -p mycanonprinter -v URI -E -m everywhere
> 
> Test printing with
> 
>   lp -d mycanonprinter /etc/nsswitch.conf

Any physical tests will have to wait, at least a week.

Oh, one other thing in case you were confused: the netmask there is
/23 not /24.  10.76.172.x and 10.76.173.x are both on that subnet.
Each subnet is assigned to one physical floor of a building.  That
particular subnet covers the 10th floor of building S, which is...
not an enormous space, but not small either.  At full capacity, there
could be a few dozen people working there, and the space is divided into
separate sections, each behind its own locked door(s).

Reply via email to