Convert documents of HTML to XPS by command line

It will be an easy task for you to convert the document of html to xps by command line. You just need to open the conversion platform—MS-DOS interface, input the command line and run the conversion. The tool you should choose is the command line application in Document Converter which is a professional document converter.

The command line application enables you to convert any printable documents to various image formats and you just need to use different kinds of commands in the command line to set different parameters for the target file. The command line application is also a good helper to software developers who want to develop software basing on Document Converter.

For using the command line application, you can download a free trial version via clicking the following link: It is necessary to set up it on your computer and you will see an executable file in installation directory named as doc2pdf.exe which is the called program in the conversion from html to xps.

When you want to use all the functions of the command line application freely with no limitations, please buy the application at Then please see the following contents for describing the conversion from html to xps.

1. Please click “Start”—“Run” to open “Run” dialog box. Then you need to input “cmd” in “Open” combo box and click “OK” button, all of which are for opening MS-DOS interface. You can also use the hot key “Window”+ “R” on your keyboard to open “Run” dialog box.

2. The command line to be inputted in MS-DOS interface contains called program, source file and target file. The command line is like the following example:

doc2pdf –i “” –o D:\output.xps

In the command line,

doc2pdf stands for the called program file which is the executable file doc2pdf.exe mentioned above. You should use its path when you write the command line.

–i “ for the link of source html document. Please don’t forget to use the double quotes to enclose the link.

–o D:\output.xps stands for the name of target file and you need to set this parameter yourself.

3. Please click “Enter” button on the keyboard to run the conversion from html to xps and you can check whether the target file is perfect enough when the conversion is completed.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Random Posts

This entry was posted in docPrint Pro. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!