Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line PDF Convert

Scroll Prev Top Next More

Convert To PDF Command Line Format

 

win2pdfd.exe convert "sourcefile"

 

Converts the sourcefile to a PDF with the same name and location by using the default Windows application associated with the file type.  If no Windows application is associated with the file type, the conversion will fail.

 

Any file names that contain spaces must be enclosed with quotation marks.

 

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