Convert documents of TXT to image by command line

You can use the command line application of Document Converter to convert any printable documents to image formats. So if you want to convert the document of txt to image, you can use it as your tool. In this article, we can take BMP as the example of output image and you can use the command line to convert the document of txt to bmp.

There are three steps in the conversion from txt to image—Open MS-DOS interface, input the command line and run the conversion. Before seeing how the command line application works, you should download it at http://www.verypdf.com/artprint/docprint_pro_setup.exe and experience it on your computer. After you set up it on your computer, you will use the executable file doc2pdf.exe later in your work.

In the following contents, you will see the specific steps about converting txt to image with the command line application and you will get some useful information about the application from the conversion process.

The first step—Open MS-DOS interface.

For inputting the command line, please open MS-DOS interface at first. You can click “Start”—“Run” to open “Run” dialog box in which you should input “cmd” in “Open” combo box and click “OK” button. You can also use the combination “Window”+ “R” on the keyboard to open “Run” dialog box.

The second step—Input the command line

The command line includes called program, source file and target file. The called program is the executable file named as doc2pdf.exe in installation folder of the command line application. The source file is the TXT document you want to convert and the target file is the image file you want to get.

The command line is like the following example:

doc2pdf –i C:\input.txt –o C:\output.bmp

You can see in the command line,

(1) doc2pdf is the called program.

(2) –i C:\input.txt is the path of source file.

(3) –o C:\output.bmp is the name of target file.

The last step—Run the conversion

You should click “Enter” button on the keyboard to run the conversion from txt to image and you should wait for several seconds until the target file appear in output location.

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!