lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ps and pdf question


From: Karl Hammar
Subject: Re: ps and pdf question
Date: Sun, 14 Jan 2007 19:11:09 +0100

address@hidden:
> Werner LEMBERG <address@hidden> writes:
> 
> >> So, I too, would rather have lilypond convert automatically to PS
> >> level 2.
> >
> > You can do this manually, saying
> >
> >   gs -sDEVICE=pswrite \
> >      -dLanguageLevel=2 \
> >      -sOutputFile=foo-level2.ps \
> >      foo.ps
> 
> Ghostscript comes with a tool 'ps2ps' that makes this easier:
> 
>   ps2ps  -dLanguageLevel=2  in.ps out.ps

Yes, that could do it, but one have to add the paper size:

$ ps2ps -dLanguageLevel=2 -sPAPERSIZE=a4  in.ps out.ps

 or (which is the same)

$ gs -q -sDEVICE=pswrite -dNOPAUSE -dBATCH -dLanguageLevel=2 -sPAPERSIZE=a4 
-sOutputFile=out.ps  in.ps

Regards
/Karl






reply via email to

[Prev in Thread] Current Thread [Next in Thread]