Convert txt to pdf and set page width and height

DOC to Any Converter Command Line is a multi-functional tool for the creation of any kinds of files from the Office files singly or in batches, based on the command line in Windows systems. And this article is to tell you how to convert txt to pdf and edit the pdf page width and pdf page height with this dreaming converter---DOC to Any Converter Command Line.

To use DOC to Any Converter Command Line, firstly, you need to know where this tool can work. For Windows systems, the command prompt window is the running environment of DOC to Any Converter Command Line, and like what I mentioned above about DOC to Any Converter Command Line--- DOC to Any Converter Command Line needs to work based on the command line, it is equal to open the running environment of the command line and run the operating environment of DOC to Any Converter Command Line in Windows platforms. Thus, to start the command prompt window for the running of DOC to Any Converter Command Line, you need to click “Windows + R”, and type “cmd.exe” or “cmd” into the dialog box of “Run”, then press “ok”, finally, the command prompt window can be opened in your computer.

Then, to launch DOC to Any Converter Command Line in the command prompt window, you can type the path of “doc2any.exe” into the command prompt window at the current directory of “C:\Documents and Settings\admin>”. And in my example below, the path of “doc2any.exe” is as follow:

g:\doc2any_cmd\doc2any.exe

After DOC to Any Converter Command Line is launched in the command prompt window, it’s time to set the options of the objective pdf file. And in the command prompt window, it is easy to set the pdf page width and pdf page height with the parameters, which are “-width <int> –height <int>”. For instance, you can type “-width 1000 –height 900” into the command prompt window in order to edit the width and the height of the pdf file as 1000 and 900. Likely, you can edit other options of the pdf file by the way of typing other parameters into the command prompt window directly, after you launch DOC to Any Converter Command Line in the command prompt window.

g:\doc2any_cmd\doc2any.exe –width 1000 –height 900

So far, you should add the txt file for this process. In the command prompt window, you can type the path of “doc2any.exe” into the command prompt window, which can help you add the txt file for this conversion from txt to pdf.

g:\doc2any_cmd\doc2any.exe –width 1000 –height 900 f:\ainput\ab.txt

Then, in turns, before the process is started, you need to get a destination folder for the pdf file in order to save it in your computer, and likely, in the command prompt window, it is convenient to input the objective path in the command prompt window directly, which can not only help you save the objective pdf file, but also help you assign a file name for the pdf file. At last, to start this conversion, please press “enter” in the command prompt window.

g:\doc2any_cmd\doc2any.exe –width 1000 –height 900 f:\ainput\ab.txt f:\aoutput\ab.pdf<enter>

(note: “<>” stands for the essentiality in the command line; “<enter>” is to press “enter”, which is essential to start the process with DOC to Any Converter Command Line)

Here, the latter command line is about the entire conversion from txt to pdf with DOC to Any Converter Command Line, and you can change the directory and the paths separately following the steps above to get your own process easily.

If you are interested in DOC to Any Converter Command Line, please click the following link to download the trial version of DOC to Any Converter Command Line to experience: https://www.verydoc.com/doc2any_cmd.zip. And if you want to know more of DOC to Any Converter Command Line and more parameters, it is convenient to click the following link to log on the official website of DOC to Any Converter Command Line: https://www.verydoc.com/doc-to-any-options.html.

At last, thank you for reading this article about how to edit the pdf page with and pdf page height in the process from txt to pdf generally.

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!