[cups.general] page_log

Helge Blischke h.blischke at srz.de
Mon May 9 07:08:24 PDT 2005


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(first starting cups, then printing my job):
> 
> I [09/May/2005:11:32:44 +0200] Listening to 0:631
> D [09/May/2005:11:32:44 +0200] AddLocation: added location '/'
> D [09/May/2005:11:32:44 +0200] DenyIP: / deny 00000000/00000000
> D [09/May/2005:11:32:44 +0200] AllowIP: / allow 7f000001/ffffffff
> D [09/May/2005:11:32:44 +0200] AddLocation: added location '/admin'
> D [09/May/2005:11:32:44 +0200] DenyIP: /admin deny 00000000/00000000
> D [09/May/2005:11:32:44 +0200] AllowIP: /admin allow 7f000001/ffffffff
> I [09/May/2005:11:32:44 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
> I [09/May/2005:11:32:44 +0200] Configured for up to 100 clients.
> I [09/May/2005:11:32:44 +0200] Allowing up to 100 client connections per host.
> I [09/May/2005:11:32:44 +0200] Full reload is required.
> D [09/May/2005:11:32:44 +0200] LoadAllPrinters: Loading printer lp...
> D [09/May/2005:11:32:44 +0200] LoadAllPrinters: Loading printer lp1...
> D [09/May/2005:11:32:44 +0200] LoadDevices: Added device "ipp"...
> D [09/May/2005:11:32:45 +0200] LoadDevices: Added device "lpd"...
> D [09/May/2005:11:32:45 +0200] LoadDevices: Added device "parallel:/dev/lp0"...
> D [09/May/2005:11:32:45 +0200] LoadDevices: Added device "scsi"...
> D [09/May/2005:11:32:45 +0200] LoadDevices: Added device "serial:/dev/ttyS0?baud=115200"...
> D [09/May/2005:11:32:45 +0200] LoadDevices: Added device "serial:/dev/ttyS1?baud=115200"...
> D [09/May/2005:11:32:45 +0200] LoadDevices: Added device "serial:/dev/ttyS2?baud=115200"...
> ...
> ...
> D [09/May/2005:11:32:45 +0200] LoadDevices: Added device "socket"...
> D [09/May/2005:11:32:45 +0200] LoadDevices: Added device "usb://Xerox/Phaser%206100"...
> D [09/May/2005:11:32:45 +0200] LoadDevices: Added device "usb:/dev/usb/lp1"...
> D [09/May/2005:11:32:45 +0200] LoadDevices: Added device "usb:/dev/usb/lp2"...
> ....
> .....
[...]
> 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



-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list