pac(1M) pac(1M)NAME pac - gathers printer/plotter accounting information SYNOPSIS pac [-c] [-m] [-pprice] [-Pprinter] [-r] [-s] [name]... ARGUMENTS -c Sorts the output by cost. Usually the output is sorted alphabetically by name. -m Ignores the host name in the accounting file so a user on multiple machines can have all of his or her printing charges grouped together. -pprice Uses the value price for the cost in dollars instead of the default value of 0.02 or the price specified in /etc/printcap. -Pprinter Does accounting for the named printer. Normally, accounting is done for the default printer (site- dependent) or the value of the environment variable PRINTER is used. -r Reverses the sorting order. -s Summarizes the accounting information on the summary accounting file. This summarizing is necessary because the accounting file can grow by several lines per day on a busy system. name Specifies the name of a user. 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. If any names are specified, then statistics are only printed for those users; usually, statistics are printed for every user who has used any paper. LIMITATIONS The relationship between the computed price and reality is as yet unknown. FILES /etc/pac Executable file /usr/adm/?acct Raw accounting files January 1992 1
pac(1M) pac(1M)/usr/adm/?_sum Summary accounting files /etc/printcap Printer-capability database SEE ALSO printcap(4) in A/UX Programmer's Reference 2 January 1992