To set page orientation and convert PowerPoint to PDF by, you are going to need a command application which supports conversion from all types of PowerPoint to PDF and supports page orientation setting. VeryPDF docPrint Pro Command Line, the application provided by VeryPDF Document Converter (docPrint Pro) is such a tool which can help you solve your problem easily.
After you download VeryPDF Document Converter and istall it on your computer, you can find the an executable file named doc2pdf.exe in the fodler titled docPrint Pro v5.0, And this executable file is docPrint Pro Command Line. The following is the basic usage of it: doc2pdf [options] <-i Document Files> [-o Output]
The rest part will explain how to take two steps to use docPrint Pro Command Line to set page orientation when convert PowerPoint to PDF. Two steps are required:
1. Open a command prompt window
- If you are under Windows XP, please click Start to open up the Start menu > point to All Programs >point to Accessories> click Command Prompt.
- If you are under Windows 7 or Vista, please click Start > type cmd in the search box on the Start menu > press Enter.
As soon as the command prompt window pops out, please proceed to the next step.
2. Type a
The second steps is to type a command line to set page orientation and covert PPT, PPTX or any other types of PowerPoint to PDF. Firstly, your command line must base on the usage of is docPrint Pro Command Line. Secondly, you are going to use the option as follows to set page orientation:
-O <orientation> : set orientation to printer
-O 1 : PORTRAIT mode, default
-O 2 : LANDSCAPE mode
The first example below can set the page orientation as portrait mode when convert a single PPTX to PDF. The second example can convert all the PPT files in the root folder of disk D to PDF and set the page orientation as landscape. Please type a command line as the examples. And please don’t forget to press Enter after that.
- "C:\docPrint Pro v5.0\doc2pdf.exe" -O 1 -i D:\input.pptx -o E:\output.pdf
- "C:\docPrint Pro v5.0\doc2pdf.exe" -O 2 -i D:\*.ppt -o E:\*.pdf
You see, it’s easy when you use docPrint Pro Command Line to convert documents and set options. If you want to get more information about the other applications provided by VeryPDF Document Converter, please visit: http://verypdf.com/artprint/index.html