[PlanetCCRMA] Ghostcript not working? Messes up lilypond and
printing...
kelly
khirai@ongaku.isa-geek.net
Mon Feb 20 18:10:02 2006
here's a session for me below. what happens when you evoke gs with the
flag -sDEVICE=x11 on a .ps file?
it looks like to me your lilypond is trying to use the pdfwrite driver
to make pdfs and failing there, whereas lilypond here seems to run ps2pdf.
back to studying....
good luck!
k.
khirai@kgh:~/lily>lilypond o3-67.ly
lilypond (GNU LilyPond) 2.2.6
Running lilypond-bin...
Now processing `o3-67.ly'
Parsing...
Interpreting music...
[8][16][24][32][40][48][56][64][72][80][88][96][104][112][120][123]
Preprocessing graphical objects...
Calculating line breaks...
[3][6][9][12][15][18][21][24][27][30][33][36][39][42][45][48][51][54][57][60][63][66][69][72][75][78][81][84][87][90][93][96][99][102][105][108][111][114][117][120][123][124]
paper output to `o3-67.tex'...
Interpreting music...
MIDI output to `o3-67.midi'...
Track ...
Analyzing o3-67.tex...
Running ...
Running dvips...
Running ps2pdf...
DVI output to `o3-67.dvi'...
MIDI output to `o3-67.midi'...
PDF output to `o3-67.pdf'...
PS output to `o3-67.ps'...
khirai@kgh:~/lily>gs -sDEVICE=x11 o3-67.ps
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... 2818116 1424524 1642520
351150 0 done.
Loading NimbusSanL-Regu font from
/usr/share/fonts/default/Type1/n019003l.pfb... 3172980 1737716 1682712
365686 0 done.
>>showpage, press <return> to continue<<
>>showpage, press <return> to continue<<
>>showpage, press <return> to continue<<
GS>
Andres Cabrera wrote:
> Hi,
> Thanks Kelly,
> gs -h produces:
> GNU Ghostscript 7.07 (2003-05-17)
> Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved.
> Usage: gs [switches] [file1.ps file2.ps ...]
> Most frequently used switches: (you can use # in place of =)
> -dNOPAUSE no pause after page | -q `quiet', fewer
> messages
> -g<width>x<height> page size in pixels | -r<res> pixels/inch
> resolution
> -sDEVICE=<devname> select device | -dBATCH exit after last
> file
> -sOutputFile=<file> select output file: - for stdout, |command for pipe,
> embed %d or %ld for page #
> Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PDF
> Default output device: display
> Available devices:
> AP21xx DJ630 DJ6xx DJ6xxP DJ8xx DJ9xx DJ9xxVIP alc1900 alc2000
> alc4000
> alc4100 alc8500 alc8600 ap3250 appledmp atx23 atx24 atx38 bbox bit
> bitcmyk bitrgb bj10e bj10v bj10vh bj200 bjc600 bjc800 bjc880j bjccmyk
> bjccolor bjcgray bjcmono bmp16 bmp16m bmp256 bmp32b bmpa16 bmpa16m
> bmpa256 bmpa32b bmpamono bmpasep1 bmpasep8 bmpgray bmpmono bmpsep1
> bmpsep8 ccr cdeskjet cdj1600 cdj500 cdj550 cdj670 cdj850 cdj880
> cdj890
> cdjcolor cdjmono cfax cgm24 cgm8 cgmmono cljet5 cljet5c cljet5pr
> coslw2p
> coslwxl cp50 cups declj250 deskjet dfaxhigh dfaxlow display dj505j
> djet500 djet500c dl2100 dmprt dnj650c epl2050 epl2050p epl5800
> eps9high
> eps9mid epson epsonc epswrite escp escpage faxg3 faxg32d faxg4 fmlbp
> fmpr
> fs600 gdi hl1250 hl7x0 ibmpro ijs imagen inferno iwhi iwlo iwlq
> jetp3852
> jj100 jpeg jpeggray la50 la70 la75 la75plus laserjet lbp310 lbp320
> lbp8
> lex2050 lex3200 lex5700 lex7000 lips2p lips4 lips4v lj250 lj3100sw
> lj4dith lj4dithp lj5gray lj5mono ljet2p ljet3 ljet3d ljet4 ljet4d
> ljet4pjl ljetplus ln03 lp2000 lp2563 lp8000 lq850 lx5000 lxm3200
> lxm5700m
> m8510 mag16 mag256 md1xMono md2k md50Eco md50Mono md5k mgr4 mgr8
> mgrgray2
> mgrgray4 mgrgray8 mgrmono miff24 mj500c mj6000c mj700v2c mj8000c
> ml600
> necp6 npdl nullpage oce9050 oki182 okiibm omni paintjet pbm pbmraw
> pcl3
> pcx16 pcx24b pcx256 pcxcmyk pcxgray pcxmono pdfwrite pgm pgmraw pgnm
> pgnmraw photoex picty180 pj pjetxl pjxl pjxl300 pkm pkmraw pksm
> pksmraw
> plan9bm png16 png16m png256 pngalpha pnggray pngmono pnm pnmraw ppm
> ppmraw pr1000 pr1000_4 pr150 pr201 psgray psmono psrgb pswrite
> pxlcolor
> pxlmono r4081 sgirgb sj48 st800 stcolor sunhmono t4693d2 t4693d4
> t4693d8
> tek4696 tiff12nc tiff24nc tiffcrle tiffg3 tiffg32d tiffg4 tifflzw
> tiffpack uniprint x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8
> x11gray2 x11gray4 x11mono x11rg16x x11rg32x xes
> Search path:
> . : /home/andres/.fonts : /usr/share/ghostscript/7.07/lib :
> /usr/share/ghostscript/fonts : /usr/share/fonts/default/ghostscript :
> /usr/share/fonts/default/Type1 : /usr/share/fonts/default/amspsfnt/pfb :
> /usr/share/fonts/default/cmpsfont/pfb : /etc/ghostscript
> For more information, see /usr/share/doc/ghostscript-7.07/Use.htm.
> Report bugs to bug-gs@ghostscript.com, using the form in Bug-form.htm.
>
> So I guess it's a problem with a missing or corrupted config file...
>
> Anyway, I think I'll just reinstall everything from scratch since it
> used to work...
>
> Cheers,
> Andres
>
>
>>--__--__--
>>
>>Message: 8
>>Date: Sat, 18 Feb 2006 20:49:04 -0500
>>From: kelly <khirai@ongaku.isa-geek.net>
>>Reply-To: khirai@ongaku.isa-geek.net
>>To: planetccrma@ccrma.Stanford.EDU
>>Subject: Re: [PlanetCCRMA] Ghostcript not working? Messes up lilypond and
>> printing...
>>
>>
>>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.
>
>
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma