Bug#908573: marked as done (cups-browsed: Filtering with TXT record field names not working)
Your message dated Sat, 7 Dec 2019 19:42:56 +0000
with message-id <07122019193352.628c8b695b97@desktop.copernicus.org.uk>
and subject line Re: Bug#908573: cups-browsed: Filtering with TXT record field names not working
has caused the Debian Bug report #908573,
regarding cups-browsed: Filtering with TXT record field names not working
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
908573: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908573
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: cups-browsed: Filtering with TXT record field names not working
- From: Brian Potkin <claremont102@gmail.com>
- Date: Tue, 11 Sep 2018 12:00:23 +0100
- Message-id: <11092018111134.8eb0f9b4d6c8@desktop.copernicus.org.uk>
Package: cups-browsed
Version: 1.21.2-1
Severity: normal
Tags: upstream
Three remote printers:
= enp0s18 IPv6 LaserJet-300 @ desktop Internet Printer local
hostname = [desktop.local]
address = [fe80::211:2fff:fef6:41c3]
port = [631]
txt = ["printer-type=0x1016" "printer-state=3" "Duplex=T" "TLS=1.2" "UUID=c10e0641-de88-362c-4d72-297ff8684f70" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP
LaserJet 2200)" "priority=0" "adminurl=https://desktop.local:631/printers/LaserJet-300" "ty=HP LaserJet 2200 - CUPS+Gutenprint v5.2.11" "rp=printers/LaserJet-300" "qtotal=1" "txtvers=1"]
= enp0s18 IPv6 realq @ desktop Internet Printer local
hostname = [desktop.local]
address = [fe80::211:2fff:fef6:41c3]
port = [631]
txt = ["printer-type=0x80F04E" "printer-state=3" "Copies=T" "Color=T" "TLS=1.2" "UUID=23dbfeca-fd40-3640-7355-a8cbce96bb3b" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(CUPS v1.1)" "priority=0" "adminurl=https://desktop.local:631/printers/realq" "ty=Generic CUPS-PDF Printer (w/ options)" "rp=printers/realq" "qtotal=1" "txtvers=1"]
= enp0s18 IPv4 ENVY4500 Internet Printer local
hostname = [envy4500.local]
address = [192.168.7.235]
port = [631]
txt = ["Scan=T" "Duplex=T" "Color=T" "UUID=1c852a4d-b800-1f08-abcd-308d99fafac2" "Fax=F" "note=Josie'sParlour" "adminurl=http://envy4500.local./#hId-pgAirPrint" "mac=30:8d:99:fa:fa:c2" "priority=20" "usb_MDL=ENVY 4500 series" "usb_MFG=HP" "product=(HP ENVY 4500 series)" "ty=ENVY 4500 series" "URF=CP1,MT1-2-8-9-10-11,OB9,OFU0,PQ3-4-5,RS300-600,SRGB24,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,DM3,IS1,V1.3" "kind=document,envelope,photo" "PaperMax=<legal-A4" "rp=ipp/print" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf" "qtotal=1" "txtvers=1"]
Filter out realq with
BrowseFilter duplex
in cups-browsed.conf and restart cups-browsed.
briandesktop3:~# lpstat -a
ENVY4500 accepting requests since Tue 11 Sep 2018 11:29:26 BST
LaserJet_300_desktop accepting requests since Tue 11 Sep 2018 11:29:25 BST
realq_desktop accepting requests since Tue 11 Sep 2018 11:29:25 BST
The lpstat output is the same for
BrowseFilter color
BrowseFilter pdl hp-PCL
gives "lpstat: No destinations added", as does
BrowseFilter port 9100
Cheers,
Brian.
--- End Message ---
--- Begin Message ---
- To: 908573-done@bugs.debian.org
- Subject: Re: Bug#908573: cups-browsed: Filtering with TXT record field names not working
- From: Brian Potkin <claremont102@gmail.com>
- Date: Sat, 7 Dec 2019 19:42:56 +0000
- Message-id: <07122019193352.628c8b695b97@desktop.copernicus.org.uk>
- In-reply-to: <11092018111134.8eb0f9b4d6c8@desktop.copernicus.org.uk>
- References: <11092018111134.8eb0f9b4d6c8@desktop.copernicus.org.uk>
On Tue 11 Sep 2018 at 12:00:23 +0100, Brian Potkin wrote:
> Package: cups-browsed
> Version: 1.21.2-1
> Severity: normal
> Tags: upstream
>
>
> Three remote printers:
>
> = enp0s18 IPv6 LaserJet-300 @ desktop Internet Printer local
> hostname = [desktop.local]
> address = [fe80::211:2fff:fef6:41c3]
> port = [631]
> txt = ["printer-type=0x1016" "printer-state=3" "Duplex=T" "TLS=1.2" "UUID=c10e0641-de88-362c-4d72-297ff8684f70" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP
> LaserJet 2200)" "priority=0" "adminurl=https://desktop.local:631/printers/LaserJet-300" "ty=HP LaserJet 2200 - CUPS+Gutenprint v5.2.11" "rp=printers/LaserJet-300" "qtotal=1" "txtvers=1"]
>
> = enp0s18 IPv6 realq @ desktop Internet Printer local
> hostname = [desktop.local]
> address = [fe80::211:2fff:fef6:41c3]
> port = [631]
> txt = ["printer-type=0x80F04E" "printer-state=3" "Copies=T" "Color=T" "TLS=1.2" "UUID=23dbfeca-fd40-3640-7355-a8cbce96bb3b" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(CUPS v1.1)" "priority=0" "adminurl=https://desktop.local:631/printers/realq" "ty=Generic CUPS-PDF Printer (w/ options)" "rp=printers/realq" "qtotal=1" "txtvers=1"]
>
> = enp0s18 IPv4 ENVY4500 Internet Printer local
> hostname = [envy4500.local]
> address = [192.168.7.235]
> port = [631]
> txt = ["Scan=T" "Duplex=T" "Color=T" "UUID=1c852a4d-b800-1f08-abcd-308d99fafac2" "Fax=F" "note=Josie'sParlour" "adminurl=http://envy4500.local./#hId-pgAirPrint" "mac=30:8d:99:fa:fa:c2" "priority=20" "usb_MDL=ENVY 4500 series" "usb_MFG=HP" "product=(HP ENVY 4500 series)" "ty=ENVY 4500 series" "URF=CP1,MT1-2-8-9-10-11,OB9,OFU0,PQ3-4-5,RS300-600,SRGB24,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,DM3,IS1,V1.3" "kind=document,envelope,photo" "PaperMax=<legal-A4" "rp=ipp/print" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf" "qtotal=1" "txtvers=1"]
>
> Filter out realq with
>
> BrowseFilter duplex
>
> in cups-browsed.conf and restart cups-browsed.
>
> briandesktop3:~# lpstat -a
> ENVY4500 accepting requests since Tue 11 Sep 2018 11:29:26 BST
> LaserJet_300_desktop accepting requests since Tue 11 Sep 2018 11:29:25 BST
> realq_desktop accepting requests since Tue 11 Sep 2018 11:29:25 BST
The field name is absent in the TXT records of two printers. The rule
is skipped.
> The lpstat output is the same for
>
> BrowseFilter color
The field name is absent in the TXT records of two printers. The rule
is skipped.
> BrowseFilter pdl hp-PCL
>
> gives "lpstat: No destinations added", as does
The value is vnd.hp-PCL.
> BrowseFilter port 9100
Dunno about this. 9100 is not a port on a print server?
Closing anyway.
--
Brian.
--- End Message ---
Reply to: