Convert XLS to PDF and set PDF keywords via command line

To set PDF keywords and convert XLS to PDF via a command line, first of all, you need a good tool. This article recommends you to use VeryPDF Document Converter, which is also known as docPrint Pro. VeryPDF Document Converter is a powerful document converter, which can convert all printable files to PDF files, image files, HTML files, etc. With the help of VeryPDF Document Converter, you can quickly solve your problem.

To download this powerful tool, please click VeryPDF Document Converter. This tool can be used free for scores of times. After you install it, you can find an executable file which is named doc2pdf.exe in the installation directory. And this file is the command line application we are going to need in the rest part. The rest part explains how to take two steps to convert XLS to PDF and set PDF keywords via command line.

Step 1: open the command prompt window

Under different Windows operating systems, you need to take different ways to open the command prompt window. For example, under Windows XP, you should click Start, > click Run on the Start menu, > type cmd in the Run dialog box,> and at last step press Enter. Or just simplely click Start and then click Command Prompt on the Start menu.

Step 2: type a command line and then press Enter

Before you type a command line in the command prompt window, please take a look at the usage of the executable file, the option for PDF keywords setting, and two examples as below.

  • Usage:doc2pdf [options] <-i Document Files> [-o Output]
  • Option: -k <keywords> : set PDF keywords
  • Examples:
    • “C:\ docPrint Pro v5.0\doc2pdf -k “pdf, xls, excel” -i C:\in.xls -o D:\out.pdf
    • “C:\ docPrint Pro v5.0\doc2pdf -k “pdf, xls, excel” -i C:\*.xls -o D:\*.pdf

In each example, the directory of the executable file is enclosed by quotation marks. It is because words in the directory are separated by spaces. The first example can convert a single XLS to PDF. The second example can convert multiple files. Don’t forget to press Enter after you type a command line.

Do you think VeryPDF Document Converter is easy to use? Apart from using it to convert XLS to PDF and set PDF keywords, you can also use to convert other types of documents and set other options.

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

This entry was posted in docPrint Pro and tagged , , . Bookmark the permalink.

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!