| 1 | |
| 2 | |
| 3 | |
| 4 | PAC(8) 1990 PAC(8) |
| 5 | |
| 6 | |
| 7 | |
| 8 | N\bNA\bAM\bME\bE |
| 9 | pac - printer/plotter accounting information |
| 10 | |
| 11 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS |
| 12 | p\bpa\bac\bc [ -\b-P\bPp\bpr\bri\bin\bnt\bte\ber\br ] [ -\b-p\bpp\bpr\bri\bic\bce\be ] [ -\b-s\bs ] [ -\b-r\br ] [ -\b-c\bc ] [ -\b-m\bm ] [ |
| 13 | name ... ] |
| 14 | |
| 15 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN |
| 16 | _\bP_\ba_\bc reads the printer/plotter accounting files, accumulating |
| 17 | the number of pages (the usual case) or feet (for raster |
| 18 | devices) of paper consumed by each user, and printing out |
| 19 | how much each user consumed in pages or feet and dollars. |
| 20 | If any _\bn_\ba_\bm_\be_\bs are specified, then statistics are only printed |
| 21 | for those users; usually, statistics are printed for every |
| 22 | user who has used any paper. |
| 23 | |
| 24 | The -\b-P\bP flag causes accounting to be done for the named |
| 25 | printer. Normally, accounting is done for the default |
| 26 | printer (site dependent) or the value of the environment |
| 27 | variable P\bPR\bRI\bIN\bNT\bTE\bER\bR is used. |
| 28 | |
| 29 | The -\b-p\bp flag causes the value _\bp_\br_\bi_\bc_\be to be used for the cost |
| 30 | in dollars instead of the default value of 0.02 or the price |
| 31 | specified in /_\be_\bt_\bc/_\bp_\br_\bi_\bn_\bt_\bc_\ba_\bp. |
| 32 | |
| 33 | The -\b-c\bc flag causes the output to be sorted by cost; usually |
| 34 | the output is sorted alphabetically by name. |
| 35 | |
| 36 | The -\b-r\br flag reverses the sorting order. |
| 37 | |
| 38 | The -\b-s\bs flag causes the accounting information to be summar- |
| 39 | ized on the summary accounting file; this summarization is |
| 40 | necessary since on a busy system, the accounting file can |
| 41 | grow by several lines per day. |
| 42 | |
| 43 | The -\b-m\bm flag causes the host name to be ignored in the |
| 44 | accounting file. This allows for a user on multiple |
| 45 | machines to have all of his printing charges grouped |
| 46 | together. |
| 47 | |
| 48 | F\bFI\bIL\bLE\bES\bS |
| 49 | /var/account/?acct raw accounting files |
| 50 | /var/account/?_sum summary accounting files |
| 51 | /etc/printcap printer capability data base |
| 52 | |
| 53 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO |
| 54 | printcap(5) |
| 55 | |
| 56 | B\bBU\bUG\bGS\bS |
| 57 | The relationship between the computed price and reality is |
| 58 | as yet unknown. |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | Printed 7/27/90 June 1 |
| 64 | |
| 65 | |
| 66 | |