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

Brian Potkin claremont102 at gmail.com
Sat Dec 1 08:41:34 PST 2018


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.

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

[...]

> > 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.

-- 
Brian.


More information about the cups mailing list