How to convert DOC to PDF and set page size via command line?

If you have VeryPDF Document Converter, which is also named as docPrint Pro, you can take only two steps to convert DOC to PDF and set page size via command line. If not, why not try it free? You can get it by clicking here. After you install it on your computer, you can do as follows to solve your problem.

You should run the command prompt at first. You know, a command prompt is a non-graphical interface which enables you to interact with the operating system. In the command prompt, you can type a command consisting of names followed by options and arguments. If you want to convert DOC to PDF via command line, you should first access to the command prompt. Different methods are usually used to run the command prompt. For example, if you are in Windows XP, you should click Start, >click Run on the Start menu, >type cmd in the Run dialog box as it appears, > click OK in the Run dialog box or press Enter.

The second step is to type a command line in the command prompt interface. Different software products have different executable files, and different executable files have different usages. As for docPrint Pro, its main executable file has the following basic usage: doc2pdf [options] <-i input file> [-o output file].To set page sizes, you are going to use the option –f <paper size>. You can select either standard sizes or user-defined sizes. For example, -f 8 can be used to set a standard paper size. And -f "11x17in" can be used to set 11x17inch as the page size.

Please take a look at the following example which can be used to convert a DOC to PDF and set the page size as 62x72pt: C:\docPrint Pro v5.0\doc2pdf.exe” –f “62x72pt” -i C:\in.doc -o D:\out.pdf. Please press Enter after typing a command line.

You can also use docPrint Pro to convert various kinds of files. Please follow the steps and try to use this application to convert whatever files you want to convert. If you have any question, please feel free to ask. You have 50 times to use this application free. In case you want 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

This entry was posted in docPrint Pro and tagged , . Bookmark the permalink.

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!