[cups.general] flushing a queue

TPanaitescu at colorcon.com TPanaitescu at colorcon.com
Wed Dec 15 10:22:53 PST 2004


It's the same thing ! Thanks for pointing it out! It is not documented 
though, I tried man cancel, man 1 cancel. Nothing. I had to look in the 
source to see that.

Thanks,
T



Dane Miller <sysadmin-nntp at olneyfriends.org> 
Sent by: cups-bounces at easysw.com
12/15/04 12:58 PM
Please respond to
"Mirror of cups.general Newsgroup" <cups at easysw.com>


To
cups at easysw.com
cc

Subject
Re: [cups.general] flushing a queue






TPanaitescu at colorcon.com wrote:
> 
> for i in `lpstat -o|grep <printername>|awk '{print $1}'`; do cancel $i; 
> done

What is the difference between the above bit of shell script and a simple 
"cancel -a 
printername"?

Dane

--
Dane Miller
Technology Coordinator
Olney Friends School
Barnesville, Ohio
_______________________________________________
cups mailing list
cups at easysw.com
http://lists.easysw.com/mailman/listinfo/cups

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20041215/141b15de/attachment-0001.html>


More information about the cups mailing list