[PlanetCCRMA] Ghostcript not working? Messes up lilypond and printing...

Andres Cabrera andres@geminiflux.com
Sat Feb 18 15:57:01 2006


Hi,
This is way off topic, but maybe someone here can help me. I've toiled
with a strange problem with ghostscript which I can't resolve. The
symptoms are that printing doesn't work, even though there is no
reported error, except on /var/log/cups/error_log,
which reports:

D [18/Feb/2006:17:57:44 -0500] [Job 27] foomatic-gswrapper: gs
'-dPARANOIDSAFER' '-dNOPAUSE' '-dBATCH' '-sDEVICE=ijs'
'-sIjsServer=ijsgimpprint' '-dIjsUseOutputFD'
'-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=pcl-540'
'-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-r300x300'
'-sProcessColorModel=DeviceRGB'
'-sIjsParams=Quality=300dpi,MediaType=Plain,MediaSource=Standard,Dither=Adaptive,ImageType=2,Density=1.000000,Brightness=1.000000,Gamma=1.000000,Contrast=1.000000,Saturation=1.000000,Cyan=1.000000,Magenta=1.000000,Yellow=1.000000' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2
D [18/Feb/2006:17:57:44 -0500] [Job 27] GNU Ghostscript 7.07
(2003-05-17)
D [18/Feb/2006:17:57:44 -0500] [Job 27] Copyright (C) 2003 artofcode
LLC, Benicia, CA.  All rights reserved.
D [18/Feb/2006:17:57:44 -0500] [Job 27] This software comes with NO
WARRANTY: see the file PUBLIC for details.
D [18/Feb/2006:17:57:45 -0500] [Job 27] Unrecoverable error: undefined
in token
D [18/Feb/2006:17:57:45 -0500] [Job 27] Operand stack:
D [18/Feb/2006:17:57:45 -0500] [Job 27] --nostringval--  --nostringval--
--nostringval--  --nostringval--  http:  --nostringval--
D [18/Feb/2006:17:57:45 -0500] [Job 27] renderer return value: 255
D [18/Feb/2006:17:57:45 -0500] [Job 27] renderer received signal: 255
D [18/Feb/2006:17:57:45 -0500] [Job 27] tail process done writing data
to STDOUT
D [18/Feb/2006:17:57:45 -0500] [Job 27] KID4 finished
D [18/Feb/2006:17:57:45 -0500] [Job 27] KID4 exited with status 0
D [18/Feb/2006:17:57:45 -0500] [Job 27] KID3 exited with status 1
D [18/Feb/2006:17:57:45 -0500] [Job 27] Renderer exit stat: 1
D [18/Feb/2006:17:57:45 -0500] [Job 27] Process dying with "The renderer
command line returned an unrecognized error code 255.", exit stat: 1
D [18/Feb/2006:17:57:45 -0500] [Job 27] error: Illegal seek (29)
D [18/Feb/2006:17:57:45 -0500] [Job 27] The renderer command line
returned an unrecognized error code 255.
D [18/Feb/2006:17:57:45 -0500] [Job 27] Renderer process finished
D [18/Feb/2006:17:57:45 -0500] [Job 27] Killing process 13754 (KID3)
D [18/Feb/2006:17:57:45 -0500] [Job 27] Process dying with "Error
closing renderer", exit stat: 1
D [18/Feb/2006:17:57:45 -0500] [Job 27] error: Bad file descriptor (9)
D [18/Feb/2006:17:57:45 -0500] [Job 27] Error closing renderer
E [18/Feb/2006:17:57:45 -0500] PID 13751 stopped with status 1!

If I try lilypond on a file that used to work:

# lilypond robot.ly
GNU LilyPond 2.6.3
Processing `robot.ly'
Parsing...
Interpreting music... [8][9]
Preprocessing graphical objects...
Calculating line breaks... [3][6][9][10]
Calculating page breaks...[3]
Layout output to `robot.ps'...
Converting to `robot.pdf'...
`gs -q  -dSAFER  -dCompatibilityLevel=1.4  -sPAPERSIZE="a4" -dNOPAUSE
-dBATCH -r1200  -sDEVICE=pdfwrite -sOutputFile="robot.pdf"
-c .setpdfwrite -f "robot.ps"' failed (65280)
error: failed files: "robot.ly"

And finally, if I try just gs on the command line, I get:

# gs
GNU Ghostscript 7.07 (2003-05-17)
Copyright (C) 2003 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Unrecoverable error: undefined in token
Operand stack:
    --nostringval--  --nostringval--  --nostringval--  --nostringval--
http:  --nostringval--

When according to what I've investigated, I should get a prompt.

I've tried --force reinstalling a freshly downloaded package, but I
can't think of anything else.

Thanks for any ideas.

Andrés