Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pac(8) [bsd man page]

PAC(8)							      System Manager's Manual							    PAC(8)

NAME
pac - printer/plotter accounting information SYNOPSIS
/usr/sbin/pac [ -Pprinter ] [ -pprice ] [ -s ] [ -r ] [ -c ] [ -m ] [ 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. If any names are specified, then statis- tics are only printed for those users; usually, statistics are printed for every user who has used any paper. The -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 PRINTER is used. The -p flag causes the value price to be used for the cost in dollars instead of the default value of 0.02 or the price specified in /etc/printcap. The -c flag causes the output to be sorted by cost; usually the output is sorted alphabetically by name. The -r flag reverses the sorting order. The -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. The -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. FILES
/usr/adm/?acct raw accounting files /usr/adm/?_sum summary accounting files /etc/printcap printer capability data base SEE ALSO
printcap(5) BUGS
The relationship between the computed price and reality is as yet unknown. 4.2 Berkeley Distribution November 1, 1996 PAC(8)

Check Out this Related Man Page

PAC(8)							    BSD System Manager's Manual 						    PAC(8)

NAME
pac -- printer/plotter accounting information SYNOPSIS
pac [-Pprinter] [-c] [-m] [-pprice] [-s] [-r] [name ...] DESCRIPTION
The pac utility 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: -Pprinter 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. -c Cause the output to be sorted by cost; usually the output is sorted alphabetically by name. -m Cause 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. -pprice 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. -r Reverse the sorting order. -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. names Statistics are only printed for user(s) name; usually, statistics are printed for every user who has used any paper. FILES
/var/account/?acct raw accounting files /var/account/?_sum summary accounting files /etc/printcap printer capability data base SEE ALSO
printcap(5) HISTORY
The pac utility appeared in 4.0BSD. BUGS
The relationship between the computed price and reality is as yet unknown. BSD
June 6, 1993 BSD
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

adding printer in unix

Hello guys... can anybody please tell me how to add a printer in unix environment? (2 Replies)
Discussion started by: bong m
2 Replies

2. UNIX for Advanced & Expert Users

Diffrent IP range connectivity

Hi guys, We have different IP ranges in our LAN, for instance my system IP Add. is in 163.183.37.x range, in the meantime i wish to connect to our printer/plotter which is 163.183.4.x & our LAN in another location with 163.183.38.x. What shoul i do except defining pesudo IP Add's? as a... (1 Reply)
Discussion started by: nikk
1 Replies

3. UNIX for Advanced & Expert Users

form suppression

i am printing from unix (sco 5.0.6) to a remote printer (okidata 320) using facetwin. it prints fine but i get a form feed at the end of print. i have tried using the "sf" flag in printcap but it continues to form. how do i suppress the form feed? ./butch test gives total 4 drwxrwxrwx ... (3 Replies)
Discussion started by: BUTCH ELLSWORTH
3 Replies

4. UNIX for Dummies Questions & Answers

Some one please help

Hi people please help i need to change the default printer on a usr name and i cant evin get in to the usr file EG do i type cd/ usr/ ims1 please i need help (2 Replies)
Discussion started by: the_real_reaper
2 Replies

5. Shell Programming and Scripting

statement

I want to write a program that would convert yard to feet and feet to yard. i.e 1 yard = 3 * feet Echo "enter a" read a expr a *3 The trick is that I want to give the user some options. After the conversion from yard to feet is done, I want to ask the user whether or not he/she wants to... (10 Replies)
Discussion started by: Ernst
10 Replies

6. Windows & DOS: Issues & Discussions

Do you prefer Quickbooks, Microsoft or another small business accounting software?

I am starting a small business. I need software to invoice and track payments, track income and expense and basically keep everything organized for tax time. I've read positive and negative on all small business accounting software, so now I'm really confused. Oh, my business is a service one, so I... (3 Replies)
Discussion started by: sunybck
3 Replies

7. UNIX for Dummies Questions & Answers

Newbie

I am new to Linux. What OS would be anyone recommend I start off to get my feet wet (not soaking thought!!) (3 Replies)
Discussion started by: lucianvibz
3 Replies

8. Shell Programming and Scripting

Merge two lines

Hi I have two lines of data formatted as displayed below shop, price, remark, date a,#N/A,order to -fd, 20091011 and would like it to be shop:a price:#N/A remark:order to -fd date:20091011 How can I do it? Many thanks (2 Replies)
Discussion started by: lalelle
2 Replies

9. Shell Programming and Scripting

Comparing variables in awk

I'm writing a shellscript that monitors the price of a watch. If the prices changes, it should email me. The body of the email will show the old price and the new price. However when I compare the two awk variables(oldprice and newprice) it always says they're not the same. The shellscript goes out... (2 Replies)
Discussion started by: Shinsuio
2 Replies

10. Shell Programming and Scripting

Replacing all occurences depending on parity

I want to replace all occurences of '$' in a LaTeX source code in the following way: The dollars on odd position in the file must be changed in '$latex ' and the other dollars can remain the same. I was thinking to make a script which replaces all odd occurences of a given character with a... (4 Replies)
Discussion started by: beni22sof
4 Replies

11. Programming

Javascript PAC file and variables

Guys i'm new to javascript but have pulled together a PAC file based on requirements. Problem is i'm not sure how javascript handles variables. I'm proficient with shell script, and a bit of perl. I can't find any examples on the net of what i'm trying to do. I want to return proxies which... (1 Reply)
Discussion started by: lavascript
1 Replies

12. IP Networking

Help with PAC file

Hello All , I need hello all , i need help in creating a pac file (to use in IE ). I browsed and wrote something , which is not meeting my conditions 1. in office i have to use one proxy , say PROXY1:7070 to access internet and to use client network need to add in exclusion list (advanced... (2 Replies)
Discussion started by: radha254
2 Replies