This article is mainly about how to convert PPT to PDF andby with the help of VeryPDF docPrint Pro Command Line. VeryPDF docPrint Pro Command Line can help you convert as many PPT files as you want to PDF at a batch.
Do you want to have a try? Please click VeryPDF Document Converter to free download the software first. After install it on your computer, you will find that Document Converter contains four applications. And docPrint Pro Command Line is the one that supports batch conversion and option setting. The following are the two steps you need to take:
At first, you need to run Windows Command Prompt. There are many ways to run Command Prompt. Here is the most commonly used way to run it under Windows XP:
- Click the Start button.
- Select Run from the Start menu.
- Type cmd in the Run dialog box and press Enter.
The Command Prompt window will appear on the screen instantly. And the next step is to use docPrint Pro Command Line. You should type aon the basis of the executable file doc2pdf.exe, which is entitled docPrint Pro Command Line. The following is the usage:
Usage: doc2pdf [options] <-i Document Files> [-o Output]
The option you can use to standard pages or user defined pages, e.g. -f 8, which can be used to set standard page size; -f "22x33in" which can be used to set 22x33 inch to printer; -f "444x555mm", which can be used to set 444x555 mm to printer; and -f "666x777pt", which can set 666x777pt to printer.is -f <paper size>. You can set page size as either
The following are some command lines that can convert PPT to PDF and set page size:
- "C:\docPrint Pro v5.0\doc2pdf.exe" -f 8 -i C:\*.ppt -o E:\*.pdf
- "C:\docPrint Pro v5.0\doc2pdf.exe" –f "22x33in" -i C:\*.ppt -o E:\*.pdf
- "C:\docPrint Pro v5.0\doc2pdf.exe" -f "444x555mm" -i C:\in.ppt -o E:\out.pdf
- "C:\docPrint Pro v5.0\doc2pdf.exe" -f "666x777pt" -i C:\in.ppt -o E:\out.pdf
Now please type a command line to meet your requirements and then press Enter to start the process. You can also set other options when convert PPT to PDF. If you are interested, please type the path of the executable file on the Command Prompt window like "C:\docPrint Pro v5.0\doc2pdf.exe", and press Enter.