Translate

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.

8 comments:

  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.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. 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.รับ ทำ บัญชี ลาดพร้าว

    ReplyDelete
  4. 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. inter-grationcpa.com

    ReplyDelete
  5. 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.รับ ทำ บัญชี

    ReplyDelete
  6. 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รับ ทำ บัญชี ลาดพร้าว

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

    ReplyDelete