Convert OpenOffice to PNG by command line

It will be easy and quick if you can choose the command line application doc2pdf.exe when you want to convert the document of OpenOffice to png by command line. If you know nothing about doc2pdf.exe, you can get some acquaintance to Document Converter.

Document Converter is a software product that dynamically converts MS Office 97/2000/XP/2003/2007, WordPerfect, AutoCAD DWG, PostScript, Adobe Acrobat PDF and many other document types to Adobe Acrobat PDF, PostScript, EPS, XPS, PCL, JPEG, TIFF, PNG, PCX, EMF, WMF, GIF, TGA, PIC, PCD and BMP formats.

There are three applications in Document Converter—command line application, GUI application and virtual printer application. If you want to develop software and want to realize the function of converting any printable documents to image formats in your own applications or you like to use the command line application, you can choose the command line application doc2pdf.exe. If you want to convert documents to images in batch, you can choose the GUI application for it is good at batch conversion. If you want to save paper and ink, you can choose the virtual printer application for it can scale page size and combine several pages on one single sheet.

To use the command line application smoothly, you should click the following link for downloading the trial version of doc2pdf.exe: https://www.verypdf.com/artprint/docprint_pro_setup.exe.

The following contents are the steps about converting document of OpenOffice to png.

Firstly, please open the MS-DOS interface in which you are able to input your commands. Please click “Start”—“Run” to open “Run” dialog box in which you need to input “cmd” in “Open” combo box and then please click “OK” button. If you don’t like this way, you can also use the hot key “Window”+ “R” to open “Run” dialog box.

Secondly, you need to input the commands for converting document of OpenOffice to png in the popup MS-DOS prompt window. The command line must contain called program, source file and target file. You can refer to the following one to write your own command line.

doc2pdf -i C:\input.odt -o C:\output.png

The following example is the application of the basic one above.

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

In the command line

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" is the path of called program doc2pdf.exe. If you don’t want to input a so long file path in the window, you can directly drag the file into the command line prompt window.

-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 click “Enter” button to finish the conversion from the document of OpenOffice to png and you can get 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!