Convert Excel to PDF and set PDF subject via command line

By using VeryPDF Document Converter (docPrint Pro), you can instantly convert Excel to PDF and set PDF subject. No matter how many Excel files do you need to convert, a single command line can solve all the problems. It will require 3 steps to get the conversion done.

Firstly, please download VeryPDF Document Converter and install it on your computer. As a matter of fact, VeryPDF Document Converter has both a command line version and a GUI version. This article only refers to the command line version. If you are interested in the GUI version, please visist the homepage of VeryPDF Document Converter. Anyway, you can use this command line application free for 50 times before buy it.

The second step is to open the command prompt window. You can use different ways to open the command prompt window. For instance, if you are a Windows XP user, you can open the command prompt window by clicking Start and then clicking Command Prompt on the Start menu; or clicking Start, clicking Run, typing CMD or cmd, and pressing Enter.

When the command prompt window appears on the computer screen, you are going to take the third step. That is to type a command line and then press Enter. If you want to view the basic usage and the options, please type the directory of the main executable file named doc2pdf.exe in the command prompt window and press Enter. Or you can just take a look at the following usage, option and examples.

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

Option: -j <subject>      : "subject" for PDF file


  • "C:\docPrint Pro v5.0\doc2pdf.exe" -j "excel" –i D:\in.xls -o E:\out.pdf
  • "C:\docPrint Pro v5.0\doc2pdf.exe" -j "excel" –i D:\*.xls -o E:\*.pdf

The first example can be used to convert a single Excel to PDF and set PDF subject; and the second example can be used to convert multiple Excel to PDF and set PDF subjects in batch. Notes: a pairs of quotation marks should be used to enclose a path if the words in this path are separated by spaces.

These are the three steps you need to take to set PDF subject when you use VeryPDF Document Converter to convert Excel to PDF via command line. If you have any question to ask, please leave a message.

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!