[cups.general] purge all jobs of a specific printer

TPanaitescu at colorcon.com TPanaitescu at colorcon.com
Tue Mar 21 11:19:08 PST 2006


for i in `lpstat -o |grep <printer name>| awk '{print $1}'`; do cancel $i;
done




                                                                           
             Willi Eggeling                                                
             <wje at arcor.de>                                                
             Sent by:                                                   To 
             cups-bounces at easy         cups at easysw.com                     
             sw.com                                                     cc 
                                                                           
                                                                   Subject 
             03/21/2006 02:08          [cups.general] purge all jobs of a  
             PM                        specific printer                    
                                                                           
                                                                           
             Please respond to                                             
                "Mirror of                                                 
               cups.general                                                
                Newsgroup"                                                 
             <cups at easysw.com>                                             
                                                                           
                                                                           




hi :)

how do I purge all existing jobs of a certain printer via CLI?
_______________________________________________
cups mailing list
cups at easysw.com
http://lists.easysw.com/mailman/listinfo/cups



Visit us at http://www.colorcon.com

NOTICE: This e-mail contains confidential and/or proprietary information, some or all of which may be legally privileged. It is intended only for the named recipient. If an addressing or transmission error has misdirected the e-mail,
please notify the author by replying to this message. If you are not the named recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail, and should immediately delete it from your computer system.

Thank you. *





More information about the cups mailing list