When you convert the document ofdocument, you can to the output PDF document. The tool you need to choose is the command line application doc2pdf.exe for it is capable of converting any printable documents to various image formats. So converting the document of is easy to doc2pdf.exe.
In fact, doc2pdf.exe is the command line application in Document Converter which also has two other internal applications—GUI application and virtual printer application. By using the GUI application, you can convert documents to images in batch quickly because it has a friendly interface which can be mastered easily. By using the virtual printer application, you can scale page size or combine several pages on one single sheet.
The free download website of the command line application doc2pdf.exe is http://www.verypdf.com/artprint/docprint_pro_setup.exe. To use it smoothly, you have to download it at first.
Three steps are required if you want to convert the document of OpenOffice to PDF andto the target document.
Step1. The MS-DOS interface must be opened because you have to input the command line in it. Please click “Start”—“Run” to open “Run” dialog box in which you are able to input “cmd” in “Open” combo box and click “OK” button. The hot key “Window”+ “R” will also do you a favor for opening “Run” dialog box.
Step2. In the opened MS-DOS interface, you should input the command line like the following one for converting the document of OpenOffice to PDF document. It is only a command line sample and when you input the command line into MS-DOS interface, you need to input the path of each file.
doc2pdf –f 8 –i C:\OpenOffice.odg –o C:\PDF.pdf
If you don’t understand the sample, please see the following command line example will is more easier for understanding.
"C:\Program Files\docPrint Pro v5.0\doc2pd.exe" -y -i "C:\Documents and Settings\OpenOffice.odt" -o C:\PDF.pdf
In the command line,
"C:\Program Files\docPrint Pro v5.0\doc2pd.exe" is the path of doc2pdf.exe. The file you need can be dragged into command line window it will turn to the file path at once.
-y specifies the page size as standard size.
-i "C:\Documents and Settings\OpenOffice.odt" is the path of source file. Please don’t forget to add a “-i” before the path.
-o C:\PDF.pdf is the path of the target file and “-o” can not be forgotten, either.
Step3. Please hit “Enter” button to run the conversion from the document of OpenOffice to PDF document. When you, you can also use the following parameters:
-f 8: standard paper size
-f "11x17in" : set 11x17inch to printer
-f "215.9x279.4mm" : set 215.9x279.4mm to printer
-f "612x792pt" : set 612x792pt to printer