Edit pdf page margins of odd number pages using command line

It is pretty convenient to edit odd number page togethe, which greatly saves you precious time. For instance, if you want to edit pdf page margins of odd number pages quickly to save time using Advanced PDF Tools Command Line, the short-cut is add –u “odd” to the command line to edit pdf page margin. Finally, you press “enter” key, the task will be completed. The VeryPDF.com uses an example---Edit pdf page margin 39 pt of odd number pages--- and lists the command line and detailed operations below in an effort to help you understand.

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”

Snap100

Snap101

2) input cmd into the following

Snap57

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

Snap1

Step 3 input command line to edit pdf page margins of odd number pages

it goes below

pdftools.exe -i “C:\input.pdf” -o “C:\output.pdf” -# “39” –u “odd”

where

  1. the option -i is to specify a pdf filename or a directory for input,
  2. the option -o to specify the pdf file name for output,
  3. -# “39”: –#  to edit margin and “39” refers to set the page margin 39 pt that could be substituted according to your needs,
  4. –u “odd”: –u is to specify pages and “odd”  refers to the odd number pages.

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

Snap196

Step 4 open the file to check the effect if the pdf page margins of odd number page are different from the ones of even number page

Snap197

                                                           Picture (1)

Snap198

                                                   Picture (2)

Picture (1) offers you a detailed information on how the page margins of odd number pages changed, Picture (2) offers you a panoramic view of the page margin changed between odd and even number pages, green color indicates the odd number.

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!