Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129321 - ghostscript-gnu no print with Samsung ML1510/ML1210
Summary: ghostscript-gnu no print with Samsung ML1510/ML1210
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
: 141829 161418 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-09 02:05 UTC by Paul Robson
Modified: 2007-01-10 22:05 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Robson 2006-04-09 02:05:08 UTC
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").
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-26 17:22:45 UTC
*** Bug 141829 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-18 18:09:51 UTC
Please use ghostscript-gpl or gs-esp. gs-gnu is lacking behind a lot.
Comment 3 Ian Kumlien 2006-08-20 04:26:27 UTC
ghostscript-gpl doesn't work with foomatic drivers, i still say that cups should require ghostscript-esp...

AFAIR, most drivers are GDI based.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-01-10 22:05:49 UTC
*** Bug 161418 has been marked as a duplicate of this bug. ***