On Wed, 20 Jun 2001, amit deshmukh wrote:

>
> Hi,
>
>         I am new to LPRng. Does LPRng have any inherent saupport for per
> user print quota. i.e. Can I keep track of the pages printed by any user.

LPRng writes a wealth of information into the the accounting file,
including the username and the number of pages printed per job (assuming
you have a printer which supports page counts).  It is up to you to write
the logic to do quota limits into the accounting script.

We don't do "quotas" here, but we do bill user's for every page printed.
We modified the perl accounting script to store the username in a database
and increment their "total pages printed" which the page count from each
job.

This is really pretty easy stuff because a sample acct.pl script is
included with LPRng.  You just need to flesh it out with your site
specific stuff.  I'd be happy to share our scripts and printcap if you're
interested.

Andy Morgan
Central Computing
Oregon State University


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