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

By using the command line application of Document Converter, you can realize the conversion from rtf to image and set resolution for the target file. The whole conversion process is easy enough, which are only three steps. The command line application has the ability to convert any printable documents to image formats and you can use it to develop software if you are a software developer.

In fact, there are also two other internal applications in Document Converter—GUI application and the virtual printer application. By using the GUI application which has a clear and friendly interface, you can make batch conversion easily and quickly. With the help of the virtual printer application, you can save paper and ink by scaling page sizes or combining pages on one single sheet when you print documents.

For smoothly using the command line application, you can download the free trial version of it at http://www.verypdf.com/artprint/docprint_pro_setup.exe and set up it on your computer. After trial, you can buy it at http://www.verypdf.com/order_docprintpro.html to use all the functions of the command line application.

The following contents are the three steps about converting rtf to image and setting resolution for the image. In this article, we can take GIF format as the example of output image.

The first step—Open MS-DOS prompt window

For inputting the command line, you have to open MS-DOS interface at first. You should click “Start”—“Run” to open “Run” dialog box in which you can type “cmd” in “open” combo box and click “OK” button. You can also use the hot key “Window”+ “R” to open “Run” dialog box.

The second step—Input command line

In the command line, there are four parts—called program, parameter for setting resolution for the target image file, source file and target file, all of which make up the following sample:

doc2pdf –r 100 –i D:\A.rtf –o D:\B.gif

If you cannot understand the sample above better, please see the following specific example:

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" –r 100 -i "D:\A.rtf" -o D:\B.gif

Where

  • "C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" is the path of called program. For getting the path, you can drag the file from its folder to MS-DOS prompt window.
  • –r 100 is for setting resolution of the target file as 100 DPI.
  • -i "D:\A.rtf" means the path of source file.
  • -o D:\B.gif is the path of target file.

The last step—Run the conversion

To run the conversion from rtf to image and set resolution, please hit “Enter” button on the keyboard. The target file will be saved in the specified location automatically when the conversion comes to 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!