Convert OpenOffice to PDF and set PDF keywords by command line

You can use the command line application doc2pdf.exe to convert the document of OpenOffice to PDF document and set PDF keywords within three steps. The first step is opening MS-DOS interface, the second step is inputting command line in MS-DOS interface and the last step is running the conversion.

The command line application doc2pdf.exe is able to convert any printable documents to many kinds of image formats. You can also use it to set parameters for the target file. The whole conversion process is easy and you can master it in no more than five minutes.

For free using the command line application, you need to click the following link to download the trial version of doc2pdf.exe. doc2pdf.exe is one application of Document Converter which also offers two other application: GUI application and virtual printer application.

If you want to make batch conversion, the GUI application is a good helper. If you want to print the document and save paper and ink, you can use the virtual printer application. They are designed for meeting your different purposes.

Please see the specific conversion steps below.

1. When you open MS-DOS interface, please click “Start”—“Run” to open “Run” dialog at first. Then please input “cmd” in “Open” combo box and click “OK” button. The other way to open “Run” dialog box is to use the hot key “Window”+ “R”.

2. You should input the command line into MS-DOS interface as the following one.

doc2pdf –k “keyword” –i C:\document1.odt –o C:\document2.pdf 

By this command line sample, you can see the four parts in command line—called program, parameter for setting keyword, source file and target file.

If you don’t understand the command line above, please see the following example.

"C:\Program Files\docPrint Pro v5.0\doc2pd.exe" –k “OpenOffice to PDF” –i C:\document1.odt –o C:\document2.pdf

In this command line,

"C:\Program Files\docPrint Pro v5.0\doc2pd.exe" is the path of doc2pdf.exe. For your convenience, you don’t need to input the file path one by one, please just drag the file into the command line window.

–k “OpenOffice to PDF” sets the keyword of the target PDF document as “OpenOffice to PDF”.

–i C:\document1.odt stands for the path of source file.

–o C:\document2.pdf is the path of target file.

3. To run the conversion, you need to click “Enter” button on your keyboard and the target file will pop up itself displayed by the default PDF reader on your computer.

If you want to get more information about doc2pdf.exe, you can enter the homepage of it via clicking here.

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!