Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line Set PDF Version

Scroll Prev Top Next More

win2pdfd.exe setpdfversion "sourcepdf" pdfversion "destpdf"

 

Attempts to update PDF specified by "sourcepdf" to the version specified by "pdfversion", and save updated PDF in "destpdf". Valid versions are:

 

"pdfversion"

Introduced with:

Adds support for:

"1.0"

Adobe Acrobat 1.0


"1.1"

Adobe Acrobat 2.0

Adds support for links and password protection.

"1.2"

Adobe Acrobat 3.0

Adds support for Unicode.

"1.3"

Adobe Acrobat 4.0

Adds support for digital signatures and 40 bit encryption.

"1.4"

Adobe Acrobat 5.0

Adds support for transparency, JBIG2 compression, and 128 bit encryption.

"1.5"

Adobe Acrobat 6.0

Adds JPEG 2000 compression.

"1.6"

Adobe Acrobat 7.0

Adds support for AES encryption.

"1.7"

Adobe Acrobat 8.0

Improved support for security.

 

Win2PDF sets the PDF version to the lowest PDF version possible to support the features in the PDF file, usually "1.4".  Setting the PDF version is not necessary for most viewers. New viewers should be backwards compatible with older PDF versions, and old viewers will skip new features. Some compliance software requires a specific PDF version, and this command can be use to set the PDF to a specific version. You can only set the PDF version to a higher version than the existing version of "sourcepdf".

 

Requires a licensed version of Win2PDF version 10.0.121 or above. Contact us for a time limited evaluation license.

 

Returns 0 on success, and a Windows system error code on failure.