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"

win2pdfd.exe convert "sourcefile" "destpdf"

 

Converts the sourcefile to a PDF with the same name and location by using the default Windows application associated with the file type. If the "destpdf" parameter is specified, it is used for the destination PDF file location. 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.

 

Requires a licensed version of Win2PDF. Contact support@win2pdf.com for a time limited evaluation license.

 

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