El Fri, 28 Jul 2000, tu escribiste:
> Is there any way of providing neat feedback from the accounting (as 
> especially) scripts?. Saying something like "You are out of print quota"
> of similar to the user rather than just having lpr silently beeing happy
> and acting as though everything was accepted by lpd.
> 
> Now I know I cannot be alone with this problem, anyone who has done 
> anything similar to this ? 
> 
> -- 
> //Per
Per:
No, you are not alone in this problem. The thing is to modify accounting.pl
or whatever you are using as "as:"   to print a message to the user an
remove the job when the user is out of paper quota. The thing is that
the usual file descriptors (stdin,stdout and stderr) are pointing to somewhere
else, so if you print to stdout the message will appear in the log file.
Is there is any expert in Perl here?  Maybe he/she can give us a hand on this?

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