Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line MHT To PDF

Scroll Prev Top Next More

MHT To PDF Command Line Format Win2PDF Pro Only Feature

 

win2pdfd.exe mht2pdf "source.mht" "dest.pdf"

 

 

Convert the MIME HTML Archive format MHT file specified by "source.mht" to a PDF file named "dest.pdf".

 

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

 

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

 

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