65.9K
CodeProject is changing. Read more.
Home

How to Permanently Rotate a PDF file

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.80/5 (4 votes)

Jul 9, 2011

CPOL

1 min read

viewsIcon

106401

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.