Convert XLS to PDF via command line

Most of you would prefer to use the GUI version of a document to convert XLS PDF. In contrary I recommend the command line version. From my point of view, a command line application is much more effective and has more functions. Firstly, when using command line, you can save the time to open boxes and windows, and to click buttons. Secondly, for the sake of simple and beauty, a GUI version cannot list all the supported input and output formats in the interface. Hence, you may only convert the most regular documents though a GUI version.

This is why this article focuses on introducing a method to convert XLS to PDF via command line. The command line version we are going to use is called VeryPDF Document Converter, which is also well known as docPrint Pro. You can download it by clicking VeryPDF Document Converter. After it is installed on your computer, you can find an executable file named doc2pdf in the installation directory. This executable file is the tool we are going to use. By using this executable file, you can easily convert XLS to PDF via command line. Only two steps are required.

The first step you need to take is to open the command prompt window. There are different ways. For example, you can do as follows to open the command prompt window in Windows XP: Open the Start menu by clicking the Start button that you can see in the left down corner on the screen, >clicking Run on the Start menu,> tying cmd int eh Run dialog box and at last pressing Enter.

The second step you need to take is to type a command line. The command line must be in line with the basic usage of the command line application: doc2pdf [options] <-i Document Files> [-o Output]. The following are two examples which can be used to convert XLS to PDF. The first one can convert a single XLS file to PDF, and the second one can convert multiple XLS to PDF in batch. After type a command line like the examples, please press Enter.

    • “C:\ docPrint Pro v5.0\doc2pdf” -i C:\input.xls -o D:\output.pdf
    • “C:\ docPrint Pro v5.0\doc2pdf” -i C:\*.xls -o D:\*.pdf

This is the method I would like to share you. You see, that using command lines to convert documents is pretty easy. VeryPDF Document Converter can be used free for dozens of times. If you want to get more information about how to use it, why not visit the Homepage? Thanks for reading!

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!