Edit pdf margins of specified pages using command line

Editing pdf margins is frequently used by people who deal with pdf files everyday. Editing margins is quite useful, because through which you can achieve sound visual effect and can save paper in terms of environmental protection. However, how could you edit pdf margins of specified pages instead all, Advanced PDF Tools Command Line surely will help you. With its help, editing pdf margins proves to be easy.

First, follow this link you will obtain Advanced PDF Tools

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

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”

when the following appearing, it tells you already have the MS-DOS command prompt window

Snap1

Third, input the command to edit pdf margins of specified pages

it goes below

pdftools -i "C:\input.pdf" -o "C:\output.pdf" -# "30" –u "1,5,7-10,16"

where the option -i is to specify a pdf filename or a directory for input, the option -o to specify the pdf file name for output, –# to edit margin and –u is to specify pages. "30" refers to set the page margin 30 pt while "1,5,7-10,16"  refers to specified pages, surely you can use other numbers to substitute.

Note,

Usually there are three size unit such as point (pt), inch (in), millimeter (mm). Point size can be converted to inch like point/72=inch, and point to millimeter like point/72*25.4=millimeter. For example, the 595.5pt can be 8.27in or 210.06mm by calculating as:

595.5/72=8.27

595.5/72*25.4=210.06

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

Snap238

Fourth, open the files to check

 screenshots again

Snap240                                                          

                                                     Picture 1

Snap239

                                                     Picture 2

Picture 1 and Picture 2 are contrast, the pic 1 is the screenshot of input.pdf while the pic 2 the output.pdf, in which you can clearly see the specified pages’ margins have been changed, for instance, page 1 and page 2 are different in margin size.

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

This entry was posted in Advanced PDF Tools and tagged , , . Bookmark the permalink.

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!