Samsung's cheap ML-1510 USB Laser Printer cannot print with the default ghostscript installation (ghostscript-gnu) but can with the ghostscript-esp implementation. The printing using the gnu implementation appears to work but the output does not appear on the printer ; no errors are reported ; the printer does not wake up if it is in sleep mode. Reproducible : 100% (also reported with ML-1210) Fix : emerge -C ghostscript-gnu ; emerge ghostscript-esp Information: This is from the CUPS error log with debugging set to info. I *suspect* the cause of the problem is the -sDevice=gdi line, though this is not reported as an error. gdi is not listed as a possible device on the help information for foomatic-gswrapper for ghostscript-gnu, but is for ghostscript-esp. I presume this failure is sending the rendered output into a data black hole. D [09/Apr/2006:09:55:42 +0100] [Job 35] renderer PID kid4=29241 D [09/Apr/2006:09:55:42 +0100] [Job 35] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=gdi -sOutputFile=- - | perl -p -e 's/PJL PAGE LETTER/PJL PAGE LETTER/; s/PJL PAGE (\S*) AUTO/PJL PAGE $1 AUTO/; s/PJL SET TONERSAVE = OFF/PJL SET TONERSAVE = OFF\r\n\@PJL SET ECONOMODE = OFF/; s/PJL SET PAPERTYPE = NORMAL/PJL SET PAPERTYPE = NORMAL/; s/PJL SET DENSITY = 1/PJL SET DENSITY = 3/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET RET = OFF\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET JAMRECOVERY = ON\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET REPRINT = ON\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET ALTITUDE = OFF\r\n$1/; s/PJL COPIES = 1/PJL COPIES = 1/; s/(\@PJL ENTER LANGUAGE)/\@PJL DEFAULT TIMEOUT = 15\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL DEFAULT POWERSAVE = ON\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL DEFAULT POWERSAVETIME = 5\r\n$1/; ' D [09/Apr/2006:09:55:42 +0100] [Job 35] perl: warning: Setting locale failed. D [09/Apr/2006:09:55:42 +0100] [Job 35] perl: warning: Please check that your locale settings: D [09/Apr/2006:09:55:42 +0100] [Job 35] LANGUAGE = (unset), D [09/Apr/2006:09:55:42 +0100] [Job 35] LC_ALL = (unset), D [09/Apr/2006:09:55:42 +0100] [Job 35] LANG = "en" D [09/Apr/2006:09:55:42 +0100] [Job 35] are supported and installed on your system. D [09/Apr/2006:09:55:42 +0100] [Job 35] perl: warning: Falling back to the standard locale ("C"). D [09/Apr/2006:09:55:42 +0100] [Job 35] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=gdi' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2 D [09/Apr/2006:09:55:42 +0100] [Job 35] perl: warning: Setting locale failed. D [09/Apr/2006:09:55:42 +0100] [Job 35] perl: warning: Please check that your locale settings: D [09/Apr/2006:09:55:42 +0100] [Job 35] LANGUAGE = (unset), D [09/Apr/2006:09:55:42 +0100] [Job 35] LC_ALL = (unset), D [09/Apr/2006:09:55:42 +0100] [Job 35] LANG = "en" D [09/Apr/2006:09:55:42 +0100] [Job 35] are supported and installed on your system. D [09/Apr/2006:09:55:42 +0100] [Job 35] perl: warning: Falling back to the standard locale ("C").
*** Bug 141829 has been marked as a duplicate of this bug. ***
Please use ghostscript-gpl or gs-esp. gs-gnu is lacking behind a lot.
ghostscript-gpl doesn't work with foomatic drivers, i still say that cups should require ghostscript-esp... AFAIR, most drivers are GDI based.
*** Bug 161418 has been marked as a duplicate of this bug. ***