Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line TXT To PDF

Scroll Prev Top Next More

TXT To PDF Command Line Format Win2PDF Pro Only Feature


win2pdfd.exe txt2pdf "source.txt" "dest.pdf"



Convert the text file specified by "source.txt" to a PDF file named "dest.pdf".


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


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.