On Wed, 20 Feb 2002, Patrick Powell wrote:

> For example:
> send_failure_action=|/usr/libexec/filters/check_printer_for_status
> ...
> You should now be able to 'check the printer' for activity.
>
> I suggest a quick hack to:
>
> a)  send email to the operator on duty
>
> b)  periodically poll the printer
>
> c)  when the operator does not respond, or the printer is
>     offline for a reasonable time (???)  exit with JABORT
>
>     The printer will now stay offline until it is restarted
> Note:  output on STDERR is put into the status log file and
> can be viewed using lpq -lll
----------
        I'm going to go way out on a limb here and look like a fool,
but: how can I determine if the printer is jammed or otherwise
misbehaving?  I believe the original problem was that, even when jammed,
the printer was accepting connections but throwing away the print job.
        This sounds like precisely the right solution, though.  I
currently have the queues set to save_on_error (suggested by another
kind list member), which prevents jobs from being lost when there are
jams but also results in piles of error jobs sitting in the queues.
Either our users are sending reams of badly-formatted print jobs (which
is quite possible), or else there's yet another thing I'm going to have
to track down.

> I will put this into the Printing Cookbook
----------
        Way cool.  Thanks, as always, for your assistance.


                                        --Joe

-----
Joe Formoso ([EMAIL PROTECTED]),
  Senior Systems Administrator, IT Department, Stevens Institute of Technology


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to