Edit pdf page content scale of width using command line

If you click to open a pdf file, perhaps you do not like the page content scale of width or it dose not fit the height. So, 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 width at your will.

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”

Snap78

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 lines to edit pdf page content scale of width

pdftools.exe -i “C:\input.pdf” -o “C:\output.pdf” -j “60% 100% 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.
  • “60% 100% true” the first parameter means to edit page content scale to 60% of the page width and the second parameter to keep the page height constant and 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

Snap192

Step 4 open the file to check the result, to demonstrate perfect sound, the VeryPDF.com makes a comparison below

Snap193  

Snap189

Green part show the change of pdf page scale of width.

VN:F [1.9.20_1166]
Rating: 5.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Edit pdf page content scale of width using command line, 5.0 out of 10 based on 1 rating

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!