Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line XPS To PDF

Scroll Prev Top Next More

XPS To PDF Command Line Format

 

win2pdfd.exe xps2pdf "sourcexps" "destpdf"

win2pdfd.exe xps2pdfa "sourcexps" "destpdf"

 

 

Convert the XPS file specified by "sourcexps" to a PDF file named "destpdf". If the "xps2pdfa" variation is used, the PDF will be saved in the PDF/A format.

 

Any file names that contain spaces must be enclosed with quotation marks. The "sourcexps" can be a local file path, or an web address (URL) to an existing XPS.

 

This feature requires a licensed version of Win2PDF. Contact us for a time limited evaluation license.

 

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