Convert OpenOffice to PDF by command line

You can convert the document of OpenOffice to PDF by command line application if you can choose doc2pdf.exe as your tool. doc2pdf.exe is one internal application of Document Converter which is an expert in converting any printable documents to image formats. By using doc2pdf.exe, the conversion fro OpenOffic to PDF will be completed by three steps in no more than two minutes.

If you want to use doc2pdf.exe, please download the free trial version of it at http://www.verypdf.com/artprint/docprint_pro_setup.exe. Document Converter also supplies two other applications—GUI application and virtual printer application. You can use the GUI application has a friendly user interface and you can use this application to make batch conversion. The virtual printer application supports to scale page size and combine paper in one sheet.

After installing the application on your computer, you will see the executable file doc2pdf.exe in installation directory and then it is callable. If you want to convert the document of OpenOffice to PDF by the command line application, please open MS-DOS prompt window in which you can input the commands to run the conversion.

1. To open MS-DOS interface, you can use one of the following given ways. Of course you can also use some other ways you love. You can click “Start”—“Run” to open “Run” dialog box. In “Open” combo box of the dialog box, please input “cmd” or “CMD” and click “OK” button to open MS-DOS interface. To quickly open “Run” dialog box, you can also use the hot key “Window”+ “R” combination on your keyboard.

2. To input the command line in MS-DOS interface is the most important step in the conversion from OpenOffice to PDF. If you don’t know what should be contained in the command line, please see the following basic one.

doc2pdf -i C:\one.odg -o C:\two.pdf

The command line is consisted of called program, source file and target file.

In your command line, you should use the file path of each parameter. Just like the example below:

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i "C:\one.odg" -o C:\two.pdf

In fact,

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" is the path of doc2pdf.exe. When the path is too long to input, you can drag the file you need into the command line window and the file will turn to its file path instantly.

-i "C:\one.odg" is the file path of source file.

-o C:\two.pdf is the file path of target file.

(NOTE: Please pay attention to “-i” and “-o”. You should never ignore them when you write the command line).

Just click “Enter” button on your keyboard to run and finish the conversion from the document of OpenOffice to PDF and you will get the target file in a short while.

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

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!