Convert documents of RTF to grayscale image by command line

For the purpose of converting the document of rtf to grayscale image, you can use the command line application Document Converter to help you. With the powerful functions, you can easily fulfill the conversion only by three steps. If you are being puzzled by this problem, you should read this article carefully and you will get some useful information.

If you have never heard of Document Converter, you can get some acquaintance to it. Document Converter is an expert document converter which is able to convert any printable documents to image formats. There are three internal applications in Document Converter and you can use any one of them to meet your needs.

For example, if you want to make batch conversion, you can choose the GUI application because the friendly interface will make the conversion operations more easily. If you are a software developer, you can use the command line application to develop your own applications. If you want to save paper and ink when you print documents, you can use the virtual printer application.

For using the command line application, you should download it at and install it on your computer. The called program of the conversion from the document of rtf to grayscale image is the executable file doc2pdf.exe in installation directory.

Please see the following contents for converting the document of rtf to grayscale image. At first, please open MS-DOS prompt window. You can use the hot key “Window”+ “R” or click “Start”—“Run” to open “Run” dialog box in which you should input “cmd” in “Open” combo box and click “OK” button.

The command line to be inputted in the opened MS-DOS prompt window includes called program, parameter for creating grayscale image, source file and target file. When you write the command line, you should use the path of each file. Please see the specific example below.

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" –y -i "D:\My Documents\input.rtf" -o D:\output.png

In the command line,

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" is the path of called program—doc2pdf.exe.

–y is for creating 8-bit grayscale image.

-i "D:\My Documents\input.rtf" is the path of source file.

-o D:\output.png is the path of target file which is specified by yourself.

Here we take PNG as the example of output image.

Then please click “Enter” button on your keyboard to run the conversion from rtf to grayscale image and the conversion will come to the end several seconds later.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Random 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!