Convert OpenOffice to grayscale image by command line

In this article, you will see how to convert the document of OpenOffice to grayscale image with the command line application. The whole conversion process is consisted of three steps. If you can read the following contents, you will be able to make this kind of conversion perfectly.

The tool you should use when you convert the document of OpenOffice to grayscale image is the internal application of Document Converter—doc2pdf.exe which is able to convert any printable documents to image formats. It also supports to set parameters to the target file in the command line.

There are also two other applications in Document Converter—GUI application and virtual printer application. You can use the GUI application to make batch conversion and you can use the virtual printer application to save paper and ink. According to your needs, you can choose any application.

The free trial download website of doc2pdf.exe is https://www.verypdf.com/artprint/docprint_pro_setup.exe and you need to set up it on your computer after the downloading. Then you will see the executable file doc2pdf.exe in the installation folder. Please see the specific steps about converting the document of OpenOffice to grayscale image by command line.

In the first step, please open the MS-DOS prompt window by any one of the following given ways. You can click “Start”—“Run” to open “Run” dialog box and then please input “cmd” in “Open” combo box. Please click “OK” button to close the current dialog box and you will see MS-DOS interface come out. You can also use the hot key “Window”+ “R” to open “Run” dialog box.

In the second step, you need to input the command line into MS-DOS interface. The command line is like the following sample:

doc2pdf –y –i C:\test-in.odt –o C:\test-out.bmp

doc2pdf stands for the called program—doc2pdf.exe.

–y stands for the parameter for creating grayscale image.

–i C:\test-in.odt indicates the input file.

–o C:\test-out.bmp stands for the output file.

There is an application of the above sample and you can see the example.

"C:\Program Files\docPrint Pro v5.0\doc2pd.exe" -y -i "C:\test-in.odt" -o C:\test-out.bmp

Where

"C:\Program Files\docPrint Pro v5.0\doc2pd.exe" is the path of doc2pdf.exe. There is no need to input the path word by word. You just need to drag the file into MS-DOS interface and the file will turn to the file path itself.

-y is for creating 8-bit grayscale image.

-i "C:\test-in.odt" stands for the path of the source file.

-o C:\test-out.bmp indicates the target file.

In the last step, you should run the conversion from the document of OpenOffice to grayscale image. To check whether the output file is perfect or not, you can use some kind of image viewer installed on your computer.

If you want to learn more information about Document Converter, please enter its homepage 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)

Random 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!