[cups] get a new copy of a network printers configuration

Bob cups-a5729 at listemail.net
Sat Dec 1 13:00:21 PST 2018


** Reply to message from Brian Potkin <claremont102 at gmail.com> on Sat, 01 Dec
2018 16:41:34 +0000

> On Fri 30 Nov 2018 at 17:29:30 -0800, Bob wrote:
> 
> > ** Reply to message from Brian Potkin <claremont102 at gmail.com> on Sat, 01 Dec
> > 2018 00:14:49 +0000
> > 
> > > On Fri 30 Nov 2018 at 15:41:13 -0800, Bob wrote:
> > > 
> > > > ** Reply to message from Brian Potkin <claremont102 at gmail.com> on Fri, 30 Nov
> > > > 2018 23:14:21 +0000
> > > 
> > > [...]
> > >  
> > > > > I am more than a little confused. :)
> > > > > 
> > > > > Would you post the outputs of
> > > > > 
> > > > > 1. lpstat -e
> > > > > 2. dpkg -l cups
> > > > > 3. dpkg -l cups-browsed
> > > > 
> > > > robert at MARS:~$ lpstat -e
> > > > HP_Color_LaserJet_MFP_M277dw
> > > > HP_Color_LaserJet_MFP_M277dw_BC46DE_
> > > > HP_Color_LaserJet_MFP_M277dw_fax
> > > 
> > > This is what CUPS itself sees as being available printers. I understand
> > > the first and third lines. The second line I am less sure of but it is
> > > not the cause of your issue. Did you at one time connect the printer by
> > > USB?
> > 
> > Not on this computer.  It may have been connected to my desktop computer when I
> > first got the printer but wireless is why I bought it.
> 
> Ok. That makes me even less sure I understand the difference between the
> first two entries. Please would you do 'avahi-browse -art > log.txt' and
> send log.txt here. avahi-browse is in the avahi-utils package.

The log is attached.


> It would also be worthwhile seeing whether "print" in the GTK dialog
> offers duplex and non-duplex.

I assume that means the "print" dialog.  The "print" printer dialog entry say
two-sided not available, also say rejecting jobs.


> 
> [...]
> 
> > > What follows is a bit of a stab in the dark.
> > > 
> > > Restart the cups-browsed service with
> > > 
> > >   systemctl restart cups-browsed
> > > 
> > > and *immediately* look at the outputs of 'lpstat -a'  and 'lpstat -e'.
> > > Do you see your printer there in both outputs as you have recorded above
> > > for 'lpstat -e'? If so, run the two commands again after a couple of
> > > minutes. Does any output change?
>   
> > robert at MARS:~$ lpstat -a
> > HP_Color_LaserJet_MFP_M277dw accepting requests since Fri 30 Nov 2018 02:21:40
> > PM PST
> > HP_Color_LaserJet_MFP_M277dw_BC46DE_ accepting requests since Fri 30 Nov 2018
> > 12:40:54 PM PST
> > HP_Color_LaserJet_MFP_M277dw_fax accepting requests since Mon 29 Oct 2018
> > 12:46:21 PM PDT
> > 
> > robert at MARS:~$ lpstat -e
> > HP_Color_LaserJet_MFP_M277dw
> > HP_Color_LaserJet_MFP_M277dw_BC46DE_
> > HP_Color_LaserJet_MFP_M277dw_fax
> > 
> > robert at MARS:~$ systemctl restart cups-browsed
> > 
> > robert at MARS:~$ lpstat -a
> > HP_Color_LaserJet_MFP_M277dw accepting requests since Fri 30 Nov 2018 02:21:40
> > PM PST
> > HP_Color_LaserJet_MFP_M277dw_BC46DE_ accepting requests since Fri 30 Nov 2018
> > 04:54:53 PM PST
> > HP_Color_LaserJet_MFP_M277dw_fax accepting requests since Mon 29 Oct 2018
> > 12:46:21 PM PDT
> > 
> > robert at MARS:~$ lpstat -e
> > HP_Color_LaserJet_MFP_M277dw
> > HP_Color_LaserJet_MFP_M277dw_BC46DE_
> > HP_Color_LaserJet_MFP_M277dw_fax
> > 
> > The only change I see here is the time on the middle entry
> > 
> > 3 or 4 minutes kater
> > 
> > robert at MARS:~$ lpstat -a
> > HP_Color_LaserJet_MFP_M277dw accepting requests since Fri 30 Nov 2018 02:21:40
> > PM PST
> > HP_Color_LaserJet_MFP_M277dw_fax accepting requests since Mon 29 Oct 2018
> > 12:46:21 PM PDT
> > 
> > robert at MARS:~$ lpstat -e
> > HP_Color_LaserJet_MFP_M277dw
> > HP_Color_LaserJet_MFP_M277dw_BC46DE_
> > HP_Color_LaserJet_MFP_M277dw_fax
> > 
> > Now the middle entry is gone
> > 
> > about 10 minutes later
> > 
> > robert at MARS:~$ lpstat -a
> > HP_Color_LaserJet_MFP_M277dw accepting requests since Fri 30 Nov 2018 02:21:40
> > PM PST
> > HP_Color_LaserJet_MFP_M277dw_fax accepting requests since Mon 29 Oct 2018
> > 12:46:21 PM PDT
> > 
> > robert at MARS:~$ lpstat -e
> > HP_Color_LaserJet_MFP_M277dw
> > HP_Color_LaserJet_MFP_M277dw_BC46DE_
> > HP_Color_LaserJet_MFP_M277dw_fax
> 
> I would uncomment "UseCUPSGeneratedPPDs No", restart cups-browsed and
> see whether this makes a difference.

Uncomment "UseCUPSGeneratedPPDs No" and restarted cups-browsed.  None of the
queues had a two-sided option.  Also the "HP_Color_LasreJet_MFP_M227dw_BC46DE_"
is now back on the dialog as a printer queue option.

-- 
Robert Blair
-------------- next part --------------
+ wlp3s0 IPv6 robert's public files on MARS                 WebDAV File Share    local
+ wlp3s0 IPv4 robert's public files on MARS                 WebDAV File Share    local
+     lo IPv4 robert's public files on MARS                 WebDAV File Share    local
+ wlp3s0 IPv6 MARS                                          Web Site             local
+ wlp3s0 IPv4 MARS                                          Web Site             local
+     lo IPv4 MARS                                          Web Site             local
+ wlp3s0 IPv6 MARS                                          Microsoft Windows Network local
+ wlp3s0 IPv4 MARS                                          Microsoft Windows Network local
+     lo IPv4 MARS                                          Microsoft Windows Network local
= wlp3s0 IPv6 MARS                                          Microsoft Windows Network local
   hostname = [MARS.local]
   address = [fe80::4272:c9d4:f3f5:494a]
   port = [445]
   txt = []
= wlp3s0 IPv6 MARS                                          Web Site             local
   hostname = [MARS.local]
   address = [fe80::4272:c9d4:f3f5:494a]
   port = [38457]
   txt = ["u=guest"]
= wlp3s0 IPv6 robert's public files on MARS                 WebDAV File Share    local
   hostname = [MARS.local]
   address = [fe80::4272:c9d4:f3f5:494a]
   port = [38457]
   txt = ["path=/" "u=guest"]
= wlp3s0 IPv4 MARS                                          Microsoft Windows Network local
   hostname = [MARS.local]
   address = [192.168.60.179]
   port = [445]
   txt = []
= wlp3s0 IPv4 MARS                                          Web Site             local
   hostname = [MARS.local]
   address = [192.168.60.179]
   port = [38457]
   txt = ["u=guest"]
= wlp3s0 IPv4 robert's public files on MARS                 WebDAV File Share    local
   hostname = [MARS.local]
   address = [192.168.60.179]
   port = [38457]
   txt = ["path=/" "u=guest"]
=     lo IPv4 MARS                                          Microsoft Windows Network local
   hostname = [localhost]
   address = [127.0.0.1]
   port = [445]
   txt = []
=     lo IPv4 MARS                                          Web Site             local
   hostname = [localhost]
   address = [127.0.0.1]
   port = [38457]
   txt = ["u=guest"]
=     lo IPv4 robert's public files on MARS                 WebDAV File Share    local
   hostname = [localhost]
   address = [127.0.0.1]
   port = [38457]
   txt = ["path=/" "u=guest"]
+ wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         Web Site             local
= wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         Web Site             local
   hostname = [NPIBC46DE.local]
   address = [192.168.60.184]
   port = [80]
   txt = ["UUID=564e4238-4a31-4430-4630-fc3fdbbc46de"]
+ wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         Web Site             local
+ wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         Internet Printer     local
+ wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         Internet Printer     local
+ wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         Secure Internet Printer local
+ wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         Secure Internet Printer local
+ wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         _scanner._tcp        local
+ wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         _scanner._tcp        local
+ wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         _http-alt._tcp       local
+ wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         _print-caps._tcp     local
+ wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         PDL Printer          local
+ wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         UNIX Printer         local
+ wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         _uscan._tcp          local
= wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         Internet Printer     local
   hostname = [NPIBC46DE.local]
   address = [192.168.60.184]
   port = [631]
   txt = ["mopria_certified=1.2" "print_wfds=T" "mac=fc:3f:db:bc:46:de" "usb_MDL=HP Color LaserJet MFP M277dw" "usb_MFG=Hewlett-Packard" "TLS=1.2" "PaperMax=legal-A4" "kind=document,envelope,photo" "UUID=564e4238-4a31-4430-4630-fc3fdbbc46de" "Fax=T" "Scan=T" "Duplex=T" "Color=T" "note=" "adminurl=http://NPIBC46DE.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus" "priority=10" "product=(HP Color LaserJet MFP M277dw)" "ty=HP Color LaserJet MFP M277dw" "URF=V1.4,CP99,W8,OB10,PQ3-4-5,ADOBERGB24,DEVRGB24,DEVW8,SRGB24,DM1,IS1,MT1-2-3-5-12,RS600" "rp=ipp/print" "pdl=image/urf,application/pdf,application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,application/PCLm,application/octet-stream,image/jpeg" "qtotal=1" "txtvers=1"]
= wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         Secure Internet Printer local
   hostname = [NPIBC46DE.local]
   address = [192.168.60.184]
   port = [443]
   txt = ["mopria_certified=1.2" "print_wfds=T" "mac=fc:3f:db:bc:46:de" "usb_MDL=HP Color LaserJet MFP M277dw" "usb_MFG=Hewlett-Packard" "TLS=1.2" "PaperMax=legal-A4" "kind=document,envelope,photo" "UUID=564e4238-4a31-4430-4630-fc3fdbbc46de" "Fax=T" "Scan=T" "Duplex=T" "Color=T" "note=" "adminurl=https://NPIBC46DE.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus" "priority=10" "product=(HP Color LaserJet MFP M277dw)" "ty=HP Color LaserJet MFP M277dw" "URF=V1.4,CP99,W8,OB10,PQ3-4-5,ADOBERGB24,DEVRGB24,DEVW8,SRGB24,DM1,IS1,MT1-2-3-5-12,RS600" "rp=ipp/print" "pdl=image/urf,application/pdf,application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,application/PCLm,application/octet-stream,image/jpeg" "qtotal=1" "txtvers=1"]
= wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         _scanner._tcp        local
   hostname = [NPIBC46DE.local]
   address = [192.168.60.184]
   port = [8289]
   txt = ["note=" "flatbed=T" "feeder=T" "button=T" "usb_MDL=HP Color LaserJet MFP M277dw" "usb_MFG=Hewlett-Packard" "mdl=MFP M277dw" "mfg=Hewlett Packard" "ty=HP Color LaserJet MFP M277dw" "adminurl=http://NPIBC46DE.local." "txtvers=1" "UUID=564e4238-4a31-4430-4630-fc3fdbbc46de"]
+ wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         _http-alt._tcp       local
+ wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         _print-caps._tcp     local
+ wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         PDL Printer          local
+ wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         UNIX Printer         local
+ wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         _uscan._tcp          local
= wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         Web Site             local
   hostname = [NPIBC46DE.local]
   address = [fe80::aaa7:95ff:fe3d:6adb]
   port = [80]
   txt = ["UUID=564e4238-4a31-4430-4630-fc3fdbbc46de"]
= wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         Internet Printer     local
   hostname = [NPIBC46DE.local]
   address = [fe80::aaa7:95ff:fe3d:6adb]
   port = [631]
   txt = ["mopria_certified=1.2" "print_wfds=T" "mac=fc:3f:db:bc:46:de" "usb_MDL=HP Color LaserJet MFP M277dw" "usb_MFG=Hewlett-Packard" "TLS=1.2" "PaperMax=legal-A4" "kind=document,envelope,photo" "UUID=564e4238-4a31-4430-4630-fc3fdbbc46de" "Fax=T" "Scan=T" "Duplex=T" "Color=T" "note=" "adminurl=http://NPIBC46DE.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus" "priority=10" "product=(HP Color LaserJet MFP M277dw)" "ty=HP Color LaserJet MFP M277dw" "URF=V1.4,CP99,W8,OB10,PQ3-4-5,ADOBERGB24,DEVRGB24,DEVW8,SRGB24,DM1,IS1,MT1-2-3-5-12,RS600" "rp=ipp/print" "pdl=image/urf,application/pdf,application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,application/PCLm,application/octet-stream,image/jpeg" "qtotal=1" "txtvers=1"]
= wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         Secure Internet Printer local
   hostname = [NPIBC46DE.local]
   address = [fe80::aaa7:95ff:fe3d:6adb]
   port = [443]
   txt = ["mopria_certified=1.2" "print_wfds=T" "mac=fc:3f:db:bc:46:de" "usb_MDL=HP Color LaserJet MFP M277dw" "usb_MFG=Hewlett-Packard" "TLS=1.2" "PaperMax=legal-A4" "kind=document,envelope,photo" "UUID=564e4238-4a31-4430-4630-fc3fdbbc46de" "Fax=T" "Scan=T" "Duplex=T" "Color=T" "note=" "adminurl=https://NPIBC46DE.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus" "priority=10" "product=(HP Color LaserJet MFP M277dw)" "ty=HP Color LaserJet MFP M277dw" "URF=V1.4,CP99,W8,OB10,PQ3-4-5,ADOBERGB24,DEVRGB24,DEVW8,SRGB24,DM1,IS1,MT1-2-3-5-12,RS600" "rp=ipp/print" "pdl=image/urf,application/pdf,application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,application/PCLm,application/octet-stream,image/jpeg" "qtotal=1" "txtvers=1"]
= wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         _scanner._tcp        local
   hostname = [NPIBC46DE.local]
   address = [fe80::aaa7:95ff:fe3d:6adb]
   port = [8289]
   txt = ["note=" "flatbed=T" "feeder=T" "button=T" "usb_MDL=HP Color LaserJet MFP M277dw" "usb_MFG=Hewlett-Packard" "mdl=MFP M277dw" "mfg=Hewlett Packard" "ty=HP Color LaserJet MFP M277dw" "adminurl=http://NPIBC46DE.local." "txtvers=1" "UUID=564e4238-4a31-4430-4630-fc3fdbbc46de"]
= wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         _http-alt._tcp       local
   hostname = [NPIBC46DE.local]
   address = [192.168.60.184]
   port = [8080]
   txt = ["UUID=564e4238-4a31-4430-4630-fc3fdbbc46de"]
= wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         _print-caps._tcp     local
   hostname = [NPIBC46DE.local]
   address = [192.168.60.184]
   port = [8080]
   txt = ["UUID=564e4238-4a31-4430-4630-fc3fdbbc46de"]
= wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         PDL Printer          local
   hostname = [NPIBC46DE.local]
   address = [192.168.60.184]
   port = [9100]
   txt = ["TBCP=T" "Binary=T" "Transparent=T" "note=" "adminurl=http://NPIBC46DE.local." "priority=40" "product=(HP Color LaserJet MFP M277dw)" "ty=HP Color LaserJet MFP M277dw" "qtotal=1" "txtvers=1" "UUID=564e4238-4a31-4430-4630-fc3fdbbc46de"]
= wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         UNIX Printer         local
   hostname = [NPIBC46DE.local]
   address = [192.168.60.184]
   port = [515]
   txt = ["TBCP=T" "Binary=T" "Transparent=T" "note=" "adminurl=http://NPIBC46DE.local." "priority=50" "product=(HP Color LaserJet MFP M277dw)" "ty=HP Color LaserJet MFP M277dw" "rp=RAW" "qtotal=1" "txtvers=1" "UUID=564e4238-4a31-4430-4630-fc3fdbbc46de"]
= wlp3s0 IPv4 HP Color LaserJet MFP M277dw (BC46DE)         _uscan._tcp          local
   hostname = [NPIBC46DE.local]
   address = [192.168.60.184]
   port = [8080]
   txt = ["note=" "duplex=F" "is=platen,adf" "cs=color,grayscale" "pdl=application/pdf,image/jpeg" "uuid=564e4238-4a31-4430-4630-fc3fdbbc46de" "rs=eSCL" "representation=http://NPIBC46DE.local/ipp/images/printer.png" "vers=2.5" "usb_MDL=HP Color LaserJet MFP M277dw" "usb_MFG=Hewlett-Packard" "mdl=MFP M277dw" "mfg=Hewlett Packard" "ty=HP Color LaserJet MFP M277dw" "adminurl=http://NPIBC46DE.local." "txtvers=1"]
= wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         _http-alt._tcp       local
   hostname = [NPIBC46DE.local]
   address = [fe80::aaa7:95ff:fe3d:6adb]
   port = [8080]
   txt = ["UUID=564e4238-4a31-4430-4630-fc3fdbbc46de"]
= wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         _print-caps._tcp     local
   hostname = [NPIBC46DE.local]
   address = [fe80::aaa7:95ff:fe3d:6adb]
   port = [8080]
   txt = ["UUID=564e4238-4a31-4430-4630-fc3fdbbc46de"]
= wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         PDL Printer          local
   hostname = [NPIBC46DE.local]
   address = [fe80::aaa7:95ff:fe3d:6adb]
   port = [9100]
   txt = ["TBCP=T" "Binary=T" "Transparent=T" "note=" "adminurl=http://NPIBC46DE.local." "priority=40" "product=(HP Color LaserJet MFP M277dw)" "ty=HP Color LaserJet MFP M277dw" "qtotal=1" "txtvers=1" "UUID=564e4238-4a31-4430-4630-fc3fdbbc46de"]
= wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         UNIX Printer         local
   hostname = [NPIBC46DE.local]
   address = [fe80::aaa7:95ff:fe3d:6adb]
   port = [515]
   txt = ["TBCP=T" "Binary=T" "Transparent=T" "note=" "adminurl=http://NPIBC46DE.local." "priority=50" "product=(HP Color LaserJet MFP M277dw)" "ty=HP Color LaserJet MFP M277dw" "rp=RAW" "qtotal=1" "txtvers=1" "UUID=564e4238-4a31-4430-4630-fc3fdbbc46de"]
= wlp3s0 IPv6 HP Color LaserJet MFP M277dw (BC46DE)         _uscan._tcp          local
   hostname = [NPIBC46DE.local]
   address = [fe80::aaa7:95ff:fe3d:6adb]
   port = [8080]
   txt = ["note=" "duplex=F" "is=platen,adf" "cs=color,grayscale" "pdl=application/pdf,image/jpeg" "uuid=564e4238-4a31-4430-4630-fc3fdbbc46de" "rs=eSCL" "representation=http://NPIBC46DE.local/ipp/images/printer.png" "vers=2.5" "usb_MDL=HP Color LaserJet MFP M277dw" "usb_MFG=Hewlett-Packard" "mdl=MFP M277dw" "mfg=Hewlett Packard" "ty=HP Color LaserJet MFP M277dw" "adminurl=http://NPIBC46DE.local." "txtvers=1"]


More information about the cups mailing list