Convert xls to pdf and set page width and height

With DOC to Any Converter Command Line, you can not only convert xls to pdf, but also set pdf page width and pdf page height flexibly, for DOC to Any Converter Command Line is a professional tool to help you create any kinds of files from Office file singly and in batches generally. If you want to know how to get the pdf file from the xls file, you can read the following part of the article.

First, you can press this link to download DOC to Any Converter Command Line in your computer: https://www.verydoc.com/doc2any_cmd.zip, then please release the folder of “doc2any_cmd” to your computer.

Second, after you install DOC to Any Converter Command Line, you need to run the operating environment of DOC to Any Converter Command Line in your computer. And for Windows platforms, the command prompt window is the running environment of DOC to Any Converter Command Line. Thus, please start the command prompt window firstly in your computer, and to start it in your computer, you need to press “Windows + R” to get a dialog box named “Run”, then in this dialog box, please input “cmd.exe” and press “ok”, then the command prompt window can be opened automatically.

Third, please run DOC to Any Converter Command Line in the command prompt window. After you start the command prompt window, you can see there is a current directory in the command prompt window, which is as follow:

C:\Documents and Settings\admin>

At this directory, you can type the path of the program “doc2any.exe” into the command prompt window in order to launch DOC to Any Converter Command Line in your computer.

Finally, in the command prompt window, after the running of DOC to Any Converter Command Line, please input the command line in order to get the prepared work done for the process of xls to pdf with the specific pdf page width and pdf page height. To realize that in the command prompt window, you need to follow the steps below:

  • edit the width and the height of the pdf file

in the command prompt window, to set the width and the height of the pdf file, you need to type the parameters separately into the command prompt window, which are “-width <int>” and “-height <int>”, where “<int>” can be any value and <> stands for the essentiality in the command line

  • add the xls file for the conversion

to realize it in the command prompt window, you need to input the path of the xls file in the command prompt window, or drag and drop the xls file into the command prompt window

  • set the objective folder and customize the targeting file name

To set the targeting folder and name the objective file in the command prompt window, please input the objective path in the command prompt window, which can help you solve the tough issues in this step

Then, after you get all of the prepared work done, you need to click “enter” in the command prompt window in order to run the conversion, DOC to Any Converter Command Line can help you process the task quickly, and here are the command line about this process below, I hope it can help you in some aspects:

e:\doc2any_cmd\doc2any.exe –width 1000 –height 888 f:\abinput\abcd.xls f:\aboutput\abcd.pdf<enter>

(note: “-width 1000 –height 888” are to set the width and the height of the pdf page as 1000 and 888; <enter> represents the essential part in the command line, which is to click “enter” in the command prompt window)

Anyway, for you, it is convenient to copy and paste the command line above into your command prompt window without the same path and the directory retained to process your own task in the command prompt window. And if you would like to know more parameters, please visit the homepage of DOC to Any Converter Command Line through this link: https://www.verydoc.com/doc-to-any-options.html. Also you can find more information of DOC to Any Converter Command Line from the link above, and so far, thank you for reading this article about the process from xls to pdf with the specific pdf page width and pdf page height.

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!