[cups.general] flushing a queue

Dane Miller sysadmin-nntp at olneyfriends.org
Wed Dec 15 09:58:12 PST 2004


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




More information about the cups mailing list