apple / cups

Apple CUPS Sources
https://www.cups.org
Apache License 2.0
1.92k stars 464 forks source link

Debian GS returns errcode 3 with cups & stp and Epson Stylus Color 440 #501

Closed michaelrsweet closed 20 years ago

michaelrsweet commented 20 years ago

Version: 1.1.14 CUPS.org User: public2004.fred-sienkiewicz

Hello, I was getting my Epson Stylus 440 to work using the reccomended cups + gs stp driver, but couldn't print anything. Changing to the Gimp-Print driver solved the problem. I hope this is the right place to post this bug report (if not, please advise by email). Report follows below. Hope this helps!

Peace,

Fred

System: Debian Unstable -- GS 6.53-3; CUPS 1.1.14-5 Epson Stylus Color 440 Printer (lp0)

I installed GS & CUPS from the debian packages in the archive listed above. I downloaded the STP ppd "Epson-Stylus_Color_440-stp.ppd" from www.linuxprinting.org (they say "Ed: This printer works best with the new Ghostscript driver stp." on page http://www.linuxprinting.org/show_printer.cgi?recnum=Epson-Stylus_Color_440)

Using that driver caused ghostscript to recieve invalid parameters. With "LogLevel" set to "debug" here's the relevant output from my /var/log/cups/error_log:

D [03/Jan/2004:11:03:10 -0500] D [03/Jan/2004:11:03:10 -0500] Starting renderer D [03/Jan/2004:11:03:10 -0500] JCL: D [03/Jan/2004:11:03:10 -0500] D [03/Jan/2004:11:03:10 -0500] renderer PID kid4=1363 D [03/Jan/2004:11:03:10 -0500] renderer command: gs -q -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=stp -sModel=escp2-440 -sOutputFile=- - D [03/Jan/2004:11:03:10 -0500] perl: warning: Setting locale failed. D [03/Jan/2004:11:03:10 -0500] perl: warning: Please check that your locale settings: D [03/Jan/2004:11:03:10 -0500] LANGUAGE = (unset), D [03/Jan/2004:11:03:10 -0500] LC_ALL = (unset), D [03/Jan/2004:11:03:10 -0500] LANG = "c" D [03/Jan/2004:11:03:10 -0500] are supported and installed on your system. D [03/Jan/2004:11:03:10 -0500] perl: warning: Falling back to the standard locale ("C"). D [03/Jan/2004:11:03:10 -0500] foomatic-gswrapper: gs '-dPARANOIDSAFER' '-dNOPAUSE' '-dBATCH' '-sDEVIC E=stp' '-sModel=escp2-440' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2 D [03/Jan/2004:11:03:11 -0500] GNU Ghostscript 6.53 (2002-02-13) D [03/Jan/2004:11:03:11 -0500] Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. D [03/Jan/2004:11:03:11 -0500] This software comes with NO WARRANTY: see the file COPYING for details. D [03/Jan/2004:11:03:11 -0500] D [03/Jan/2004:11:03:11 -0500] Closing renderer D [03/Jan/2004:11:03:11 -0500] Loading NimbusMonL-Bold font from /var/lib/defoma/gs.d/dirs/fonts/n0220 04l.pfb... 2032960 643281 1743000 443937 0 done. D [03/Jan/2004:11:03:11 -0500] Loading NimbusMonL-Regu font from /var/lib/defoma/gs.d/dirs/fonts/n0220 03l.pfb... 2093248 699691 1743000 445818 0 done. D [03/Jan/2004:11:03:12 -0500] Plain Paper is not a valid media type D [03/Jan/2004:11:03:12 -0500] 360 DPI is not a valid resolution D [03/Jan/2004:11:03:12 -0500] Hybrid Floyd-Steinberg is not a valid dither algorithm D [03/Jan/2004:11:03:12 -0500] Error: /rangecheck in --.outputpage-- D [03/Jan/2004:11:03:12 -0500] Operand stack: D [03/Jan/2004:11:03:12 -0500] 1 true D [03/Jan/2004:11:03:12 -0500] Execution stack: D [03/Jan/2004:11:03:12 -0500] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostri ngval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopp ed_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringv al-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 0 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- D [03/Jan/2004:11:03:12 -0500] Dictionary stack: D [03/Jan/2004:11:03:12 -0500] --dict:1037/1476(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)-- D [03/Jan/2004:11:03:12 -0500] Current allocation mode is local D [03/Jan/2004:11:03:12 -0500] GNU Ghostscript 6.53: Unrecoverable error, exit code 1 D [03/Jan/2004:11:03:12 -0500] renderer return value: 1 D [03/Jan/2004:11:03:12 -0500] renderer received signal: 1 D [03/Jan/2004:11:03:12 -0500] KID3 exited with status 3 D [03/Jan/2004:11:03:12 -0500] Renderer exit stat: 3

michaelrsweet commented 20 years ago

CUPS.org User: kmuto.debian

This is simply fix using gs-esp instead of GNU gs and Debian specific. Do apt-get install gs-esp, update-alternatives --config gs, and set gs-esp as 'gs'.

This bug should be closed.

michaelrsweet commented 20 years ago

CUPS.org User: public2004.fred-sienkiewicz

For what it's worth, 1) I mistyped in my bug report; the machine on which I was working is Debian stable[woody](sorry for the confusion!) 2) I did try to install the ESP ghostscript packages. There are not, however, gs-esp packages available for stable, so I got the rpm for 7.07.1 and used alien to convert it into a deb. I then forced it to install over gs (--force-overwrite) and it caused different, seemingly worse errors (the log has since been flushed). This could be a problem with the alien conversion/etc, however.

michaelrsweet commented 20 years ago

CUPS.org User: mike

Please contact your Linux distributor for this issue.