Convert OpenOffice to image and set image size by command line

The application Document Converter is an expert in converting any printable documents to image formats and it supplies three kinds of internal applications—command line application, GUI application and virtual printer application. They can all realize their own functions respectively and meet different needs from different users.

For example, if you want to convert the document of OpenOffice to image format and set image size to the target file, you can use the command line application for it can convert any printable documents to image formats and set parameters to the target file. The GUI application is good at batch conversion and the virtual printer application if a good tool for your office word to save paper and ink when you print documents.

So if you want to use the command line application, you need to download it at http://www.verypdf.com/artprint/docprint_pro_setup.exe and you should install the application on your computer. After the installation, you will be able to use the executable file doc2pdf.exe which is callable.

You need to see the steps below before you convert the document of OpenOffice to image and set image size or you can follow the steps below one by one.

1. Please open the MS-DOS interface by clicking “Start”—“Run” and inputting “cmd” in “Open” combo box. Then please click “OK” button. You can also use the hot key “Window”+ “R” to open “Run” dialog box.

2. Then you need to input the command line which contains called program, source file, target file and image size parameter in popup MS-DOS interface. You can follow the below one to write your own command line.

doc2pdf –i C:\file1.odt –o C:\file1.bmp –w 500 –h 300

doc2pdf stands for the called program. –i C:\file1.odt stands for the source file, –o C:\file1.bmp stands for the target file and –w 500 –h 300 stands for the width and height of target file. Then please see the following example which is the application of the one above.

"C:\Program Files\docPrint Pro v5.0\doc2pd.exe" -i "C:\Documents and Settings\admin\file1.odt" -o C:\file2.bmp -w 500 -h 300

In this command line

"C:\Program Files\docPrint Pro v5.0\doc2pd.exe" is the path of the called program doc2pdf.exe and you can drag this file into the command line window instead of inputting the path word by word.

-i "C:\Documents and Settings\admin\file1.odt" is the path of source file.

-o C:\file2.bmp is the path of target file and you should set it yourself.

-w 500 -h 300 stands for the width and height of the target file have been set as 500 pixel and 300 pixel.

3. To finish the conversion from the document of OpenOffice to image, you need to hit “Enter” button on the keyboard. Then please search for the target file in the specified location.

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!