[pstricks] Rotating a graph drawn in PSTricks

Herbert Voss Herbert.Voss at fu-berlin.de
Fri Oct 26 19:57:54 CEST 2007


Swami Pallasena schrieb:
> The command ps2pdf -dAutoRotatepages=/None <file>.ps
> does not work.  However, the .ps file produced by
> latex -> dvips  is correctly rotated.  But I cannot
> produce a pdf file out of it.

how do you create your pdf, when you do not have the ps2pdf
script installed?

then try ghostscript directly:

gs -dAutoRotatePages=/None -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
-sOutputFile=<file>.pdf -c .setpdfwrite -f <file>.ps

replace <file> with your file name.

The problem is that ghostscript rotates your file doubled,
the reason why you get the same orientation. The important
optional argument is -dAutoRotatePages=/None

Herbert



More information about the PSTricks mailing list