How to add new information to PDF file via Advanced PDF Tools Command Line

 

Converting or printing files to PDF allows them 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 have a need to add information to the PDF file without editing the actual document. This article will explain how to add new information to a PDF file using Advanced PDF Tools Command Line.

You are allowed to download http://www.verypdf.com/pdfinfoeditor/advanced_pdf_tools_cmd.zip, a zipped package with little occupancy, after releasing them you can execute a series of functions related to page view mode by starting the MS-DOS command prompt window, steps are  as follows:

Snap16 Snap17

Snap57

Snap5    

You need to input command line to finish related operation

-y

There are several ways to add new information like follows:

Add new custom Properties to an existing PDF file and overwrite original custom Properties,

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

or

pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "/key1(value1) /key2(value2)"    

Append new custom Properties  to an existing PDF file,
pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "+key1=value1,key2=value2"    

or

pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "+/key1(value1) /key2(value2)"   

e.g.

pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "Our Company=VeryPDF Company, Support Email=support@verypdf.com, Our Web URL=http://www.verypdf.com"   
or
pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "/Our#20Company(VeryPDF Company) /Support#20Email(support@verypdf.com) /Our#20Web#20URL(http://www.verypdf.com)"  
or

pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "+/Our#20Company(VeryPDF Company) /Support#20Email(support@verypdf.com) /Our#20Web#20URL(http://www.verypdf.com)"  

Let’s test the last one, after pressing the enter key, you will see

Snap58

Now, open the testnewinformation.pdf  to check all the information has been added or not?

Snap59

This screenshot proves that.

More special experiences awaits you here http://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)

Random Posts

This entry was posted in Advanced PDF Tools. 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!