>
Firstly you need to add a the command
90 rotateto the PS file. Or whatever angle you require.
Next, you need to adjust the bounding box. If the bounding box is
%%BoundingBox: Lx Ly Ux UyThen for a 90 degree (anti-clockwise) rotation:
(Lx,Ly) -> (-Uy,Lx) (Ux,Uy) -> (-Ly,Ux)Eg for
%%BoundingBox: 62 18 729 593the bounding box becomes
%%BoundingBox: -593 62 -18 729
Finally, ensure that the first line has an EPSF comment. eg looks like:
%!PS-Adobe-1.0 EPSF-1.2
/home/dan/bin/epsrotate Usage: epsrotate infile.eps > outfile.epsif you have a ps file, convert it to eps first, by using /opt/local/bin/ps2epsi