<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
For startingi paused printer again after paper out error I have little
script, whitch I run every minute in my school.<br>
<br>
<br>
<p>The script is there, save it as /root/startagain.sh:
</p>
<pre>#!/bin/bash
/usr/bin/enable `/usr/bin/lpstat -p | /bin/grep disabled | /usr/bin/cut  -f 2 -d " "`
</pre>
<p>You must make it executable, so this command is <b>chmod +x
/root/startagain.sh</b>
</p>
And with <b>crontab -u root -e</b> write this line:
<pre>0-59 * * * * /root/startagain.sh
</pre>
It executables then once per minute shis script. If printer is paused,
then enables it again<br>
<br>
<br>
Answer to the second question:<br>
After deleting files from /var/spool/squid (and not the tmp directory)
you must restart cups:<br>
service cups restart<br>
<br>
This link is to page in estonian but blue lines and bold text are
english commands anyway.<br>
<a class="moz-txt-link-freetext" href="http://www.vvpk.vil.ee/linux/index.php?artikli_id=17&nupu_nimipealkirjas=Printer">http://www.vvpk.vil.ee/linux/index.php?artikli_id=17&nupu_nimipealkirjas=Printer</a><br>
<br>
Olle Niit<br>
<br>
<br>
Doug Simpson wrote:
<blockquote cite="mid4463260B.1010407@alltel.net" type="cite">I have
several servers running FCx and I have a few questions about printing.
  <br>
  <br>
First off, where can I find the files it spools to be printed?
  <br>
  <br>
I looked in /var/spool/cups and find files in there and delete them,
but they remain in the print manager and eventually say aborted. Where
else are they?
  <br>
  <br>
Using cups.
  <br>
  <br>
Another thing that hapens is if a print job gets jammed and/or the
printer goes offline for any reason, it jams up the print processes and
nothing I do seems to be able to get the printer back to working. The
last time this happened it took me two weeks to get it to work again
and I can't remember what I did to fix it.
  <br>
</blockquote>
<br>
</body>
</html>