Tuesday, 5 November 2013

Printer accounting

A simple but seldom used function of process-accounting is the ability to track printer usage, an perhaps to (internally) charge. Individual printer usage can be logged and reports produced as follows:

1. Create a log file 
touch /var/log/printer.log

2. Add an entry to the print device stanza in "/etc/qdaemon"
acctfile = /var/log/printer.log

3. Restart the printer daemon
stopsrc -s qdaemon ; startsrc -s qdaemon

Now when a job is submitted it is added to the accounting file which can be read as follows:

# /usr/sbin/pac -Php_6030_pcl
  Login               pages/feet   runs               price
root                        1.00    1                USD .02

total                       1.00    1                USD .02

See the "pac" man page for charging options.


  1. No doubt, the tutorial is simple and easy to follow regarding printer accounting. There is no inherent advantage to doing dissertation writing services. It just helps you connect with proper personnel and network. Just make sure that you make most of your time here by working towards improving your chances.

  2. This comment has been removed by the author.

  3. informational and much charming blog which associated with me more.Spend a worthful time.Good work author.keep reviving more.
    Online Tax Services
    Tax Professional
    Online Tax Preparation
    Income Tax Preparation

  4. There is a wonderful description of each important concern and that too in a concise manner. Author did his job perfectly. He succeeds to deliver his thoughts with best of his knowledge and I am really very impressed with his efforts.รับ ทำ บัญชี ลาดพร้าว

  5. I am thankful to you for sharing this plethora of useful information. I found this resource utmost beneficial for me. Thanks a lot for hard work.

  6. Now day, everything is going to find a new but well settled and successful stream for their career. When I came to this blog, I really impressed by all the knowledge points mentioned here. Thank you for this assistance.รับ ทำ บัญชี

  7. Nature always helps a writer to learn from its elements. Nature always try to teach new lessons and a writer transform its experience into words. He can transform even silence into words. This blog taught me a lesson.รับ ทำ บัญชี

  8. I am grateful to you on the grounds that your article is exceptionally useful for me to continue with my exploration in same region. Your cited illustrations are all that much significant to my exploration field.This is extraordinary! It really exhibits to me where to broaden my online diaryรับ ทำ บัญชี ลาดพร้าว

  9. No doubt most of these comments are nothing but a pathetically weak attempt as SEO, but I really did find this helpful. Thanks.