Convert documents of TXT to PDF by command line

You will see how to convert the document of txt to pdf in this article and the information about the application to be used in the conversion. If you don’t know how to deal with this conversion, please read the following contents and if you have any questions about the conversion or the application, you can leave the reply and we can solve them for you.

If you want to convert the document of txt to pdf by command line, you should use the command line application. The command line application of Document Converter will do you a great favor and you need to download it at for free trial.

Just install the command line application on your computer and you should use the executable file doc2pdf.exe in the installation package as the called program and call it in MS-DOS interface. So at the beginning of the conversion from txt to pdf, you need to open MS-DOS interface.

Please click “Start”—“Run” or use the hot key “Window”+ “R” to open “Run” dialog box in which you need to type “cmd” in “Open” combo box. Then click “OK” button, which are all for opening MS-DOS interface.

The command line you should input are three parts: called program, source file and target file. The called program is the executable file we mentioned in the above contents. The source file is the TXT document you want to convert and the target file is the PDF document you need to get.

doc2pdf –i C:ee.txt –o C:\ee.pdf

The command line above is the one you should refer to when you write your own application. In the command line, doc2pdf stands for the called program, the option –i with C:ee.txt stands for the path of source file and the option –o with C:\ee.pdf stands for the name of target file.

After inputting the command line, please click “Enter” button on the keyboard to start the conversion from txt to pdf.

The command line application is one part of Document Converter which is a professional document converter combined with three internal applications—command line application, GUI application and virtual printer application. The command line application is a good helper to software developer when they want to develop software. The GUI application has a friendly interface and you can use it to make batch conversion more conveniently. The virtual printer application is an excellent tool to save paper and ink.

If you want to learn more about Document Converter or buy the application, please click the following URL:

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!