Rotate pdf page contents using command line

Sometimes, the page contents of your pdf file do not fit well, to the effect, the angle(s) of one or above one of the pictures as well as texts in your pdf file conflict(s) themselves, you have to rotate it/them so as to achieve ideal view model. How do you feel when you just input a string of letters and numbers into MS-DOS command prompt window instead of clicking constantly, your pdf  page contents will be rotated as you wish? You must feel convenient to use Advanced PDF Tools Command Line to do this !

Follow the below steps, you will not only possess this useful tool but also know how to use it.

Step 1 click the following link to download Advanced PDF Tools

http://www.verypdf.com/pdfinfoeditor/advanced_pdf_tools_cmd.zip

please unpack it when download is finished.

Step 2 launch the MS-DOS command prompt window. Because the command line is bound to be operated under the MS-DOS environment. The procedure is easy, and the following pictures will guide you.

1) click “start” and then go to “Run”

Snap35

2) input cmd into the following

Snap57

3) press “ok”, you will find MS-DOS command prompt window propping up

Snap1

Step 3 input command line to rotate pdf page contents

pdftools -i "C:\input.pdf" -o "C:\output.pdf" -@" "270" -x "0 0 612.0 792.0" -j "612.0 792.0 true"

where the option -i is to specify a pdf file name or a directory for input, the option -o to specify the pdf file name for output, and "-@" to set page rotation, here "270" to rotate page content of document of 270 degree, -x "0 0 612.0 792.0" -j "612.0 792.0 true" to change page size.

Note, the purpoe of posting -x "0 0 612.0 792.0" -j "612.0 792.0 true" is to vividly show the rotate effect. and how to change page size, you can read “Edit pdf page size using command line”
http://www.verypdf.com/wordpress/201111/edit-pdf-page-size-using-command-line-11944.html

when the input is done, press “enter” key, you will see

Snap194

 Step 4 open the file to check the result.

Snap197

Snap195

you will find the pages contends have been rotated and the page size changed.

If you have any questions about pdf files, please visit at www.verypdf.com.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!