Per Lejontand spake thus:
>
> On Fri, Jul 28, 2000 at 09:35:21AM -0400, Sebastian Pe�a M. wrote:
>
> > 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?
>
> Well, another thing is the fact that the as filter is processed on the server
> and i doubt the stdout/err are connected to the client. Havent infact lpr
> already disconected from the deamon when as is beeing run ?
>
Perhaps modifying accounting.pl to print a banner-like page with quota
details instead of the print-job... That way when the user happily goes
to collect the printout they will see the banner with their quota
details... hehe Hope they don't flood the printer with banner pages
after that... not that a failsafe couldn't be implemented easily...
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------