Edit pdf content left offset of specified pages using command line

You may know how to edit pdf content offset by using Advanced PDF Tools Command Line, but you may not know how to edit content left offset; you may know how to edit pdf content of all pages, you may not know how to edit specified pages. After reading through this article, you will know the answer to the above questions. So the article is centered on the topic--- Edit pdf content left offset of specified pages using command line.

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”

Snap33

Snap17

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 content left offset of specified pages

it goes below 

pdftools.exe -i “C:\input.pdf” -o “C:\output.pdf” -~“50,0” -u “1,4-8,13 ”

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. “-~” “50,0”:  “-~” to edit content offset, “50,0” the first parameter is to set left (x)-offset and the next is to keep y-offset  constant.
  4. “-u” “1,4-8,13 ”:“-u” to specify pages, “1,4-8,13 ” refers to specified pages.

Note, both “50,0” and “1,4-8,13 ” can be substituted in line with your needs.

when the input is done, press “enter” key, you will see the command prompt popping up

Snap147

Step 4 open the file to check the effect.

Snap145

                                                 Picture (1)

Snap148

                                                Picture (2)

The two pictures vividly show you that you have successfully edited pdf content left offset of specified pages.

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!