.\" Copyright (c) 1983 The Regents of the University of California. .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms are permitted provided .\" that: (1) source distributions retain this entire copyright notice and .\" comment, and (2) distributions including binaries display the following .\" acknowledgement: ``This product includes software developed by the .\" University of California, Berkeley and its contributors'' in the .\" documentation or other materials provided with the distribution and in .\" all advertising materials mentioning features or use of this software. .\" Neither the name of the University nor the names of its contributors may .\" be used to endorse or promote products derived from this software without .\" specific prior written permission. .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. .\" .\" @(#)pac.8 6.4 (Berkeley) 6/24/90 .\" .TH PAC 8 "June 24, 1990" .UC 5 .SH NAME pac \- printer/plotter accounting information .SH SYNOPSIS .B pac [ .B \-Pprinter ] [ .B \-pprice ] [ .B \-s ] [ .B \-r ] [ .B \-c ] [ .B \-m ] [ name ... ] .SH DESCRIPTION .I 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 .I names are specified, then statistics are only printed for those users; usually, statistics are printed for every user who has used any paper. .PP The .B \-P flag causes accounting to be done for the named printer. Normally, accounting is done for the default printer (site dependent) or the value of the environment variable .B PRINTER is used. .PP The .B \-p flag causes the value .I price to be used for the cost in dollars instead of the default value of 0.02 or the price specified in .IR /etc/printcap. .PP The .B \-c flag causes the output to be sorted by cost; usually the output is sorted alphabetically by name. .PP The .B \-r flag reverses the sorting order. .PP The .B \-s flag causes the accounting information to be 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. .PP The .B \-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. .SH FILES .ta 2i /var/account/?acct raw accounting files .br /var/account/?_sum summary accounting files .br /etc/printcap printer capability data base .SH SEE ALSO printcap(5) .SH BUGS The relationship between the computed price and reality is as yet unknown.