Learn about Linux
Download Linux
Get Linux help
Get special offers on:
Linux Application Dev Programming Software
Email:
<tt>pdftk input.pdf output output.pdf uncompress</tt>
<tt>sed -i "s/Rotate 0/Rotate 90/g" output.pdf</tt>
<tt>pdftk output.pdf output final.pdf compress</tt>
I feel really clever right now, hope this helps someone.
#
Return to Manipulating PDFs with the PDF Toolkit
© Copyright 1999-2008 - SourceForge, Inc., All Rights Reserved About Linux.com - Privacy Statement - Terms of Use - Advertise - Trademark - Ask Linux Questions - Write for Us - RSS Feed ThinkGeek - Slashdot - SourceForge.net - freshmeat - Surveys - Jobs
Re:Missing page rotations
Posted by: Anonymous Coward on May 11, 2006 12:42 AMUncompress the document:Replace all Rotate 0 entries with Rotate 90, 180, or whatever:Recompress the document if desired:All done. If you want to only rotate a certain page or pages, you'll need to extract those pages to a seperate pdf first, rotate those, then recombine.
I feel really clever right now, hope this helps someone.
Niosop
#