Convert documents of TXT to PNG by command line

It is not a difficult task if you want to convert the document of txt to png by command line when you choose a right application as your tool. For example, Document Converter is an application tool which can help you do this kind of job because it is able to convert any printable documents to various image formats.

Document Converter works in three internal applications. If you want to convert documents to images in batch, you can choose the GUI application which has a friendly and clear interface that can be accepted well by most of people. If you want to develop new applications and need to embed the application into your developed software, please use the command line application. The virtual printer application is able to be used as a paper and print saver because it can scale page size and combine several pages on one single sheet.

To convert the document of txt to png by command line, you should use the command line application of Document Converter. Before using it, you should download the application at for free trial. If you want to use all the functions of the application, please buy it at the following webpage:

After downloading the application, please install it on your computer and the executable file doc2pdf.exe will appear in the installation package. It is the called program in the conversion from txt to png.

At the beginning of the conversion, please open MS-DOS interface for inputting the command line. You can click “Start”—“Run” or use the hot key “Window”+ “R” to open “Run” dialog box and type “cmd” in “Open” combo box. Then please click “OK” button.

When you input the command line in MS-DOS interface, you should remember that the command line is consisted of three parts: called program, source file and target file. These three parts make up the following command line which is an example for your better understanding.

doc2pdf –i C:\12.txt –o C:\34.png

From the command line above, you will see the called program doc2pdf.exe will convert the input file C:\12.txt to output file C:\34.png. When you input the command line, you should use the paths of each file in the command line.

At last, please click “Enter” button on the keyboard to run the conversion from txt to png and you just need to wait for a while until the conversion is over and then you will be able to check your target file in the specified 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

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!