Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am using the CUPS print server on a MAC to manage printing, I would like to know the number of pages that are printed by any user for any job, however the column for pages writes unknown for each printing job.

How can I go about this

share|improve this question

2 Answers 2

If you're printing PostScript files, you really can't tell how many pages will be printed without interpreting the file and counting them. If you need this, you can modify the spooler to get total pages printed from the systemdict before and after the job, and use the difference.

Non-PS printers may differ.

share|improve this answer

Are you refering to the page_log file which CUPS maintains, when you talk about "the column for pages"?

Did you see these pieces of documentation (which is valid for Mac OS X as well) ?

Also suggested:

share|improve this answer
    
- printing.kde.org/faq/cups.php#HowdoesCUPSpageaccountingwork (looks like I had to add the 2nd link as a comment -- serverfault wouldn't allow 2 at once) –  Kurt Pfeifle Jul 7 '10 at 17:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.