Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 10:33:29 +0200 (CEST)
From:      Erik Norgaard <norgaard@math.ku.dk>
To:        Frank Bonnet <f.bonnet@esiee.fr>
Cc:        FreeBSD-Questions <questions@freebsd.org>
Subject:   Re: Printing quota ?
Message-ID:  <Pine.LNX.4.64.0510201022100.16790@shannon.math.ku.dk>
In-Reply-To: <43574B5E.4020503@esiee.fr>
References:  <43574B5E.4020503@esiee.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 20 Oct 2005, Frank Bonnet wrote:

> I'm searching for a free software that perform print accounting
> interface with CUPS welcome.

You are entering into one of the most troublesome things in system 
administration. There are two problems:

* Relyably determining who's printing
* Relyably determining the number of pages

I don't know anything about CUPS but I once wrote a script for 
LPRng which may be changed to work with CUPS.

LPRng calls the script with user information as command line 
options and the document on STDIN. The script determines the user 
from the command line option and counts pages in postscript 
documents by parsing STDIN.

If the document doesn't look enough like postscript it is 
discarded. Windows users have a hard time getting it right.

I can send it to you if you're interested.

Cheers, Erik



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.64.0510201022100.16790>