How to convert Word to XPS via command line?

XPS is a XML paper specification file format. If you want to convert Word to XPS via command line, you can employ VeryPDF Document Converter (docPrint Pro) to solve the problem. VeryPDF Document Converter provides the quickest and most reliable way to convert Word document or documents in format such as DOC, DOCX, DOCM, or DOCT to XPS file or files. What’s more, this software program supports batch conversion and output option setting. It is capable of helping you generate high quality XPS files from Word.

VeryPDF Document Converter provides both command line version and command line version. When you visit the product page of VeryPDF Document Converter, you will find both the versions are available. Please select the command line version and install it on your computer. Then, you can use it to convert Word to XPS via command line.

The whole process requires only two steps. First, open the command prompt window. You know, the ways to open the command prompt may be different if you are in different operating systems. For example, in Windows XP, you can take four little steps to open it: click Start > select Run from the Start menu, > type “cmd”, > and click OK.

open the command prompt window

The second step is to type a command line and press Enter on the keyboard. The main executable file of VeryPDF Document Converter is named doc2pdf.exe, and its basic usage is as follows: doc2pdf [options] <-i Document Files> [-o Output].Depending on the basic usage, please type a command line to generate a XPS file from a Word document as you wish.

For example, the following command line, “C:\docPrint Pro v5.0\doc2pdf.exe” -i C:\in.doc -o D:\out.xps, can be used to convert a Word to XPS file. The part enclosed by a pair of quotation marks is the directory of the executable file. -i stands for input and -o stands for output. C:\in.doc represents the input file and D:\out.xps represents the output file. For another example, “C:\docPrint Pro v5.0\doc2pdf.exe” -i C:\*.doc -o D:\*t.xps can be used to convert all the DOC files on disk C to XPS in batch.

The following is a comparison between a Word file and the XPS file generated from it. As you can see, the original text, color, font, layout, etc. are perfectly from Word to XPS. Do you want to learn more about VeryPDF Document Converter? Please click hereand you can see more examples and information about VeryPDF Document Converter.

compare the files after convert Word to XPS

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

Related Posts

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!