[cups.general] page_log
Ladinig Rudolf
r.ladinig at aon.at
Tue May 10 06:42:58 PDT 2005
Helge Blischke wrote:
> Rudolf Ladinig wrote:
>
>>Hello,
>>
>>I installed cups-1.1.23 from source on RHEL 3.1 and the printing tools provided by XEROX for a XEROX Phaser 6100DN.
>>Printing a testpage works, but I find no entry in page_log.
>>As I learned from the documentation, the pstops -filter is responsible for logging pages. So I checked if pstops is called by the printing process (LogLevel debug) . Obviosly pstops is called.
>>Can somebody help me??
>>
>>Rudolf Ladinig
>>Innsbruck, Austria
>>
>>Here is the logfile:
>>
>>I [09/May/2005:11:39:02 +0200] Started filter /usr/lib/cups/filter/pstops (PID 1748) for job 11.
>>D [09/May/2005:11:39:02 +0200] StartJob: filter = "/usr/lib/cups/filter/ppmtosplc"
>>D [09/May/2005:11:39:02 +0200] StartJob: filterfds[1] = [ 10 13 ]
>>D [09/May/2005:11:39:02 +0200] start_process("/usr/lib/cups/filter/ppmtosplc", 0xbffeca50, 0xbffebdc0, 11, 13, 9)
>>I [09/May/2005:11:39:02 +0200] Started filter /usr/lib/cups/filter/ppmtosplc (PID 1750) for job 11.
> [...]
>
> The filter ppmtosplc is probably forced by a PPD statement like
> *cupsFilter: "application/vnd.cups-postscript 0 ppmtosplc"
> or similar.
> The pstops filter looks for a `*cupsFilter: "..."' statement in the
> printer's PPD
> and, if found, supresses the PAGE: comments. It is then up to the
> filter defined
> in the PPD to emit these messages.
>
> Helge
>
>
>
You are right: the PPD-file contains
"*cupsFilter: "application/vnd.cups-postscript 0 ppmtosplc"
As far as I understand, this bypasses the cups printing filters and
sends the job to filter ppmtosplc provided by XEROX.
As I need some sort of page-counting, I have two questions:
- Is it possible to send the job to the pstops filter and after that
send him to ppmtosplc?
- Do you know another way to get a page_log or something similar (Could
a shell script do this before sending the job to ppmtosplc?
Thanks
Rudi
More information about the cups
mailing list