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 <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part
-- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
