<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>That's brilliant thanks. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Brian</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=TPanaitescu@colorcon.com
href="mailto:TPanaitescu@colorcon.com">TPanaitescu@colorcon.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Newsgroups:</B> cups.general</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=cups@easysw.com
href="mailto:cups@easysw.com">Mirror of cups.general Newsgroup</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 15, 2004 3:09
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cups.general] flushing a
queue</DIV>
<DIV><BR></DIV><BR><FONT face=sans-serif size=2>for i in `lpstat -o|grep
<printername>|awk '{print $1}'`; do cancel $i; done</FONT> <BR><BR><FONT
face=sans-serif size=2>from the command line.</FONT> <BR><BR><FONT
face=sans-serif size=2>T</FONT> <BR><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="40%"><FONT face=sans-serif size=1><B>"Brian Chivers" <<A
href="mailto:brian@tpc.ac.uk">brian@tpc.ac.uk</A>></B>
</FONT><BR><FONT face=sans-serif size=1>Sent by: <A
href="mailto:cups-bounces@easysw.com">cups-bounces@easysw.com</A></FONT>
<P><FONT face=sans-serif size=1>12/15/2004 09:35 AM</FONT>
<TABLE border=1>
<TBODY>
<TR vAlign=top>
<TD bgColor=white>
<DIV align=center><FONT face=sans-serif size=1>Please respond
to<BR>Brian Chivers <<A
href="mailto:brian@tpc.ac.uk">brian@tpc.ac.uk</A>>; Please
respond to<BR>"Mirror of cups.general Newsgroup" <<A
href="mailto:cups@easysw.com">cups@easysw.com</A>></FONT></DIV></TR></TBODY></TABLE><BR></P>
<TD width="59%">
<TABLE width="100%">
<TBODY>
<TR>
<TD>
<DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
<TD vAlign=top><FONT face=sans-serif size=1><A
href="mailto:cups@easysw.com">cups@easysw.com</A></FONT>
<TR>
<TD>
<DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
<TD vAlign=top>
<TR>
<TD>
<DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
<TD vAlign=top><FONT face=sans-serif size=1>[cups.general]
flushing a queue</FONT></TR></TBODY></TABLE><BR>
<TABLE>
<TBODY>
<TR vAlign=top>
<TD>
<TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><BR><FONT
size=2><TT>Is there an easy way either via the web frontend or CLI to cancel
all the<BR>jobs in a CUPS queue. I have several Cups servers in the College
and every<BR>now and again students go a bit "click" happy and try to print
hundreds of<BR>copies of the same document.<BR><BR>Currently I'm going in via
the web frontend and cancelling each job in turn<BR>which is a little tiresome
*grin*<BR><BR>The servers are Debian "Woody" with Wn2K clients printing via
IPP<BR><BR>Thanks<BR>Brian Chivers<BR>Portsmouth
College<BR><BR><BR>_______________________________________________<BR>cups
mailing
list<BR>cups@easysw.com<BR>http://lists.easysw.com/mailman/listinfo/cups<BR></TT></FONT><BR></BLOCKQUOTE></BODY></HTML>
<PRE>
---------------------------------------------------------------
The views expressed here are my own and not necessarily
the views of Portsmouth College
</PRE>