Convert txt to pdf and set page margin of pdf

How to convert txt to pdf and set page margin of pdf conveniently? Well, I think it is not hard to use DOC to Any Converter Command Line to solve this problem in your computer. Besides, DOC to Any Converter Command Line can help you deal with it in a few seconds! Well, if you think it is a little incredible, you can read the following paragraphs to know the truth.

To process this task with DOC to Any Converter Command Line, you can follow the steps below:

1. Open the command prompt window after you download DOC to Any Converter Command Line from this link: https://www.verydoc.com/doc2any_cmd.zip

In your computer, you need to run ‘cmd.exe’ to open the operating environment of DOC to Any Converter Command Line. In Windows systems, it is the command prompt window. You can click “Windows + R” > type “cmd.exe” > click “ok” in your computer, then the command prompt window can be popped out on your screen.

2. Call “doc2any.exe” and process this task step by step

First, please in the opened command prompt window type the path of “doc2any.exe”, for it can help you call “doc2any.exe”, which is a way to run DOC to Any Converter Command Line in the command prompt window. And then you need to do the following things in turns in the command prompt window: edit pdf page margin > add single txt file > save single pdf file:

To edit pdf page margin, you can input this parameter “-margin <string>”, and here “<string>” can be “100x100” so that this parameter can be “-margin 100x100”, which can help you edit left and top margin of pdf as 100, 100, for example; to add single txt file, you can type its path into the command prompt window directly; to save single pdf file, you need to input a targeting path into the command prompt window.

And then, after you finish all the prepared work like above, it’s time to click “enter” in the command prompt window so that DOC to Any Converter Command Line can help you produce single pdf file immediately.

And if you want to know more about this kind of command line, here is the one that is about the process from txt to pdf and set page margin of pdf below:

D:\doc2any_cmd\doc2any.exe –margin 100x100 F:\input\a.txt E:\ouput\a.pdf

Besides this single process containing setting page margin of pdf, DOC to Any Converter Command Line can help you produce pdf files from dozens of txt files one time. For instance, if you want to convert all the txt files in the folder “input”, you can input an uniform source path and an universe targeting path into the command prompt window with “*”, then click “enter”. Any more questions about the batch process, you can refer to the following one:

D:\doc2any_cmd\doc2any.exe –margin 100x100 F:\input\*.txt E:\ouput\*.pdf

Well, by now, if you want to know more parameters besides “-margin <string>”, which is used in the process from txt to pdf, you can visit the homepage of DOC to Any Converter Command Line by the way of clicking this link: https://www.verydoc.com/doc-to-any-options.html.

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!