foomatic-rip doesn't generate PAGE messages for page_log
Bug #1585380 reported by
Alex Korobkin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups-filters (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When a job is being processed by foomatic, foomatic is supposed to produce PAGE messages to CUPS to indicate how many pages were printed. [1] Otherwise CUPS doesn't write a message to the page_log with the page job accounting, as explained by Mike Sweet: [2] [3]
Please make foomatic-rip do that so that pages were accounted properly in the logs.
1. https:/
2. http://
3. https:/
To post a comment you must log in.
I'm looking through the code for this (cups-filters 1.8.3, CUPS 2.1.3), and it seems like foomatic-rip is actually trying to insert some accounting (error_log):
[Job 29] Found: %%EndSetup
[Job 29] Inserting PostScript code for CUPS\' page accounting
[Job 29] -----------
[Job 29] New page: %%Page: 1 1
[Job 29] Found: %%BeginPageSetup
which is referenced in this prolog code, spooler.c, line 135: bzr.linuxfounda tion.org/ loggerhead/ openprinting/ cups-filters/ annotate/ head:/filter/ foomatic- rip/spooler. c#L135
http://
but somehow nothing gets inserted.
ps_accounting is set to 1 in /etc/foomatic/ filter. conf