Track number of pages users print in a month

Helge Blischke h.blischke at acm.org
Wed Aug 22 10:17:57 PDT 2012


Cody T.  Belcher wrote:

>> I need to know if anyone knows of a good script to run once a month via
>> cron that will out put a list of users and how many pages they print? I
>> have 5 printers, and a few hundred users. We are trying to watch for
>> people printing excessive amounts, but not with a user quota because
>> sometimes a professor will need to print a large number of pages before
>> class, and need to let them do that while see who is, so if an undergrad
>> or grad student prints way to much we can find out what they were
>> printing and decide what to do from there.
>>
>> Thanks for any and all help
> 
> I forgot to mention that I tried PrintAnalyzer
> (http://savannah.nongnu.org/projects/printanalyze/) It always gave me an
> error for every print job in the log file, it's written in perl, and I
> don't know perl so I could't try to fix it, so if anyone can fix it, i
> think it has to do with a recent update to cups that change the log file
> format, please let me know

Please test the attached modified script and post any strange error messages 
you get, please.

Helge


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PrintAnalyzer.pl
Type: application/x-perl
Size: 14997 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20120822/71f7d0b3/attachment.bin>


More information about the cups mailing list