You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
The man page for filter(7) has this to say on page accounting:
PAGE: page-number #-copies
PAGE: #-pages total
Adds an entry to the current PageLog. The first form adds #-copies to the job-media-sheets-completed attribute. The second form sets the job-media-sheets-completed attribute to #-pages.
The second form - the total page count - does not work.
I'm running two machines FC6-i386 with CUPS ver 1.2.10 and 1.2.7 (rpms distributed by fedora).
In my filter I tried: echo "PAGE: 70" >&2
The page_log showed:
BPHhold1 java 847 [29/Jun/2007:19:09:08 +0300] 70 - 10.236.1.45
and the Web interface claimed -2129748404 number of pages!
Just for fun also tried: echo "PAGE: 70 total" >&2
The page_log showed:
BPHhold1 java 848 [29/Jun/2007:19:11:32 +0300] 70 total - 10.236.1.45
and the Web interface claimed 1 number of pages.
So, is this a documentation error or a bug?
Opher.
The text was updated successfully, but these errors were encountered:
Version: 1.2-current
CUPS.org User: opher
Hello,
The man page for filter(7) has this to say on page accounting:
PAGE: page-number #-copies
PAGE: #-pages total
Adds an entry to the current PageLog. The first form adds #-copies to the job-media-sheets-completed attribute. The second form sets the job-media-sheets-completed attribute to #-pages.
The second form - the total page count - does not work.
I'm running two machines FC6-i386 with CUPS ver 1.2.10 and 1.2.7 (rpms distributed by fedora).
In my filter I tried: echo "PAGE: 70" >&2
The page_log showed:
BPHhold1 java 847 [29/Jun/2007:19:09:08 +0300] 70 - 10.236.1.45
and the Web interface claimed -2129748404 number of pages!
Just for fun also tried: echo "PAGE: 70 total" >&2
The page_log showed:
BPHhold1 java 848 [29/Jun/2007:19:11:32 +0300] 70 total - 10.236.1.45
and the Web interface claimed 1 number of pages.
So, is this a documentation error or a bug?
Opher.
The text was updated successfully, but these errors were encountered: