"Sebastian Pe�a M." spake thus:
> Modify accounting.pl to query your database when a printing process
> is starting. If the user has exceed his quota return JREMOVE and the printing
> job will be removed. It's pretty easy, take a look at accounting.pl. I have it
> working with the user's info in a mysql database and it works just fine
> (except that I can send a message to the user's screen..but that's another
> thread)
>
> Sebastian
>
I'll modify accounting.pl to talk to the mysql database. Would it be
possible that I could use your script as a more elaborate base than
accounting.pl? I hate reinventing the wheel. Perhaps some extra
accounting scripts can be included as contribs in later distributions?
I'm not going to try and appease beancounters here, just preventing
users from printing the entire internet (save the forest!)
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------