Originally posted by: SystemAdmin
John Tesch has created this information regarding this topic :
Steps for printer accounting for ASCII files.
1. Create a file in /var/adm for each queue, and change ownership to group printq.
# touch /var/adm/asc
# chown root:printq /var/adm/asc
# chmod 664
2. Set up the /etc/qconfig queue stanza accounting file.
# smitty chpq
enter the print queue name or select from F4 menu
Choose: 3 Accounting File
For ACCOUNTING FILE name enter full path name
Example: /var/adm/asc
3. List the queueu to verify the filename
# lsque -q asc
asc:
acctfile = /var/adm/asc
device = lp0
4. Print out the results with the pac accounting command.
# pac -Pasc
Login pages/feet runs price
jwtesch 14.00 2 USD .08
sambat 28.00 9 USD .56
total 42.00 11 USD .64
Accounting for PostScript or Pass-through queues.
AIX does not support printer accounting for these file types because of the difficulty in counting pages.
#AIX-Forum