[TriLUG] CUPS : displaying number of pages?
Timothy A. Chagnon
tchagnon at nc.rr.com
Thu May 6 17:48:51 EDT 2004
On Thu, 2004-05-06 at 17:18, Jeremy Portzer wrote:
> There is a convoluted function that does this and as a side
> effect logs the number of pages to /var/log/cups/page_log. Now if only
> I could figure out how to get the relevant information into the job
> control panel... and I hate C. Ugh.
I don't know what the source for the control panel looks like, but you
could probably fork() and exec a shell or other script that greps for
the job number then does some cuts and exits with the # of pages.
Timothy A. Chagnon <tchagnon at nc.rr.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.trilug.org/pipermail/trilug/attachments/20040506/b5e440b5/attachment.bin
More information about the TriLUG