This article aims to introduce a method to convert Word to pdf and set pdf page width and pdf page height, which are about the process about the single Word file. Here are the details below:
In general, to convert Word file to pdf file, you need to have a converting tool to help you solve this kind of issues. And in this article, I recommend you to use DOC to Any Converter Command Line, which is a professional tool to convert Office files to any kinds of files singly or in batches, based on the command line, which can work in Windows systems. Here is the download link of DOC to Any Converter Command Line: https://www.verydoc.com/doc2any_cmd.zip, click it, DOC to Any Converter Command Line can be yours. Then, extract the folder of “doc2any_cmd” to your computer.
Then you can follow the steps below to process the task with DOC to Any Converter Command Line separately:
This conversion is about how to get an multi-page pdf file from single Word file:
First, open the command prompt window, which is the running environment of DOC to Any Converter Command Line:
Press “Windows + R” > type “cmd.exe” > press “ok”, then the command prompt window can be opened quickly.
Then, please refer to the following command line to accomplish the basic prepared work in the command prompt window:
f:\doc2any_cmd\doc2any.exe –width 1100 –height 888 d:\input2\in1.doc d:\output2\out1.pdf<enter>
- f:\doc2any_cmd\doc2any.exe is the path of “doc2any.exe”, which is used to launch DOC to Any Converter Command Line in the command prompt window
- –width 1100 is the parameter to edit the width of the pdf file as 1100
- –height 888 is the parameter to set the height of the pdf file as 888
- d:\input2\in1.doc is the path of the Word file, which can be used to add the source file for the conversion in the command prompt window
- d:\output2\out1.pdf is the objective path of the pdf file, which is used to save the entire pdf file
- <enter> stands for one click on “enter”, which is an essential operation that is marked with “<>”
When you need to process the task from Word to pdf with the specific pdf page width and pdf page height, you can follow the command line above with the directory and the paths changed accordingly.
To know more useful parameters for DOC to Any Converter Command Line and more information about DOC to Any Converter Command Line, please go to the official website of DOC to Any Converter Command Line via this link: https://www.verydoc.com/doc-to-any-options.html. Any questions about this process of Word to pdf with the specific pdf page width and pdf page height, please let us know asap, and we will reply you as best as we can!