Convert MS Office 2010 xlsx to pdf and set page width and height

If you want  to set pdf page width and pdf page height during the conversion from MS Office 2010 xlsx to pdf, DOC to Any Converter Command Line is your best choice. DOC to Any Converter Command Line can help you create any kinds of files from any kinds of Office files based on the command line in Windows systems, which includes the files of MS Office and OpenOffice. By the way, xlsx is the format of MS Excel 2007 and 2010 in Windows systems, thus, if you want to know more about this conversion, which is about the process from Office 2007 xlsx file to pdf file with DOC to Any Converter Command Line, please read the following paragraphs.

1. Install DOC to Any Converter Command Line

Click the following link, you can download DOC to Any Converter Command Line in your computer:

https://www.verydoc.com/doc2any_cmd.zip

Then, please unzip the download to your computer so that the folder “doc2any_cmd” can be in your computer, which contains "doc2any.exe".

2. Start to process the task

First, before you start to process the task, the running environment of DOC to Any Converter Command Line needs to be run in your computer. For Windows systems, the command prompt window is the operating environment of DOC to Any Converter Command Line. Thus, please follow the steps below to start it in your computer:

Click “start” > select “Run” > get a dialog box “Run” > input “cmd.exe” > press “ok”

Second, after you open the command prompt window, you need to get the prepared work done in the command prompt window, which can be listed in turns as follow:

  • set the options of the pdf file: use the relative parameters to input them in the command prompt window; to set pdf page width and pdf page height, please input “-width <int> –height <int>” , where “<int>” can be any value separately and accordingly
  • add the xlsx file for this process: to realize it with the command line, please type the path of the xlsx file into the command prompt window
  • assign a targeting folder for the pdf file: to realize it, please type the targeting path into the command prompt window

If you think the description above is not very clear, you can refer to the following command line, which is an example to convert Office 2010 and Office 2007 xlsx to pdf:

d:\doc2any_cmd\doc2any.exe –width 999 –height 600 f:\input4\in.xlsx f:\output4\out.pdf<enter>

At last, when you finish the basic prepared work, please do not forget clicking “enter”, which can help you start the conversion in the command prompt window quickly.

When you want to process your own task with DOC to Any Converter Command Line, please follow the steps above and change the directory and the paths accordingly in the command prompt window. Moreover, the command line above can be copied and pasted into the command prompt window, then the relative directory and the paths can be replaced by your own ones.

If you want to know more parameters for DOC to Any Converter Command Line, please go to the homepage of DOC to Any Converter Command Line from this link: https://www.verydoc.com/doc-to-any-options.html, where more information of DOC to Any Converter Command Line and more amazing examples can be found, too.

By now, it is the end about this article, if you have any questions about the process from  Office 2010 and Office 2007 xlsx to pdf with the pdf page height and pdf page width, please drop a comment here, we will solve your problems asap! Thank you!

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!