Convert OpenOffice to BMP by command line

If you want to convert OpenOffice to bmp by command line, you can try the command line application of Document Converter—doc2pdf.exe which is able to convert any printable documents to image formats. For doc2pdf.exe is a MS-DOS oriented application, you have to open MS-DOS interface before convert the document of OpenOffice to bmp.

doc2pdf.exe can also be used as the helper to software developers to realize the function of converting printable documents to image formats when developing their own applications. In Document Converter, there are also two other applications—GUI application and virtual printer application. The GUI application is good at batch conversion. The virtual printer can act as a Windows printer which is able to save paper and ink, also a document converter which also can convert any documents to image formats.

Please download the free trial version of doc2pdf.exe at https://www.verypdf.com/artprint/docprint_pro_setup.exe. After you set up it on your computer, you will be able to see the command line application in installation package.

Then you can convert the document of OpenOfffice to bmp image.

Step1. Please open the MS-DOS interface. The regular way is to click “Start”—“Run” to open “Run” dialog box and input “cmd” in “Run” dialog box. Then you should click on “OK” button. The quick way is to open “Run” dialog box with the hot key “Window”+ “R” and then do the same work next.

Step2. Please input the commands in MS-DOS command line window. The command line includes called program, source file and target file which lead to a basic template for your reference.

doc2pdf -i C:\input.odg -o C:\output.bmp

(We take ODG document as the sample of OpenOffice document)

Please refer to the basic one to input your own command line and you should use the path of each parameter. Please see the following example.

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i "C:\Documents and Settings\admin\Desktop\demo\openoffice\draw.odg" -o D:\see.bmp

You can see that

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" is the path of doc2pdf.exe.

-i "C:\Documents and Settings\admin\Desktop\demo\openoffice\draw.odg" is the path of source file.

-o D:\see.bmp is the path of target file. You should set the path yourself for the target file.

Note: If you don’t want to input a long file path into the command line window, you can directly drag the file you need and drop it in the command line window. The the file path will appear itself.

Step3. Please click “Enter” button on your keyboard to finish the conversion from OpenOffice to bmp and you can find the target file in the location you have just set.

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!