Convert OpenOffice to EMF by command line

If you need to convert the some kind document of OpenOffice to emf by command line, you can try the command line application of Document Converter which is a professional document converter designed for converting any printable documents to image formats. By using the command line application, you can finish the whole conversion process in no more than three steps.

Document Converter is combined with three internal applications—command line application, GUI application and virtual printer application. If you are a software developer or you are familiar to MS-DOS interface, you can use the command line application when you want to convert documents to images. 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 often print documents and you want to save paper and ink, please make the virtual printer application as your helper.

To use the command line application doc2pdf.exe, you can download the trial version at and set up on your computer. You will see the executable file locate in installation package after the installation.

Then please see the following contents for converting the document of OpenOffice to emf. As we mentioned above, only three steps are required.

The first step—Open MS-DOS prompt window.

You can use either of the following two ways to open MS-DOS prompt window. The first one is to click “Start”—“Run” to open “Run” dialog box and input “cmd” in “Open” combo box. Then please click “OK” button. The second one is to use the hot key “Window”+ “R” to open “Run” dialog box and do the same work next.

The second step—Input command line in MS-DOS prompt window.

The command line for converting the document of OpenOffice to emf contains three parts—called program, source file and target file. If you want to write your own command line without any mistakes, please refer to the following template:

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

The command line example below will explain the template for you.

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i "C:\Documents and Settings\admin\Desktop\demo\openoffice\odt.odt" -o C:\target.emf


"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" indicates the path of doc2pdf.exe. The path of the file can be copied and pasted to the command line window. You can also drag the file you need into the command line window directly.

-i "C:\Documents and Settings\admin\Desktop\demo\openoffice\odt.odt" stands for the path of source file. Please don’t forget to add “-i” before the path of the source file.

-o C:\target.emf is the file path of the target file and you need to specify it yourself. You should not forget “-o”, either.

The third step—Run the conversion and find the target file.

To run the conversion from the document of OpenOffice to emf, you should hit “Enter” button on the keyboard. When the conversion is over, you need to find the target file in the location you have just set and please remember the path if you want to use the target file in the future.

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!