12-2 -changeDocInfo: Document Property Settings

Processing

Sets the document property information to the output PDF.

Example of commands

[Executing example commands]

Specify the document property information on test.pdf and output it as out.pdf.

  • Specify the document properties in the parameters as "Antenna House PDF API Test" for [Title] and "Antenna House, Inc." for [Author].

[Windows]

AHPDFToolCmd80.exe -changeDocInfo -title "Antenna House PDF API Test" -author "Antenna House, Inc." -d C:\test\test.pdf -o C:\sav\out.pdf

[Linux]

AHPDFToolCmd80 -changeDocInfo -title "Antenna House PDF API Test" -author "Antenna House, Inc." -d /home/antenna/test/test.pdf -o /home/antenna/sav/out.pdf

Folder settings: applied

You can perform batch processing by specifying the input folder to the -d parameter and the output folder to the -o parameter.

If a folder is specified, the same document property information will be set for all files within the folder. Note that the output file will be output to the output folder with the same name as the input file name.

Parameters

Parameter

Content

-title <Val>

"Title" settings. Can be omitted. If not specified, the original contents will be inherited.

-subject <Val>

"Subject" settings. Can be omitted. If not specified, the original contents will be inherited.

-author <Val>

"Author" settings. Can be omitted. If not specified, the original contents will be inherited.

-keywords <Val>

"Keyword" settings. Can be omitted. If not specified, the original contents will be inherited.

-creator <Val>

"Application" settings. Can be omitted. If not specified, the original contents will be inherited.

-producer <Val>

"PDF Producer" settings. Can be omitted. If not specified, the original contents will be inherited.

Please enter alt text.