Edit pdf page content scale of height using command line

If you open a pdf file, perhaps you do not like the page content scale of height or it dose not fit the width. Therefore, you are going to edit it to meet your preference. The VeryPDF.com offers you Advanced PDF Tools Command Line, with which you are allowed to edit pdf page content scale of height at your will.

First, follow this link you will obtain this useful tool

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 appears, you will have the MS-DOS command prompt window

Snap1

Third, input the command to edit pdf page content scale of height

pdftools.exe -i “C:\input.pdf” -o “C:\output.pdf” -j “100% 88% true”    

where

  • -i is to specify a PDF filename or a directory for input
  • -o is to specify the PDF filename for output.
  • -j is to specify set page content,
  • “100% 88% ”  the first parameter means to keep the page width constant and the second parameter to set page content scale to 88% of the page height, true the third parameter is a Boolean type value to set whether to center on page. 

once the input is finished, press “enter”, you are allowed to see

Snap181

Fourth, open the file to check, screenshots again

Snap182  

you can find the height changed while the width keeps constant, below are two zoomed picture of before editing and after editing, from which you see clearly.

Snap184

Snap185

Pink part shows the change of height.

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!