Is there a way to count the number of pages printed via logs? Currently,
the CUPS admin panel merely shows the job id. However, a particular id
may have printed 10 or 150 pages. May I please know how it can be
identified?
Also, I would like to know if we can identify / trace the user who
prints a particular page. The basic aim is to minimize wastage of
stationery and also stop users from printing just about anything they want.
TIA
cups keeps limited info about "completed print jobs", see i.e.
lpstat -W completed <other options>
I don't believe the number of PAGES is there, the size in bytes (and
the requesting user) IS).
Try for instance lpstat -W completed -t
which gives (among other info) a table of all completed jobs
(it still knows about), one line per job.
PS: the info is stored in /var/spool/cups, one file per job, but
they're binary files, not logs.
--
******************************************************************
** Eef Hartman, Delft University of Technology, dept. SSC/ICT **
** e-mail: E.J.M....@tudelft.nl - phone: +31-15-27 82525 **
******************************************************************
> The basic aim is to minimize wastage of stationery and also
> stop users from printing just about anything they want.
Have you read the web page at
<http://www.cups.ORG/documentation.php/doc-1.4/accounting.html>
If any of the jobs are raw jobs page counting is difficult.
> Also, I would like to know if we can identify / trace the user who
> prints a particular page. The basic aim is to minimize wastage of
> stationery and also stop users from printing just about anything they want.
--
⚂⚃ 100% natural
Thank you gentlemen for the responses. I downloaded the phpPrintAnalyzer
from http://cups.org/links.php?LC+P36+Q. However, the interface is all
in French. I changed the default language to English in config.inc.php
but to no avail.
Unlike the "Periode a consulter" as shown at
http://tpequet.free.fr/phpPrintAnalyzer/ mine shows P?riode ? consulter.
The dropdown list is very constricted and totally blank. Any idea why
this could be happening?
TIA