Set margin offsets of specified pdf pages using command line

Generally speaking, every person dealing with pdf files is dying to possess a tool that could assist him/her to edit pdf file. Advanced PDF Tools Command Line is a competitive one, because with it you input corresponding command line, the MS-DOS will execute the corresponding functions for you, to the effect, you can input following command line to set margin offsets of specified pdf pages using Advanced PDF Tools Command Line.

pdftools -i “C:\input.pdf” -o “C:\output.pdf” “-~” “50,60” “-u” “2,4-8,10,12”

where

  • the option -i is to specify a pdf filename or a directory for input,
  • the option -o to specify the pdf filename for output,
  • “-~” is to specify change margin offset,here “50,60” the first parameter is x-offset and the next y-offset,
  • “-u” to specify pages.

The below is detailed procedure on how to set margin offsets of specified pdf pages using Advanced PDF Tools Command Line.

Step 1 click the following link to download Advanced PDF Tools

https://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”

Snap33

Snap17  

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 set margin offsets of specified pdf pages

pdftools -i “C:\input.pdf” -o “C:\output.pdf” “-~” “50,60” “-u” “2,4-8,10,12”

when the input is done, press “enter” key, you will see the window box propping up

Snap217

Step 4, open the file to check, screenshot again

Snap219

you are allowed to see the margin offset of the specified page 2 changed, while the unspecified page 1 did not, the same goes to page 4-8,10,12.

If you have questions or enquire more information, you can leave comments below or just 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!