[ale] Rotate PS/PDF doc?

Joe Steele joe at madewell.com
Thu May 31 11:13:01 EDT 2001


One way you could rotate it is with pstops (which is part of 
psutils, from ftp://ftp.dcs.ed.ac.uk/pub/ajcd/psutils.tar.gz 
or via freshmeat.net).

The following would rotate the ps file (assuming it started 
out being 8.5" wide):

pstops -w0 -h0 1:0R\(0in,8.5in\) input.ps > rotated.ps

Next, you would need to output the rotated file on a landscape 
page while converting it to pdf.  For a 11" W x 8.5" H page:

ps2pdf13 -g7920x6120 rotated.ps

(The units of measure are decipoints, where 720 decipoints = 1 inch)

--Joe

-----Original Message-----
From:	Jeff Hubbs [SMTP:Jhubbs at niit.com]
Sent:	Wednesday, May 30, 2001 5:26 PM
To:	ale at ale.org
Subject:	[ale] Rotate PS/PDF doc?

I have a Postscript output from a Staroffice presentation that I wish to
convert to PDF.  No problem, ps2pdf works wonders - except the output is
sideways (views in portrait, not landscape).

I have tried changing StarOffice's print setup from landscape to portrait
when I print to a file, but it doesn't seem to make any difference.

Does anyone know if there is a way to do a 90-degree clockwise rotation in
the Ghostscipt utilities?

- Jeff
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list