Convert documents of TXT to image and set resolution by command line

If you want to set resolution for the target file when you convert the document of txt to image file by command line, please think about the application Document Converter which is a professional document converter designed for converting any printable documents to various image formats.

In Document Converter, there are three internal applications designed for different purposes for different people. You can use the command line application to develop software when you want to embed or redistribute the application to your applications. If you want to convert the documents to images in batch, you can use the GUI application. The virtual printer application can be used to save paper and ink when you print documents.

For setting resolution for the target file in the conversion process, please choose the command line application which is a better choice. It allows you to set different parameters for the target file within three steps. But you should download the application at http://www.verypdf.com/artprint/docprint_pro_setup.exe and install it on your computer until you see the executable file doc2pdf.exe appear in the installation folder.

At the beginning of the conversion from txt to image, you should open MS-DOS interface for inputting the commands in it. Please click “Start”—“Run” to open “Run” dialog box. In “Open” combo box of “Run” dialog box, you need to input “cmd” or “CMD” and click “OK” button.

Then you should input the command line into MS-DOS interface. The command line contains called program, parameter for setting resolution, source file and target file. For better understanding the command line you should input, please see the following example:

doc2pdf –r 500 –i C:\document.txt –o C:\image.tiff

Where

  • doc2pdf stands for the called program.
  • –r 500 is for setting resolution for the target file as 500 DPI.
  • –i C:\document.txt stands for the path of source file.
  • –o C:\image.tiff is the name of target file. We take the TIFF image as the example of output file. Of course, you can also change it to other format image.

If you want to change the resolution, you can also use other number in the command line. When you finish inputting the command line, please click “Enter” button to run the conversion from txt to image in the end.

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!