Convert OpenOffice to PostScript file by command line

You can use the command line application doc2pdf.exe which is the internal application of Document Converter to convert the document of OpenOffice to postscript for doc2pdf.exe is able to convert any printable documents to various image formats and set different parameters to the target file. It is also a good helper to software developers for developing their own applications.

To use the command line application, you should download it at the following link: https://www.verypdf.com/artprint/docprint_pro_setup.exe. You need to install the package to your computer and you will see the command line application doc2pdf.exe appear in the installation directory.

In fact, there are three versions of Document Converter. The GUI version is good at batch conversion, the command line application is a good helper to the software developers and the virtual printer version can be used to save paper and ink. According to different requirements, you can choose any application.

Please see the following contents for converting the document of OpenOffice to postscript and you will get some useful information. You need to open the MS-DOS interface for doc2pdf.exe is a MS-DOS oriented application.

There are two ways here to open the command line window for your reference. The first one is to use the regular way—Click “Start”—“Run” to open “Run” dialog box in which you can input “cmd” in “Open” combo box and click “OK” button. The second one is to use the quick way—Press “Window”+ “R” to open “Run” dialog box.

The next step is to input the commands to MS-DOS prompt window. Please follow the template below to write your own commands.

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

From the template, you can see there are three parts in the command line—called program, source file and target file.

If you don’t know the meaning of the template, you’d better see the example below carefully.

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

In the command line,

(1) "C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" indicates the path of doc2pdf.exe. If you don’t want to input a so long path, you can drag it from its folder into the command line window directly.

(2) -i "C:\Documents and Settings\admin\Desktop\demo\openoffice\odt.odt" stands for the directory of the source file. The absolute path of the file must follow behind “-i”.

(3) -o C:\output.ps stands for the path of the target file and you should never forget “-o”.

Then you need to click “Enter” button on your keyboard to run the conversion from the document of OpenOffice to postscript and the target file will be saved in the location you have just specified in the command line.

If you want to know more information about Document Converter, please click  here to enter its homepage.

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!