Convert PowerPoint to PDF and set PDF subject by command line

With the help of VeryPDF Document Converter (docPrint Pro), you can easily convert PowerPoint to PDF and set PDF subject by command line. VeryPDF Document Converter has four applications. And the command line application docPrint Pro Command Line is the tool you are going to need.

Please click VeryPDF Document Converter to download the software, After you install it on the computer, you can find docPrint Pro Command Line, which is the executable file doc2pdf.exe in the installation directory. Please take two steps to convert PowerPoint to PDF and set PDF subject by command line.

First, you should open a command prompt. If you are a Windows XP user, please do as follows:

  • Click the Start button at the bottom of the screen
  • Click Run on the Start menu
  • Type cmd, CMD, or cmd.exe in the Run dialog box
  • Press Enter on the keyboard. Or press OK on the dialog box

Second, as the command prompt window appears, please type a command line in the window. Remember the executable file doc2pdf.exe? You should type a command line according to the basic usage of the executable file.

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

To set PDF subject, you need to use the option -j <subject>. The following are two examples; please take a look at them. The first one can convert a single PPTX file to a PDF, and set the PDF subject as “Fair Lady”. The second example can convert all the PPT files in the root folder on disk C to PDF files on disk D, and set the subject for each PDF file to be “Fair Lady”.

      1. "C:\docPrint Pro v5.0\doc2pdf.exe" -s "Fair Lady" -i D:\in.pptx -o E:\out.pdf
      2. "C:\docPrint Pro v5.0\doc2pdf.exe" -s "Fair Lady" -i C:\*.ppt -o D:\*.pdf

Please press Enter after typing a command line. And this is how you can use the command line application of VeryPDF Document Converter to convert PowerPoint to PDF and set PDF subject. To see more features of Document Converter, please visit:

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!