How to debug pstoraster-Problem?
Sven Utcke
utcke+cups at informatik.uni-hamburg.de
Mon Oct 16 13:39:24 PDT 2006
Hi,
for pretty much any nontrivial printjob I see something like the following in the error_log:
D [16/Oct/2006:22:32:43 +0200] PID 3746 (/software/cups-1.3svn-r6014/SuSE-7.3/lib/cups/filter/pstops) exited with no errors.
D [16/Oct/2006:22:32:43 +0200] [Job 35] Putting.
D [16/Oct/2006:22:32:43 +0200] [612.0 792.0]
D [16/Oct/2006:22:32:43 +0200] [Job 35] /.MediaSize
D [16/Oct/2006:22:32:43 +0200] [Job 35] 0.0
D [16/Oct/2006:22:32:43 +0200] [Job 35] /
D [16/Oct/2006:22:32:43 +0200] [Job 35]
D [16/Oct/2006:22:32:43 +0200] [Job 35] 0...
D [16/Oct/2006:22:32:43 +0200] [Job 35] Setting cupsRowCount to 0...
D [16/Oct/2006:22:32:43 +0200] [Job 35] Setting cupsRowFeed to 0...
D [16/Oct/2006:22:32:43 +0200] [Job 35] Setting cupsRowStep to 0...
D [16/Oct/2006:22:32:43 +0200] [Job 35] cupsEncodeLUT[0] = 0
D [16/Oct/2006:22:32:43 +0200] [Job 35] cupsEncodeLUT[65535] = 1
D [16/Oct/2006:22:32:43 +0200] [Job 35] num_components = 1, depth = 1
D [16/Oct/2006:22:32:43 +0200] [Job 35] cupsColorSpace = 3, cupsColorOrder = 0
D [16/Oct/2006:22:32:43 +0200] [Job 35] cupsBitsPerPixel = 1, cupsBitsPerColor = 1
D [16/Oct/2006:22:32:43 +0200] [Job 35] max_gray = 1, dither_grays = 2
D [16/Oct/2006:22:32:43 +0200] [Job 35] max_color = 0, dither_colors = 0
D [16/Oct/2006:22:32:43 +0200] [Job 35] Result of putting.
D [16/Oct/2006:22:32:43 +0200] [Job 35] /undefined
D [16/Oct/2006:22:32:43 +0200] [Job 35] /<ãÿ¿
D [16/Oct/2006:22:32:43 +0200] [Job 35] ndefined
D [16/Oct/2006:22:32:43 +0200] [Job 35] /<ãÿ¿
D [16/Oct/2006:22:32:43 +0200] [Job 35] op 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2
D [16/Oct/2006:22:32:43 +0200] [Job 35] Dictionary stack:
D [16/Oct/2006:22:32:43 +0200] [Job 35] --dict:1121/1686(ro)(G)-- --dict:0/20(G)-- --dict:131/200(L)-- --dict:34/200(L)-
D [16/Oct/2006:22:32:43 +0200] [Job 35] Current allocation mode is local
D [16/Oct/2006:22:32:43 +0200] [Job 35] Last OS error: 2
D [16/Oct/2006:22:32:43 +0200] [Job 35] ESP Ghostscript 815.03: Unrecoverable error, exit code 1
i.e. pstoraster fails. This is using cups-1.3svn-r6014, espgs-8.15.3, and gutenprint-5.0.0 (although I get similar results using espgs-7.05.5). Now, the vexing thing is that running pstoraster on the _original_ PS-file does not produce an error. In order to debug this some more I need access to the modified PS which get's passed to pstoraster --- any ideas, anyone?
For the record: this is
trixie>/software% uname -a
Linux trixie 2.4.10-4GB #1 Mon May 12 08:48:01 CEST 2003 i586 unknown
and the printer is an Epson Stylus D88. I compiled all the packages myself.
Any help appreciated!
Sven
More information about the cups
mailing list