How to set page orientation and convert Word to PDF via command line?

When convert Word to PDF, if you find that there are many vertical and horizontal pages, images, or tables, you may need to set page orientation to make. You can use VeryPDF Document Converter (docPrint Pro) to help you solve your problem. This application can convert all printable formats like Word, TIFF, and EMF to various formats including PDF, PS, and image file formats. It also provides a lot of options to enable you to set output properties, change page orientation, and add watermarks during the process of convert documents.

VeryPDF Document Converter provides multiple versions. Because you want to use command line, you should download the command line version. Every version can be used free for dozens times, and will leave a watermark on each page of the output file. However, if converting documents is an office routine, you should get a license. To purchase, please click Full version.

After you install this application, please take two steps to set page orientation and convert Word to PDF via command line.

1. Open the command prompt window

Different ways should be employed to open the command prompt window, if you are in different Widows operating systems. Taking Windows XP as an example, you can do as follows to open it: click Start on the left end of the tool bar at bottom of the screen; then, you should click Run on the Start menu. After that, type “cmd” in the Run dialog box. At last click OK in the dialog box.

2. Type a command line and press Enter

Before typing a command line, please take a look at the following usage, related option, and examples. They might be helpful for you to decide what should be included in a command line to set page orientation and convert Word to PDF.

  • Usage: doc2pdf [options] <-i input file> [-o output file]
  • Related option: -R <Rotate>
  • Example: "C:\docPrint Pro v5.0\doc2pdf.exe" -r 270 -i C:\in.doc -o D:\out.pdf

In the usage, doc2pdf represents the executable file. [] mark options, and <> mark essential contents. The related option can be used to set page orientation, and it allows 90, 180, or 270 to be the parameter value. In the example, -r 270 is the option that is used to set 270 as the rotating degree.

If you want to know other options, please type the directory of the executable file alone in the command prompt window. To get more information about VeryPDF Document Converter, please visit the product page of it. To buy it, please click Purchase.

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!