Convert OpenOffice to EPS file by command line

Only three steps are required if you want to convert the document of OpenOffice to eps image format by using the command line application doc2pdf.exe 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 set different parameters to the target file in the conversion process and you can also call it to realize functions in your own applications if you are a software developer.

Document Converter is consisted of three applications—command line application which can be used by software developers as a helper when developing software, GUI application which is good at converting documents to images in batch and the virtual printer application which can be used to save paper and ink. These applications have advantages of themselves and you can choose any one of them according to your needs.

To use the command line application, you should download the free trial version of it at https://www.verypdf.com/artprint/docprint_pro_setup.exe. When installing it to your computer, you will see doc2pdf.exe locate in the installation directory.

Please see the following contents for converting document of OpenOffice to eps image format.

The first step—Open the MS-DOS command line window

You can use one of the following ways to open the command line window.

  • Please click “Start”—“Run” to open “Run” dialog box and input “cmd” in “Open” combo box. Then please click “OK” button.
  • For opening the same “Run” dialog box, you can also use the hot key “Window”+ “R”.

The second step—Input the commands in MS-DOS command line window

The command line for converting document of OpenOffice to eps contains three parts—called program which is the executable file doc2pdf.exe, source file which is the document you want to convert and the target file which is the EPS format image you want to get. Please see the basic command line which you should refer to.

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

(NOTE: We take the ODT document and the example of OpenOffice document)

To understand the basic command line better, there is a specific example for you below.

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

You can see that

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

-i "C:\Documents and Settings\admin\Desktop\demo\openoffice\odt.odt" stands for the absolute path of source file. You should pay attention that there must be a “-i” before the path.

-o C:\output.eps stands for the path of target file.

When you finish in inputting all the commands in the window, please click the “Enter” button on your keyboard and you will get your target file several seconds later.

The third step—Find the target file

You need to find the target file in the location you have just set in the command line window.

If you want to read more articles about doc2pdf.exe, please enter the blog: VeryPDF Knowledge Base.

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!