Convert Excel to PDF and set page size via command line

When you use VeryPDF docPrint Pro to convert Excel to PDF via command line, you can also set options like set page size. The following will explain how to use docPrint Pro to convert Excel to PDF and set page size via command line in detail.

If you don’t have VeryPDF Document Converter (docPrint Pro) on your computer, you can download it by clicking docPrint Pro. After it is installed on your computer, you can use it free for 50 times. VeryPDF docPrint Pro is an application based on Windows, and also a standalone application. Two steps are required to use a single command line to convert Excel to PDF and set page size.

The first step is to open the command prompt window. Even under Windows XP, you can use different ways to open the command prompt window. For example, you can click Start, click Run, type cmd and press Enter to open the command prompt window. Or you can click Start and directly click Command Prompt on the Start menu to open it.

The second step is to type a command line and press Enter. The basic usage of the main executable file is doc2pdf [options] <-i Document Files> [-o Output]. The option you can used to set page size are –f For example,

“C:\docPrint Pro v5.0\doc2pdf.exe” -f 8 -i D:\*.xls -o D:\*.pdf

is a command line which can be used to set page size when convert Excel to PDF in batch. You can also use docPrint Pro to convert a single Excel to PDF, for instance:

“C:\docPrint Pro v5.0\doc2pdf.exe” -f 8 -i D:\3.xls -o D:\3.pdf.

As the two examples show, the executable file path is enclosed by a pair of quotation marks. This is because the words in the path are separated by spaces. Please press Enter after you type a command line.

These are the two steps you need to take to use command line to convert Excel to PDF and set page size Do you want to see more options of the executable file? You can type a path of the executable file in the command prompt window and press Enter. Do you think VeryPDF docPrint Pro is useful? Do you want to get it? If you want to own it, please click Purchase.

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!