Convert TXT to PDF and combine PDF by command line

If you have several pdf documents, you may want to combine them together for easily browsing, transferring or copying. When you convert the document of txt to pdf, you can also combine pdf together with the help of the command line application of Document Converter. In this article, you will see how to fulfill this conversion and combine pdf documents at the same time.

Before knowing how the command line application works, you should download the application at http://www.verypdf.com/artprint/docprint_pro_setup.exe and install it on your computer. After the installation, the executable file doc2pdf.exe which is the called program in this conversion will appear and you need to call it later. To buy the product for using all the functions of it, please click the following purchasing webpage: http://www.verypdf.com/order_docprintpro.html.

There are also two other internal applications in Document Converter—GUI application and virtual printer application. The GUI application can be used to make batch conversion for it has a friendly and clear user interface which can be accepted by most of people. The virtual printer application is a good paper and ink saver because it is able to scale page size and combine several pages on one single sheet.

The conversion has three steps and you should see them in the following contents:

1. At the beginning of the conversion from txt to pdf, you should open MS-DOS prompt window because it is the conversion platform and you need to input the command line in it. Please click “Start”—“Run” or use the hot key “Window”+ “R” to open “Run” dialog box in which you can input “cmd” in “Open” combo box and click “OK” button.

2. Then please input the command line in popup MS-DOS prompt window. The command line is made up of called program, parameter for combining pdf documents, source file and target file. You can refer to the following template to write you own one:

doc2pdf –p 1 –i C:\11.txt –o C:\22.pdf

Where

doc2pdf stands for the called program and you should use its path when you call it in the prompt window.

–p 1is to insert before first page if PDF file exists. You can also change the number “1” as “2” which means to append to last page if PDF file exists.

–i C:\11.txt stands for the path of source file.

–o C:\22.pdf means the name of target file.

3. The last step in the conversion from txt to pdf is to hit “Enter” button for running the conversion and several seconds later, you will get the target file in specified location you have just set in the 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

This entry was posted in docPrint Pro and tagged , . Bookmark the permalink.

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!