> From [EMAIL PROTECTED] Fri Nov  3 10:06:46 2000
> Date: Fri, 03 Nov 2000 16:43:09 +0000
> From: Iain Rae <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: running scripts on errors
>
>
> Hi all,
> possibly a silly question but is it possible to get lprng or the ifhp
> filter to run an arbitary script on an error? We have a lab full of
> students who will occasionaly send something obscure to the printer
> which it can't cope with and can't print.(as in "hey manual tray, wonder
> what that does" or Letter/envelope sized jobs to printers which only
> handle A4)  
>
> Either we let the job foul the printer and the queues back up or we get
> the printer to dump the job and we get a bunch of student claiming that
> the printers aren't working, this hasn't been a problem in the past but
> there's been a spate of jobs which have prompted me to action (possibly
> this years students are better complainers than the last few years).
>
> Ideally I'd like to run smbclient and winpopup a message letting them
> know what happened to their job and why. Is there any way to do this
> short of hacking the source?
> -- 
> Iain Rae
> Computing Officer
> Dept. Civil & Offshore Engineering
> Heriot-Watt University

Yes.  This is one of the more horrible 'desperation options' in LPRng.

 :send_failure_action=|/script/to/do/things


Patrick Powell                 Astart Technologies,
[EMAIL PROTECTED]            9475 Chesapeake Drive, Suite D,
Network and System             San Diego, CA 92123
  Consulting                   858-874-6543 FAX 858-279-8424 
LPRng - Print Spooler (http://www.astart.com)

-----------------------------------------------------------------------------
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