Edit pdf custom properties using command line

Converting or printing files to pdf allows pdf files to be viewed among people who might not have the original software with which the original file was created. As documents are shared among associates and friends, you may need to edit pdf custom properties to the pdf file without editing the actual document. This article will explain how to edit pdf custom properties using Advanced PDF Tools Command Line.

Step one You can freely download Advanced PDF Tools through

https://www.verypdf.com/pdfinfoeditor/advanced_pdf_tools_cmd.zip

do remember extracting it after download is completed, for it is zipped package.

Step two launch the  MS-DOS command prompt window, because the command line is bound to run under MS-DOS environment, launching MS-DOS command prompt window is essential and crucial, here goes the procedure

press  “start”>choose “Run”>input “cmd”>press “ok”

Snap100

Snap101

Snap135

so you will see the  MS-DOS command prompt window propping up

Snap1

Step three input command line to edit pdf custom properties, it goes

pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "+key1=value1,key2=value2"   

where the option -i is to specify a pdf filename or a directory for input, the option -o to specify the pdf filename for output, –y to edit new custom properties to an existing pdf file and overwrite original custom properties. the value can be replaced or added according to your needs, for example,

pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "+Company=VeryPDF Company,Web URL=https://www.verypdf.com"   

when you finished typing, press “enter” key, and then you will see

Snap146

Step four open the file to check if the pdf custom properties information has been edited, screenshot again

Snap148

you can find that the new information-ompany=VeryPDF Company,Web URL=https://www.verypdf.com-was successfully edited.

If more information is needed, you are welcome to visit https://www.verypdf.com.

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

2 Replies to “Edit pdf custom properties using command line

  1. well how can i do the exact same thing using pdfbox or itext?

    VA:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.20_1166]
    Rating: 0 (from 0 votes)
  2. Could you please be more specific in your question? If you like, please send us a ticket to support@verypdf.com.

    VN:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.20_1166]
    Rating: 0 (from 0 votes)

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!