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: http://www.verypdf.com/artprint/docprint_pro_setup.exe. 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 http://www.verypdf.com/order_docprintpro.html. 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 “www.google.com” –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 “www.google.com” stands 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.