Convert Excel to XPS via command line

With the help of VeryPDF docPrint Pro, you can easily convert Excel to XPS via command line. VeryPDF docPrint Pro supports all types of Excel file formats. Moreover, it has the capacity to convert any printable files to various file formats including XPS, PDF and image file formats. In addition, it supports batch conversion.

VeryPDF docPrint Pro is also named VeryPDF Document Converter. It has a command line version and a GUI version. Clearly, the command line version can meet your needs. You can download docPrint Pro and install it on your computer. After that, you can use the trial version for 50 times before you buy it.

Normally, by means of VeryPDF docPrint Pro, you only need to take two steps to convert Excel to XPS via command line.

Before you use VeryPDF docPrint Pro, you need to open the command prompt window. I am a Windows XP user, so, I would like to show you how to open the command prompt window in Windows XP. First, please click Start. Second, click Run on the Start menu. Third, type cmd in the Run dialog box, and at last press Enter. Then, the command prompt window will appear on the desktop.

The second step is to type a command line. Just follow the basic usage, refer to the examples as below, and type a command line to meet your requirements.

Basic usage:     doc2pdf [options] <-i Document Files> [-o Output]

Notes: the square brackets [] enclose options, and the angle brackets <> enclose essential contents. -i stands for input and -o stands for output.


    1. “C:\docPrint Pro v5.0\doc2pdf.exe” -i C:\in.xlsx -o D:\out.xps
    2. “C:\docPrint Pro v5.0\doc2pdf.exe” -i C:\*.xlsx -o D:\*.xps

“C:\docPrint Pro v5.0\doc2pdf.exe” is the path of the main executable file of VeryPDF docPrint Pro. The path is enclosed by quotation marks; there are spaces in the path. C:\*.xlsx represents all the Excel files in the format XLSX in the root folder on disk C. D:\*.xps means to export all the output files into the root folder on disk D.

Is this method simple? Have you typed your command line in the command prompt window to convert Excel to XPS? If you want to convert other types of documents, you can also use VeryPDF docPrint Pro.

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!