[cups.general] job-media-sheets-completed on banner page

Michael Sweet mike at easysw.com
Tue Jun 1 12:02:19 PDT 2004


cups at esenf.pt wrote:
> I'm using CUPS version 1.1.20-0 integrated with SAMBA version 2.2.8a, both
> provided from Suse on a SLES8 installation. The system works nice with
> page accounting. Now, i want print a banner page at end of each job with
> user, job-id, title, data and number of printed pages. Everythig works
> fine except the number of printed pages.
> I'm using ({job-media-sheets-completed}) tag but the output is always 0
> (zero).

Since CUPS doesn't know the value of job-media-sheets-completed until
after the job has finished printing, it will always be 0 on the banner
pages.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Printing Software for UNIX                       http://www.easysw.com




More information about the cups mailing list