Edit pdf page margins of the first page using command line

The first page to pdf files is the face to people, so it is crucial and important. Page margin plays a important role, your top task is to make it more pleasant to look in appearance and more comfortable to view in content. With the help of Advanced PDF Tools Command Line, you are able to edit pdf page margins of the first page in brief manner.

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”

Snap88

Snap81

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

Snap1

Third, input the command to edit pdf page margins of the first page

it goes below

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

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. -# “30”: –#  to edit margin and “30” refers to set the page margin 30 pt that could be substituted according to your needs,
  4. –u “1”: –u is to specify pages and “1”  refers to the first page.

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

Snap194

Fourth, open the files to check

screenshots again

Snap195

Snap195 

The two pictures are same one to show the effect about the change of pdf page margins of the first page. To make you see clearly the below picture is colored in the page margin.

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!