<br><font size=2 face="sans-serif">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.</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif">T</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Dane Miller <sysadmin-nntp@olneyfriends.org></b>
</font>
<br><font size=1 face="sans-serif">Sent by: cups-bounces@easysw.com</font>
<p><font size=1 face="sans-serif">12/15/04 12:58 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
"Mirror of cups.general Newsgroup" <cups@easysw.com></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">cups@easysw.com</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [cups.general] flushing
a queue</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>TPanaitescu@colorcon.com wrote:<br>
> <br>
> for i in `lpstat -o|grep <printername>|awk '{print $1}'`; do
cancel $i; <br>
> done<br>
<br>
What is the difference between the above bit of shell script and a simple
"cancel -a <br>
printername"?<br>
<br>
Dane<br>
<br>
--<br>
Dane Miller<br>
Technology Coordinator<br>
Olney Friends School<br>
Barnesville, Ohio<br>
_______________________________________________<br>
cups mailing list<br>
cups@easysw.com<br>
http://lists.easysw.com/mailman/listinfo/cups<br>
</tt></font>
<br>