On Thursday 12 November 2020 13:25:57 Dr. Nikolaus Klepp wrote: > Anno domini 2020 Thu, 12 Nov 11:38:47 -0600 > > Michael via tde-users scripsit: > > On Thursday 12 November 2020 11:05:40 am BorgLabs - Kate Draven wrote: > > > > > That's half of it Kate, the cups installed on the clients > > > > > needs to have "browser" enabled. Once that's done you can > > > > > keep the chainsaws busy. Until you run out of ink or toner. > > > > > > > > Oh my ... that's the reason why I set up a "drop stuff here" > > > > folder on the > > > > > > only computer that's connected to a printer. Whenever I drop a > > > file into it, it gets printed and deleted. > > > > > > Oh that's interesting. Never used that. > > > > Hi Nik, > > > > Do you use incron (incrontab) for this? You willing to share your > > script (assuming it's in bash)? > > Oh, that's just some lines in /etc/rc.local: > > ( > mkdir /tmp/xxx > inotifywait -m /tmp/xxx -e CLOSE_WRITE | while read a; do > b=$(echo "$a" | cut -d ' ' -f 3-) > lpr "$b" && rm "$b" > done > ) & > > now copy anything you want to print to /tmp/xxx ... hopefully you have > set up filters for all the strange files that are not ps, pdf ot txt > ... and you could do some better sanity checking :) Oh, you need > inotify-tools, too. > best little gismo ever. It drives my incoming email. Handier than a turn knob on the outhouse door at a family reunion. > > Curiosity, best time waster ever invented! > > That's why smartphones were invented. with smatphones nobody will ever > feel curiosity again! > > > Nik > > > Best, > > Michael > > ____________________________________________________ > > tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx > > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx > > Web mail archive available at > > https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trini > >tydesktop.org Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> ____________________________________________________ tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx