Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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
- (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


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.