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

Do you want to convert the document of rtf to image and set image size by customizing the image width and height in the conversion? If so, you can choose the command line application of Document Converter as your tool because it can convert any printable documents to image formats and set different parameters for the target file.

Document Converter is a professional document converter with three internal applications which are designed for different users. If you are a software developer, you may need the command line application as your helper when you develop software basing on Document Converter. If you want to convert documents to images in batch, you can choose the GUI application for it has a friendly interface which is easy to operate. If you want to print documents, you need to choose the virtual printer application for it is a good tool to save paper and ink for you.

There are three steps for converting rtf to image and setting image size. Before working, you should download the command line application at https://www.verypdf.com/artprint/docprint_pro_setup.exe for free trial. If you want to use all functions of the application without any limitations, please buy it at https://www.verypdf.com/order_docprintpro.html. The following contents are the steps for converting rtf to image.

1. Please open MS-DOS interface at first to input the command line in it. You can click “Start”—“Run” or use the hot key “Window”+ “R” to open “Run” dialog box in which you need to type “cmd” or “CMD” in “Open” combo box. Then please click “OK” button to open MS-DOS interface. You can also use the hot key “Window”+ “R” to open “Run” dialog box.

2. The command line which contains called program, parameter for setting image size, source file and target file must be inputted into MS-DOS interface. When you install the command line application on your computer, you will see an executable file named as doc2pdf.exe in installation folder, which is the called program file. Please see the following command line template:

doc2pdf –w 500 –h 300 –i C:\1.rtf –o C:2.tiff

In the template, the output image format is TIFF which is just an example.

You should see the following command line example for your better understanding it.

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" –w 500 –h 300 -i "C:\Program Files\1.rtf" -o “C:\Program Files\2.tiff”

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" is the path of doc2pdf.exe which is the called program. For getting the file path, you can directly drag the file you need into MS-DOS interface.

–w 500 –h 300 is the parameter for setting image size, which means the width and height of the image have been set as 500 and 300 pixels.

-i "C:\Program Files\1.rtf" stands for the path of source file.

-o “C:\Program Files\2.tiff” stands for the path of target file.

3. Please click “Enter” button to run the conversion from rtf to image, which is the last step in the conversion.

If you want to read more articles about the the command line application, please enter the blog: VeryPDF Knowledge Base.

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!