RE: cups/cups-browsed: only advertise online network printers

2015-07-29 Thread Tuxo Holic
Thanks Brian and Jochen for the efforts, but switching off services to remove the queue and end up with no advertised printer is not an option as well. So the main goal I was aiming at seems to be not available which was: give notification to the user, that this network printer is switched off

RE: cups/cups-browsed: only advertise online network printers

2015-07-28 Thread Tuxo Holic
Okay Brian - here's the update of further testing: I need one BrowsePoll line enabled so the cups-browsed clients know what hostname or IP they should poll,which leaves me with the following *not default* but very simplistic cups-browsed.conf grep -v ^# /etc/cups/cups-browsed.conf

RE: cups/cups-browsed: only advertise online network printers

2015-07-27 Thread Tuxo Holic
On Sun, 26 Jul 2015 20:28:21 +0100, Brian wrote: Your problem (please correct me if I have not understood what you said) is that applications, Iceweasel, Evince etc, still see HP_LaserJet_1020 after the server is closed down. No, I meant: the server usually stays on until I go to bed, but

RE: cups/cups-browsed: only advertise online network printers

2015-07-26 Thread Tuxo Holic
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

cups/cups-browsed: only advertise online network printers

2015-07-24 Thread Tuxo Holic
Hi list, I' have a HP LaserJet 1020 USB - plugged to my server running debian/stable with cups, the clients connect to it using cups-browsed and the cups network protocol. The server does *not* run 24/7 nor does my printer: I usually switch on the LaserJet as soon as I need it and disable it