[cups.general] Jobs fail with new printer
Helge Blischke
h.blischke at srz.de
Thu Jun 21 10:36:04 PDT 2007
{cups}@nospam.pz.podzone.net wrote:
> Hi,
>
> I've swapped my HP640C deskjet for a HP710C deskjet.
>
> The HP640C worked fine under Cups.
>
> I added the HP710C under Cups, and deleted the HP640C.
>
> Now if i try to print a test page to the new printer from Cups, the
> job gets stopped. I enabled logging and pasted an excerpt below.
>
> Can anyone tell me what's wrong and how it should be fixed please?
>
> Cheers,
> -bernie.
>
>
> (full log at http://pastebin.ca/581632 )
>
> D [21/Jun/2007:17:33:17 +0100] [Job 230] Execution stack:
> D [21/Jun/2007:17:33:17 +0100] Discarding unused printer-state-changed event...
> D [21/Jun/2007:17:33:17 +0100] [Job 230] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 0 3 %oparray_pop --nostringval-- --nostringval--
> D [21/Jun/2007:17:33:17 +0100] [Job 230] Dictionary stack:
> D [21/Jun/2007:17:33:17 +0100] [Job 230] --dict:1127/1686(ro)(G)-- --dict:0/20(G)-- --dict:128/200(L)--
> D [21/Jun/2007:17:33:17 +0100] [Job 230] Current allocation mode is local
> D [21/Jun/2007:17:33:17 +0100] [Job 230] Last OS error: 32
> D [21/Jun/2007:17:33:17 +0100] [Job 230] ESP Ghostscript 815.03: Unrecoverable error, exit code 1
> D [21/Jun/2007:17:33:17 +0100] [Job 230] renderer return value: 127
> D [21/Jun/2007:17:33:17 +0100] [Job 230] renderer received signal: 127
> D [21/Jun/2007:17:33:17 +0100] [Job 230] Process dying with "The renderer command line returned an unrecognized error code 127.", exit stat: 1
> D [21/Jun/2007:17:33:17 +0100] [Job 230] error: Illegal seek (29)
> D [21/Jun/2007:17:33:17 +0100] [Job 230] The renderer command line returned an unrecognized error code 127.
>
Well, the printer is driven by foomatic-rip, and the printer's PPD specifies the following
command to be executed:
D [21/Jun/2007:17:33:14 +0100] [Job 230] renderer command: gs -q -dNOPAUSE -dPARANOIDSAFER \
-dBATCH -r600 -sDEVICE=ppmraw -sOutputFile=- - | pnm2ppa -v 710 -B 2 -t 10 -b 150 -l 10 \
-r10 -x 160 -y 50 -i - -o -
But the command requested in that shell sequence, ppm2ppa, is not found,
at least not using the search path values defined in the PATH variable:
D [21/Jun/2007:17:33:14 +0100] [Job 230] sh: pnm2ppa: command not found
Thus, Ghostscript comlains about not being able to write data to STDOUT:
E [21/Jun/2007:17:33:17 +0100] [Job 230] /ioerror in --.outputpage--
It seems that you should use (the more recent ?) pnm2ppa which should
be installed and properly (?) configured on your system. Modiry the
PPD accordingly.
Helge
--
Helge Blischke
Softwareentwicklung
H.Blischke at acm.org
More information about the cups
mailing list