Pegasus InfoCorp: Web site design and web software development company

PAC (8)

pac

printer/plotter accounting information

SYNOPSIS

    pac Fl P Ns Ar printer Fl c Fl m Fl p Ns Ar price Fl s Fl r Ar name ...

DESCRIPTION

    Pac reads the printer/plotter accounting files, accumulating the number of pages (the usual case) or feet (for raster devices) of paper consumed by each user, and printing out how much each user consumed in pages or feet and dollars.

    Options and operands available: -tag -width PPprinter

    Fl P Ns Ar printer Accounting is done for the named printer. Normally, accounting is done for the default printer (site dependent) or the value of the environment variable PRINTER is used.

    Fl c flag causes the output to be sorted by cost; usually the output is sorted alphabetically by name.

    Fl m flag causes the host name to be ignored in the accounting file. This allows for a user on multiple machines to have all of his printing charges grouped together.

    Fl p Ns Ar price The value price is used for the cost in dollars instead of the default value of 0.02 or the price specified in /etc/printcap .

    Fl r Reverse the sorting order.

    Fl s Accounting information is summarized on the summary accounting file; this summarization is necessary since on a busy system, the accounting file can grow by several lines per day.

    Ar names Statistics are only printed for user(s) name ; usually, statistics are printed for every user who has used any paper.

FILES

    -tag -width /var/account/?_sum -compact

    Pa /var/account/?acct raw accounting files

    Pa /var/account/?_sum summary accounting files

    Pa /etc/printcap printer capability data base

SEE ALSO

BUGS

    The relationship between the computed price and reality is as yet unknown.

HISTORY

    The command appeared in 4.0 .