Convert documents of RTF to PNG by command line

When you see the problem “How to convert the document of rtf to png?”, you may think about the tool to be used and the conversion method you should take. In fact, the tool to be used directly decides the difficulty of conversion method, which means that if you choose a suitable application, the conversion process will be easy and fast.

What application you’d better use?

It is good for you to choose an application which is able to convert any printable documents to image formats. The command line application doc2pdf.exe is a such kind application. In the conversion process, it can also set different parameters for the target file. The application doc2pdf.exe is also a good helper to the software developers who want to develop software.

To use doc2pdf.exe, you need to download it at https://www.verypdf.com/artprint/docprint_pro_setup.exe and install it on your computer. Just by calling the executable file doc2pdf.exe in the installation folder, you will be able to fulfill the conversion easily.

How to convert rtf to png?

For converting the document of rtf to png, you should follow the operations below.

The first step is to open MS-DOS interface which is the conversion platform for inputting the command line. Please use the hot key “Window”+ “R” to open “Run” dialog box and input “cmd” or “CMD” into “Open” combo box and click “OK” button. You can also click “Start”—“Run” to open “Run” dialog box.

The second step is to write the command line into MS-DOS interface. The command line is like the following one:

doc2pdf –i C:\Input.rtf –o C:\Output.png

From the command line sample above, you can see there are three parts in it: called program, source file and target file.

For better understanding the command line, you can see the following command line example in which all the files have been changed as file paths.

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i "D:\Input.rtf" -o D:\Output.png

In the command line,

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

-i "D:\Input.rtf" is the path of source file and you cannot lose “-i” before the path.

-o D:\Output.png is the path of target file and you need to specify it yourself. “-o” cannot be lost, either.

In the end of the conversion from rtf to png, you should hit “Enter” button for running the conversion. When it is finished, the target file will pop up itself on the screen for you to check.

VN:F [1.9.20_1166]
Rating: 1.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Convert documents of RTF to PNG by command line, 1.0 out of 10 based on 1 rating

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!