win2pdfd.exe printpdf "sourcefile" printername
win2pdfd.exe printpdf "sourcefile" printername startpage endpage
win2pdfd.exe printpdf "sourcefile" printername outputfile
Prints the PDF “sourcefile” to the specified printername, optionally including a startpage, and endpage.
Any file names that contain spaces must be enclosed with quotation marks.
The command line option that includes an outputfile is useful for re-rendering an existing PDF through the Win2PDF printer.
Returns 0 on success, and a Windows system error code on failure.