Create print quota usage reports with repykota
Last modified on $Date$
To account for print usage is good, however there must be a way to easily
query the Quota Storage Server and generate
reports describing current usage for every user on every printer.
Command line based Print Quota reports
PyKota features a quota report generator, named repykota,
with which you can print the current state of the quota database.
Reference
repykota
-v--version
-h--help
-u--users
-g--groups
-P printername
--printer printername
name1
name2
...
nameN
Web based Print Quota reports
PyKota also features a CGI script to remotely access
to print quota reports with a web browser, it is called printquota.cgi
and you can put it in your web server's cgi-bin directory if a web server is installed on
any machine on which PyKota is also installed and configured
correctly.
You can find printquota.cgi in the pykota/cgi-bin
directory. Here's how to install it, provided that your web server's cgi-bin
directory is /usr/lib/cgi-bin :
port50-2:/home/jerome/pykota$ cp cgi-bin/printquota.cgi /usr/lib/cgi-bin
port50-2:/home/jerome/pykota$ chmod 755 /usr/lib/cgi-bin/printquota.cgi
Note
Please ensure that the user your web server is run as, for example www-data under
Debian, is allowed to read /etc/pykota/pykota.conf but for security reasons you
must ensure that this user is not allowed to read /etc/pykota/pykotadmin.conf