Center pdf content of the first page using command line

What is the first page to a pdf fie is the face to a person. The first page is crucial and important to a pdf file; you surely would like to make it more attractive in both content and format. You can center the content, because it accord with people’s reading habit and specify the first page at the same time. To help you finish the edit quickly and timely, the offers you Advanced PDF Tools Command Line.

First step—Downloading

Follow this link you will obtain Advanced PDF Tools

The whole package is just of 3.04 MB, making the download swiftly, do remember to extract it, for it is a zipped package.

Second step—Launching

You are bound to launch 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”



2) input cmd into the following


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


Third step—Inputting

Input the command to center pdf content of the first page

it goes below

pdftools.exe -i “C:\input.pdf” -o “C:\output.pdf” -j “50% 50% true” –u “1”


  • -i is to specify a pdf filename or a directory for input, 
  • -o to specify the pdf file name for output,
  • -j “50% 50% true”, the first parameter means to set page content to 50% of the page width and the second parameter to 50% of the page height, and the third parameter is a Boolean type value to set whether to center on page,
  • -u “1”:“-u” to specify pages, “1” refers to the first page.

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


Fourth step—Checking

It’s time for opening the file to check the result, screenshots again


a zoomed one


So far, you have successfully centered the pdf content of the first page.  

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!