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

kelly khirai@ongaku.isa-geek.net
Sat Feb 18 17:45:02 2006


here is a healthy gs prompt:

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.
Loading NimbusRomNo9L-Regu font from 
/usr/share/fonts/default/Type1/n021003l.pfb... 2796884 1415530 1642520 
351150 0 done.
Loading NimbusSanL-Regu font from 
/usr/share/fonts/default/Type1/n019003l.pfb... 3151748 1728722 1682712 
365686 0 done.

are your fonts in the right path? i don't have any of the environmental 
vars mentioned in the man set but its working fine anyway.

good luck.

k.


Andres Cabrera wrote:
> 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
> 
> 
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma