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

Paulo Almeida cups at esenf.pt
Wed Jun 2 01:20:21 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.

It will have some way to skirt this?

Thanks.
Paulo





More information about the cups mailing list