Last Saturday, my sister asked me to help and teach her to set page size and convert Word to PDF via. Usually, she would prefer to use the GUI (graphic user interface) version of VeryPDF Document Converter, her favorite desktop tool. But this time, she told me, because she had a lot of documents to convert, and she would like to try the version of VeryPDF Document Converter to convert the documents. And yes, she was right: we found the version of VeryPDF Document Converter was really powerful.
If you want to convert Word to PDF and set page size via command line, I would like to recommend VeryPDF Document Converter. Oh, you can click hereto download the command line version of this product. It’s good, because it support batch conversion accurately. All the original text, formats, graphics, layout can be well maintained. The following are the two steps we take to set page when convert our Word document to PDF files via command line.
The first step is to open the command prompt window. VeryPDF Document Converter can support all Windows operating systems. But the OS of my computer is Windows 7, so, I would like to show you how to open the command prompt windows in Windows 7: You should click on the Start button to open the Start menu, > click All Programs,> click Accessories, >click Command Prompt.
The second step is to type a command line in the command prompt window and press Enter on keyboard. According to the basic usage of the main executable file of VeryPDF Document Converter: doc2pdf [options] <-i Document File> [-o Output file], you should type a command line as the following one: “C:\docPrint Pro v5.0\doc2pdf.exe” –f 8 -i C:\*.doc -o D:\*.pdf
- “C:\docPrint Pro v5.0\doc2pdf.exe”—the directory of the executable file
- -f 8—the option that can be used to set standard paper size
- You can select either standard paper size or user defined paper sizes by setting different option parameter values. For example, -f "11x17in" is defined by user. It sets 11x17inch to be the paper size. If you want to know more standard papers, please standard papers.
If you want to see more examples about how to use VeryPDF Document Converter, please click the directory of the executable file in the command prompt window and press Enter. Do you think the method is helpful? If you want to know how to set other options as convert Word to PDF via command line, please let me know by leaving a message.