PQUOTA(8) MachTen Programmer’s Manual PQUOTA(8)

NAME
pquota - manage printer quota information

SYNOPSIS
pquota -a amount user ...
pquota -s amount user ...
pquota -r user ...
pquota -l user ...

DESCRIPTION
Printer quotas extend the existing printer accounting
mechanism. The printer quota database is stored in the
files: /var/adm/pquota.dir and /var/adm/pquota.pag. When
these files exist, only registered users with a positive
balance are allowed to print.

pquota provides the following management functions:

-a adjust the balance (by a positive/negative amount)
for each specified user.

-s set the balance (to an exact amount) for each spec-
ified user.

-r remove each specified user.

-l list the balance for each specified user.

Adjusting balances (-a) is the usual method for adding new
users or updating existing balances. Setting an exact
balance (-s) is included for surgical corrections. When
listing balances, all known users are shown if the user
list is omitted.

NOTES
Each printer for which accounting is desired should have
an accounting file (af=filename) and page cost (pc#number)
specified in its capability entry in /etc/printcap. The
page cost will default to two cents (pc#200) if not
declared. The output filter actually sending to the
printer debits the user’s printer quota balance by the
page cost times the number of pages printed.

FILES
/var/adm/pquota.dir
/var/adm/pquota.pag

SEE ALSO
printcap(5)

MachTen August 7, 1992 1