Convert text to pdf and set page width and height with a fast way

This article aims to tell you how to convert text to pdf and set the pdf page with and pdf page height with DOC to Any Converter Command Line flexibly and quickly. Here are the steps if you want to know more details for this process with DOC to Any Converter Command Line:

Step1. Start the operating environment

Here the operating environment is about the specific running environment of DOC to Any Converter Command Line. For DOC to Any Converter Command Line is a tool working based on the command line, and for the command line, the command prompt window is the operating environment in Windows platforms, it is essential to open the command line for the purpose of launch DOC to Any Converter Command Line to process the task. Thus, in your computer with Windows systems, if you want to run the command prompt window, please click “start” > select “Run” > input “cmd” or “cmd.exe” and press “ok” in your computer.

Step2. Launch DOC to Any Converter Command Line

To launch DOC to Any Converter Command Line, you need to type the path of “doc2any.exe” into the command prompt window, or drag and drop the program of “doc2any.exe” into the command prompt window.

Step3. Input the command line to start the process

After you launch DOC to Any Converter Command Line in the command prompt window, you can input the parameters in order to edit the pdf page width and pdf page height. And the parameters are “-width <int>” and “-height <int>”, where “<int>” can be any values separately according to your will. For instance, you can make “<int>” as 1100 and 920, then it means you will set the width and the height of the pdf file as 1100 and 920 separately.

Then, please input the path of the text file in the command prompt window in order to add the text file for this process from text to pdf. And after that, you need to type the objective path into the command prompt window in order to select the targeting folder for the pdf file and name it flexibly in the command prompt window. Then, you can start this conversion by the way of pressing “enter” in the command prompt window. Here is the command line below, for example:

D:\doc2any_cmd\doc2any.exe –width 1100 –height 920 F:\abin\abd.txt F:\about\abd.pdf<enter>

where “<enter>” is used to tell you it is essential to click “enter” in the command prompt window with “<>”.

Anyway, it is the command line about editing the width and the height of the pdf file with DOC to Any Converter Command Line, you can also input other parameters in order to set other properties of the objective file. If you do not need to edit the objective properties, you can skip that step to next step, which is to add the source file directly after the launching of DOC to Any Converter Command Line. Here is the example below:

D:\doc2any_cmd\doc2any.exe F:\abin\abd.txt F:\about\abd.pdf<enter>

After you know the entire conversion with DOC to Any Converter Command Line, if you are interested in DOC to Any Converter Command Line, here is a chance to get the trial version of DOC to Any Converter Command Line from this link for free: https://www.verydoc.com/doc2any_cmd.zip. Then you can unzip the folder to your computer, and call "doc2any.exe" directly to run DOC to Any Converter Command Line in your computer.

At the end of this article, to know more of DOC to Any Converter Command Line, you can visit its homepage through this link: https://www.verydoc.com/doc-to-any-options.html, where also you can get more proper parameters for DOC to Any Converter Command Line and more real examples about other kinds of conversion with DOC to Any Converter Command Line. Thank you for reading this article about how to convert text to pdf and set pdf page width and pdf page height with  DOC to Any Converter Command Line.

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!