On Thu, 2004-05-06 at 16:59, Timothy A. Chagnon wrote:
> Looks like the cups_job_t struct only contains size in kilobytes.
> http://www.cups.org/spm.html#cups_job_t
> 
> I'm guessing that the number of pages only gets evaluated when the file
> is first submitted with range or other options.  Looks like you'd have
> to do some coding within CUPS to make it display # of pages.
> 

Yeah, it seems that it only determines the number of pages after the job
is printing, when it sends it through a filter involving the "pstops"
utility.  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.

--Jeremy

-- 
/---------------------------------------------------------------------\
| Jeremy Portzer        [EMAIL PROTECTED]      trilug.org/~jeremy     |
| GPG Fingerprint: 712D 77C7 AB2D 2130 989F  E135 6F9F F7BC CC1A 7B92 |
\---------------------------------------------------------------------/

Attachment: 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

Reply via email to