Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

How to Permanently Rotate a PDF file

0.00/5 (No votes)
9 Jul 2011 1  
I get a lot of PDF files that are sideways or upside down and need to rotate them
I get a lot of PDF files sent to me as faxes or scanned and many times they come upside down or rotated. If it happens once, you can rotate the PDF from the View menu in the free PDF reader, but to permanently rotate it, you need the full Acrobat software. Since it's a PITA to have to rotate the documents every time I open them, I finally found a way to rotate them permanently.

First, I use a PDF printer driver to install a virtual PDF printer. There are several available, but I use doPDF[^], which can be downloaded for free. It's nice to have around when checking printing from programs and creating PDF documents from any software that can print to a Windows printer.

Next, open the document you want to rotate in your PDF reader - I use the free one. Use the View menu to rotate the page as needed so that it shows correctly. Then Print the document, but select your PDF printer, such as doPDF. You'll need to select a new filename, since the current document is still open in the PDF reader.

Note that the file is saved as an image, so you can't select text, etc., but most of the rotated PDF's I get are faxed or scanned images already, so it's no problem.

That's it. Nice and simple, but it took me a while to figure out how to do it without having to rotate the documents every time I open them.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here