Edit pdf page margin offsets of specified pages using command line

It is easy to edit a single page margin offset, you go for the page and edit it directly. So what will you do when you get plenty of pages, especially some of them are discontinuous, it must be boring to search them to edit. Based on this you would be happy if you had a useful tool to assist you, Advanced PDF Tools Command Line not only helps you edit margin offsets of specified pdf pages only in one time but can be operated conveniently and fast.

First, follow this link you will obtain Advanced PDF Tools


do remember to extract it, for it is a zipped package.

Second, launch the MS-DOS command prompt window

steps are as follows:

start the dialog box of “cmd.exe”: press  “start”>choose “Run”>input “cmd”>press “ok”

the following serial pictures will guide you



when the following appearing, you will have the MS-DOS command prompt window


Third, input the command to edit margin offsets of specified pdf pages , it goes below

pdftools -i “C:\input.pdf” -o “C:\output.pdf” -~ “25,65” -u “1,3-7,10,15”

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 and “-~” is to specify change margin offset,here “25,65” the first parameter is x-offset and the next y-offset and “-u” to specify pages

This article uses “test.pdf”, “test2565.pdf” as example to show the effect

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


Fourth, open the file to check, screenshot again


you are allowed to see the margin offset of the specified page 1 changed, while the unspecified page 2 din not, the same goes to pages 3-7,10,15.

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!