To convert Office to XPS by, you are going to need VeryPDF Document Converter (docPrint Pro). As a pro, Document Converter is capable of creating XPS from any documents created by MS Office without opening the original documents. Providing a application, Document Converter enables you to convert documents by .
This article aims to explain how to use the command line application provided by Document Converter to convert documents created by Office to XPS. Here are the three steps you are going to take.
Firstly, you should download Document Converter, and install it on your computer. The command line application provided by Document Converter is named docPrint Pro Command Line, which also refers to the executable file doc2pdf.exe placed in the installation folder.
Secondly, you need to open a command line interpreter like Windows Command Prompt. No matter whether you are in Windows XP, or in Windows 7 or Vista, you can access Command Prompt as follows: click the Start button to open the Start menu, and then click All Programs, Accessories, and Command Prompt. The Command Prompt window appears and you proceed to the next step.
Thirdly, you are going to type a command line on the basis of the usage of the executable file. The usage is as follows:
doc2pdf [options] <-i Document Files> [-o Output]
Supposing you plan to convert multiple DOCX files to XPS files, your command line might be similar to the following one:
"C:\docPrint Pro v5.0\doc2pdf.exe" -i C:\*.docx -o D:\*.xps
- "C:\docPrint Pro v5.0\doc2pdf.exe"—the path of the executable file
- -i—must appear before the input path.
- C:\*.docx—the input path. It stands for all the DOCX files in the root folder on disk C.
- -o—must appear before the output path.
- D:\*.xps—the output format is XPS and the root folder on disk D is the place where all the output files should be stored.
Please type a command line on your computer to meet your requirements. After that, please press Enter.
I hope this article is helpful. You know, docPrint Pro Command Line is a very powerful application; not only can you convert Office to XPS, you can also use it to convert whatever printable files you like to more than 100 image files, PDF files, etc. For more information, please read the description at: http://verypdf.com/artprint/index.html