Convert Excel to PDF and set PDF author via command line

know a quick and easy way to convert Excel to PDF and set PDF author via command line. Only three steps are required and only a single command line is needed. Do you want to know how to do it? Please keep on reading, follow the steps below and try to do it. Once you master the trick, you can convert any types of printable documents to whatever types of files you like.

The first step is to download a command line application which is able to convert Excel to PDF and supports option setting. This article would like to recommend you VeryPDF Document Converter (docPrint Pro). It provides a command line version which can be used free for 50 times. Please download VeryPDF Document Converter, and try to use it.

The second step is to open the command prompt window. People often use different ways to open the command prompt window under different Windows operation systems. For example, a Windows XP user would commonly use the following way to open the command prompt window: click Start, click Run on the Start menu, type cmd in the Run dialog box that pops out and then press Enter on the keyboard.

The last step is to type a command line. The basic usage of the main executable file contained in the installation folder, the related option and some examples are shown as follows:

  • Usage : doc2pdf [options] <-i Document Files> [-o Output]
  • Option : -a <author>     : Set PDF author
  • Examples:
    • "C:\docPrint Pro v5.0\doc2pdf.exe" -a "Stephen" –i D:\in.xls -o E:\out.pdf
    • "C:\docPrint Pro v5.0\doc2pdf.exe" -a "Stephen" –i D:\*.xls -o E:\*.pdf

As you can see in the basic usage, options are enclosed by square brackets and the essential content, which must appear in a command line, is enclosed by angle brackets. The first example can be used to set PDF author for a single PDF file generated from a single Excel file, and the second example can be used to set PDF authors and convert multiple Excel to PDF files in batch. After typing a command line, don’t forget to press Enter.

There are the three steps that are required to convert Excel to PDF and set PDF author via command line. Do you know how to use VeryPDF Document Converter (docPrint Pro) now? Do you have any questions to ask? Please leave a message if there is any. 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

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!