On Sat 25 Jul 2015 at 11:30:30 +0100, Brian wrote:

> Please stop cups-browsed on the client and post the output of 'lpstat -t'.

systemctl stop cups-browsed.service

systemctl status cups-browsed.service
● cups-browsed.service - Make remote CUPS printers available locally
   Loaded: loaded (/lib/systemd/system/cups-browsed.service; enabled)
   Active: inactive (dead) since Son 2015-07-26 17:27:01 CEST; 1s ago
  Process: 22426 ExecStart=/usr/sbin/cups-browsed (code=exited, 
status=0/SUCCESS)
 Main PID: 22426 (code=exited, status=0/SUCCESS)

Jul 26 17:27:01 systemd[1]: Stopped Make remote CUPS printers available locally.

LANG=C lpstat -t
scheduler is running
no system default destination
lpstat: No destinations added.
lpstat: No destinations added.
lpstat: No destinations added.
lpstat: No destinations added.

systemctl start cups-browsed.service

LANG=C lpstat -t
scheduler is running
no system default destination
device for HP-LaserJet-1020: ipp://Server1:631/printers/HP_LaserJet_1020
HP-LaserJet-1020 accepting requests since Sun 26 Jul 2015 05:27:42 PM CEST
printer HP-LaserJet-1020 is idle.  enabled since Sun 26 Jul 2015 05:27:42 PM 
CEST

So basically with the browsed.service stopped the broadcasts are ignored?

Let me give you the client's /etc/cups/cups-browsed.conf as well:

grep -v ^& /etc/cups/cups-browsed.conf 

BrowseRemoteProtocols cups
BrowseProtocols cups
BrowseAllow 192.168.1.1
BrowseAllow Server1
BrowsePoll Server1:631
AutoShutdown On

Now, this is interesting:

After I played around with the client's cups-browsed service the printer status 
on the server1 webinterface changed:

Before:
HP LaserJet 1020 HP LaserJet 1020 Foomatic/foo2zjs-z1 (recommended) Idle - 
"Waiting for jobs"

After:
HP LaserJet 1020 HP LaserJet 1020 Foomatic/foo2zjs-z1 (recommended) Idle - 
"Waiting for printer to become available."

And the printer page on the server1 webinterface does always mention:
HP_LaserJet_1020 (Idle, Accepting Jobs, Not Shared)


Any thought's on the matter?

Please CC me with your reply, I forgot to mention I'm no longer subscribed to 
the list.

Regards

Tuxo                                      

Reply via email to