How do I tell when a CUPS print jobs has been completed plus info about that job?
Posted
by Lawrence Johnston
on Stack Overflow
See other posts from Stack Overflow
or by Lawrence Johnston
Published on 2009-09-17T17:30:36Z
Indexed on
2010/06/05
21:02 UTC
Read the original article
Hit count: 173
I need to know each time a Mac print job is created/completed, plus some information about that job (what was printed, pages, copies, etc).
The best method I've come up with thus far is to use kqueue() on /var/spool/cups/ and then parse the c##### files as they're created, but I'm wondering if there's a better way.
© Stack Overflow or respective owner