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

You are allowed to convert the document of odt to image and set image size with just only some easy operations. You need to choose a suitable tool application to work for you. The command line application doc2pdf.exe is an excellent helper which supports to convert any printable documents to image formats and you just need three steps to finish the whole process.

The command line application doc2pdf.exe one application of Document Converter which is a professional document converter with three internal applications for meeting different needs. The GUI application can be used in batch conversion for it is a good batch converter. The command line application can be used by software developer to develop software for implementing the function of converting documents to various images. The virtual printer application is a useful tool for you when you print documents for it is able to save paper and ink.

For the purpose of using doc2pdf.exe, you need to download it at http://www.verypdf.com/artprint/docprint_pro_setup.exe and you should install it on your computer to get the executable file.

Please see the following steps for converting odt to image and setting image size. We can take BMP format image as the example of output image.

Step1. Please open MS-DOS interface. You should click “Start”—“Run” to open “Run” dialog box or you can use the hot key “Window”+ “R” to open “Run” dialog box. Then please input “cmd” in “Open” combo box and click “OK” button and you will see MS-DOS interface pop up.

Step2. Just input the command line into MS-DOS interface. The command line for converting odt to image and setting output image size contains four parts: called program, source file, target file and the parameter for setting image size. You can see the following command line sample.

doc2pdf –i C:\source.odt –o C:\target.bmp –w 300 –h 200

For better applying the sample, you need to see the real example about it.

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i "C:\Documents and Settings\admin\Desktop\demo\source.odt" -o C:\target.bmp -w 300 -h 200

Where

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" is the path of doc2pdf.exe. If you don’t want to input so lone path, you can directly drag the executable file into the command line window for convenience.

-i "C:\Documents and Settings\admin\Desktop\demo\source.odt" stands for the path of source file.

-o C:\target.bmp is surely the path of target file.

-w 300 -h 200 is the width and height values of target file, which are specified as 300 and 200 pixels.

Step3. You need to finish the conversion from odt to image by clicking “Enter” button on your keyboard and the target file will come out automatically opened by the default image viewer of your computer when the conversion is over.

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!