To convert MS Office 2010 docx to pdf and set pdf page width and pdf page height during one process, it is a good choice to use DOC to Any Converter Command Line. DOC to Any Converter Command Line has been designed to create any kinds of files from Office files singly or in batches. Moreover, it can help you edit the properties of the objective pdf files, e.g., the objective width and the height of the targeting files. And the format of Office 2010 docx is the same as the official format of Office 2007 docx, so it is same to convert docx of Office Word 2010 to pdf and convert docx of Office Word 2007 to pdf with DOC to Any Converter Command Line.
Here is the method to convert docx file to pdf file with DOC to Any Converter Command Line.
First, please click “Windows+R”, and select “Run” on start menu, then please type “cmd.exe” or “cmd” into the dialog box “Run”, and press “ok” in order to open the command prompt window in your computer, which is just the operating environment of DOC to Any Converter Command Line in Windows systems.
Second, please run DOC to Any Converter Command Line at the current directory of the command prompt window. To start DOC to Any Converter Command Line in the command prompt window, you need to input the path of “doc2any.exe”, or you can use another direct way: drag and drop the program of ‘doc2any.exe’ into the command prompt window.
Third, you can set the targeting options after you launch DOC to Any Converter Command Line in the command prompt window. To realize that, please input the relative parameters in the command prompt window, and for this conversion, you need to input the parameters that helps you edit the pdf page width and pdf page height, thus, for example, input “-width 800 –height 500” in the command prompt window in order to set the width and the height of the pdf file as 800 and 500. Likely, you can input other parameters to set other properties of the pdf file in the command prompt window.
Fourth, please input the path of the docx file in the command prompt window in order to add it for this process, or there is an easy way to add the source file for the conversion, which is to drag and drop the docx file into the command prompt window.
At last, please select the targeting folder for the pdf file by the way of typing the objective path in the command prompt window. Then, you need to make this conversion started, to realize it in the command prompt window, you need to click “enter”, then DOC to Any Converter Command Line can help you convert Office 2007 docx to pdf and set pdf page width and pdf page height quickly. The following command line is an example about this process with DOC to Any Converter Command Line:
d:\doc2any_cmd\doc2any.exe –width 800 –height 500 f:\abinput\abc.docx f:\aboutput\abc.pdf<enter>
Here “<enter>” stands for one essential click on “enter”, which is emphasized by “<>”.
If you want to convert Office 2010 docx file to pdf file and set the width and the height in batches with DOC to Any Converter Command Line, please refer to the following command line, where the key point to get the batch process is to replace the file names in the paths with “*”:
d:\doc2any_cmd\doc2any.exe –width 800 –height 500 f:\abinput\*.docx f:\aboutput\*.pdf<enter>
By now, this article nearly come to the end, which is about the process of Office 2007 and Office 2010 docx to pdf with the specific pdf page width and pdf page height. Here is the download link of DOC to Any Converter Command Line: https://www.verydoc.com/doc2any_cmd.zip, if you click this link, the trial version of DOC to Any Converter Command Line can be downloaded freely, so please do not hesitate to click it right now!
If you want to know more about DOC to Any Converter Command Line, please click this link: https://www.verydoc.com/doc-to-any-options.html, where more parameters about DOC to Any Converter Command Line can be obtained conveniently. Thank you for your reading!