Convert OpenOffice to PS by command line

For the purpose of converting OpenOffice to ps format image file by command line, you can choose the command line application of Document Converter which is an expert document converter. The name of the command line application is doc2pdf.exe which is a specially MS-DOS oriented application.

Document Converter contains three available applications—command line application, GUI application and virtual printer application. If you are a software developer, you may call the command line application in your own software to implement the function of converting documents to images. If you want to make batch conversion of documents to images, you can choose the GUI application for it is good at batch conversion. The virtual printer application can be used to scale page size and combine several pages on one single sheet, which can save paper and ink.

So if you need any one of the applications mentioned above, you can click the following link: https://www.verypdf.com/artprint/index.html to enter its homepage to see the product list and choose the one you need. By using the command line application, you can realize the conversion from any printable documents to image formats, of course including the document of OpenOffice to ps. Please see the following conversion steps.

For doc2pdf.exe is a MS-DOS oriented application, you need to open the MS-DOS prompt window to input your command line.

You can take one method of the following given ways. (1) Please click “Start”—“Run” to open “Run” dialog box in which you need to input “cmd” in “Open” combo box and then please click “OK” button. (2) You can also use the hot key “Window”+ “R” to open “Run” dialog box and then do the same work mentioned above.

Then please input the commands into MS-DOS prompt window. The commands contains three parts—called program, source file and the target file. You can see the following command line template for converting the document of OpenOffice to ps. We can take the ODT document as the source file example.

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

For your better understanding the template, please see the following example.

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

Where

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" stands for the path of the command line application doc2pdf.exe. If the file path is long to you, you can drag the file you need into MS-DOS prompt window directly.

-i "C:\Documents and Settings\admin\Desktop\demo\openoffice\odt.odt" stands for the path of source file, please don’t forget to add “-i” before the file path.

-o C:\output.ps stands for the target file. You should not forget “-o”, either.

Then please hit the “Enter” button on your keyboard to run the conversion from the document of OpenOffice to ps. Several seconds later, you will get the target file in the location you have set in the command line and you can browse it with some kind of image viewer installed on your computer.

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!