Edit pdf content offset of specified pages using command line

Following articles posted here, you have surely mastered how to edit pdf content offset, but have you known how to edit pdf content offset of specified pages, for example, edit pdf content offset of pages 1,5,7-14,16 (7-14 refers to from 7to 14). You can finish editing them one by one, but anyway it is not a fast way, how about inputting the specified pages number and press “enter” key, you task would be done?Go for experiencing!

Step 1 click the following link to download Advanced PDF Tools

http://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 offset of specified pages

it goes below 

pdftools -i “C:\input.pdf” -o “C:\output.pdf” “-~” “50,60” “-u” “1,5,7-14,16 ”

where

  • the option -i is to specify a pdf filename or a directory for input,
  • the option -o to specify the pdf file name for output,
  • “-~”   to edit content offset,
  • “50,60” the first parameter is x-offset and the next y-offset,
  • “-u” to specify pages,
  • “1,5,7-14,16 ” refers to specified pages.

Note, both “50,60” and “1,5,7-14,16 ” can be substituted in line with your needs.

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

Snap203

Step 4 open the file to check the effect.

Snap204

                                                        Picture (1)

Snap206 

                                                             Picture (2)

The two pictures vividly show you that you have successfully edited pdf content 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

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!