[cups.general] flushing a queue

Gene Heskett gene.heskett at verizon.net
Wed Dec 15 09:21:44 PST 2004


On Wednesday 15 December 2004 09:57, TPanaitescu at colorcon.com wrote:
>for i in `lpstat -o|grep <printername>|awk '{print $1}'`; do cancel
> $i; done
>
>from the command line.
>
Could this be put in a /usr/sbin script using <$1> in place of the
 <printername> above?

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.30% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.





More information about the cups mailing list