On Tue 28 Jul 2015 at 15:53:47 +0100, Brian wrote: > On Tue 28 Jul 2015 at 10:35:33 +0200, Tuxo Holic wrote: > > > Which brings me back to my previous question: Seems to me "server > > cups" knows that printer is not running yet, how can I make "server > > cups" tell this to "client cups" , so the users gets the feedback in > > the printing app? My idea would be some sort of notification like > > "please switch on printer "HP_LaserJet_1020" . > > There is a wiki page for Tea4CUPS. It might give you some ideas.
The idea of users getting feedback doesn't appeal to me. If they do not see the print queues they have nothing to print to. You seem reluctant to switch off a printer and issue a command on the computer. Is multitasking out of fashion? It seems to me it solves your problem so, apart from what follows, I don't think I have much more to say on the matter. On the server run a script as a daemon or a cron job. It removes the queues when the printer is switched off. My example is for a USB printer. A=$(lsusb | grep -i 'Stylus Color 740') if [ -z "$A" ]; then systemctl stop cups.service cups.socket cups.path fi (No sniggering at the back, please. I'm aware of the deficiencies in the logic. Improvements are welcome). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150728202529.ga8...@copernicus.demon.co.uk