Edit pdf pages using command line

In your daily life on dealing with pdf files, you may, more often than not, insert or delete some pages. Once you receive a pdf file, some pages in which are neither relevant to the topic nor essential to the content, you can edit these pages, to the effect, delete these pages mentioned above so that when next time you open the file, you will get the point directly. But how can you edit these pages in brief and quick manner, why not try to use a tool to help you, a tool custom-made for you, Advanced PDF Tools Command Line. The below is detailed procedure on how to edit pdf pages using Advanced PDF Tools Command Line.

First, follow this link you will obtain Advanced PDF Tools

https://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”

clip_image002

when the following appears, you will have the MS-DOS command prompt window

Snap1

Third, input the command to edit pdf pages

it goes below

pdftools.exe-i "C:\input.pdf" -o "C:\output.pdf" "-&" "1,2-4,9"    

where

  • -i is to specify a pdf filename or a directory for input,
  • -o is to specify the pdf file name for output,
  •  "-&" "1,2-4,9" : "-&" is to edit pdf pages and "1,2-4,9"  refers t othe pages that you are going to delete.

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

Snap152

Fourth, open the file to check the result

Snap154

Snap153  

From the comparison, you can see the pages  have been downsized from 16 to 11, where, 1,2-4, 9 are missing.

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!