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

Only three steps will be able to solve the problem of converting document of odt to image. At the same time, you can also set resolution for the target file in the conversion process just by using commands. In this article, you will see the specific resolving methods.

But at first, let’s come to some acquaintance to the application you need. The application to be used in this conversion is the internal application of Document Converter—doc2pdf.exe which is the command line application. You can use doc2pdf.exe to convert any printable documents to image formats. You can also use the command line application to develop new applications to implement the function of converting any printable documents to images.

There are also two other internal applications of Document Converter: GUI application which is a good batch converter and the virtual printer application which can be used to save paper and ink.

Please download doc2pdf at https://www.verypdf.com/artprint/docprint_pro_setup.exe. You need to set up the application on your computer for using the executable file smoothly.

Please open MS-DOS interface for converting odt to image by clicking “Start”—“Run” to open “Run” dialog box in which you need to input “cmd” in “Open” combo box and clicking “OK” button. To open “Run” dialog box, you can also use the hot key “Window”+ “R”.

When you input the command line into MS-DOS interface, please refer to the following basic command line sample which contains called program, the parameter for setting resolution, source file and target file.

doc2pdf -i C:\IN.odt -o C:\OUT.bmp -r 200x300

For mastering the commands, you should apply this sample to your own command line. Please see the following example.

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i "C:\Documents and Settings\admin\IN.odt" -o C:\OUT.bmp –r 200x300

In which

(1) "C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" stands for the path of doc2pdf.exe.

(2) -i "C:\Documents and Settings\admin\IN.odt" stands for the path of source file.

(3) -o C:\OUT.bmp stands for the path of target file.

(4) –r 200x300 set the X resolution of the target file as 200 DPI and Y resolution as 300 DPI. You can also set the value as one such as “-r 200” which means X and Y resolution have been set as 200 DPI

Then please click “Enter” button to run the conversion from odt to image for completing all the operations. There are also some other functions about doc2pdf.exe, if you want know, please visit its homepage via clicking here.

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!