Convert documents of TXT to PDF and set PDF keywords by command line

With the help of the command line application of Document Converter, you will be able to easily convert the document of txt to pdf and set pdf keywords in the conversion process because the command line application allows users to convert any printable documents to various image formats and set parameters for the target file.

Before using the command line application, you’d better know something about Document Converter which is a professional document converter combined of three internal applications. They are command line application, GUI application and virtual printer application. The command line application can be embedded or redistributed in new applications developed by software developers. The GUI application is good at batch conversion and the virtual printer application can be used to save paper and ink by scaling page size and combining several pages on one single sheet.

For using the command line application, you can download the free trial version at https://www.verypdf.com/artprint/docprint_pro_setup.exeand set up it on your computer. After the installation, you will see the executable file to be called in the conversion from txt to pdf in the package, which is named as doc2pdf.exe.

Then you will be able to convert the document of txt to pdf. But at first, you should open the conversion platform—MS-DOS prompt window.

To open the prompt window, you can use two ways: One is to click “Start”—“Run” to open “Run” dialog box and type “cmd” in “Open” combo box. Then please click “OK” button. The other one is to use the hot key “Window”+ “R” to open “Run” dialog box.

Then please input the command line which includes called program, source file and target file in MS-DOS prompt window. The command line is like the following example and you can take it as the reference.

doc2pdf –k “txt to pdf” –i D:\File.txt –o D:\File.pdf

In the command line, doc2pdf indicates the called program, –k “txt to pdf” is the parameter for setting pdf keyword as “txt to pdf”, –i D:\File.txt is for specifying the path of source file and –o D:\File.pdf is for setting the name for the target file.

At last, please click “Enter” button on the keyboard to run the conversion from txt to pdf.

If you are interested in the command line application and want to use all the functions of it, please buy the application at https://www.verypdf.com/order_docprintpro.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!