Have you ever tried to use VeryPDF Document Converter (docPrint Pro) to set page orientation and convert Office to PDF by? With the assistance of Document Converter, you can quickly get the job done, no matter how many documents are at hand. Three steps would be enough.
First of all, please download VeryPDF Document Converter. After you install it on your computer, you can find an application named docPrint Pro Command Line in the installation folder. And this application is what you are going to need.
Second, open ainterpreter. For example, if you are in Windows XP, please do one of the following:
- Click Start, and click Command Prompt.
- Or Click Start, click Run, type cmd in the Run dialog box and press Enter.
Third, on the command prompt window, please type aaccording to the basic usage of docPrint Pro Command Line, which refers to the executable file doc2pdf.exe in the installation folder. The following is the usage:
doc2pdf [options] <-i Document Files> [-o Output]
The option that can be used to set page orientation is -O <orientation>. There are two values that are permitted. If the option is -O 1, the orientation is portrait. If the option is -O 2, the orientation is landscape. Please take a look at the following examples:
- doc2pdf.exe -O 1 -i D:\in.xlsx -o E:\out.pdf
- doc2pdf.exe -O 2 -i D:\in.xlsx -o E:\out.pdf
- doc2pdf.exe -O 2 -i D:\*.xlsx -o E:\*.pdf
The first two examples can convert a single document of Office to PDF. Example 1 can set page orientation as portrait. Example 2 can set page orientation as landscape. The last example can set page orientation as landscape when convert Office to PDF in a batch. After typing a command line, please press Enter.
This is the method you can use to convert Office to PDF and set page orientation. Just make sure that the letter of the parameter is the capable R. If you are interested in other programs of Document Converter, please visit: http://verypdf.com/artprint/index.html