> From [EMAIL PROTECTED] Fri Jul 28 07:46:59 2000
> From: "Sebastian Pe�a M." <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: Providing accounting feedback ...
> Date: Fri, 28 Jul 2000 09:35:21 -0400
>
> 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?
In the 'LPRng/UTILS/accounting.pl' file you will find a section labled
"Put your code here" or something like that.
Enjoy.
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)
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------