When you convert the document of, you are allowed to to the target image file if you choose the command line application doc2pdf.exe as your helper and three steps will be enough to complete the whole conversion process. Please see the following contents.
Before the conversion, we should download the tool application doc2pdf.exe at http://www.verypdf.com/artprint/docprint_pro_setup.exe and install it on your computer. After the installation, you will see the executable file doc2pdf.exe in the package and then you will be able to use it.
Now we can try to convert the document ofand for the target file with doc2pdf.exe together. Please see the following contents.
The first step—Open MS-DOS interface.
You should open MS-DOS interface to write your command line into it. Please press “Window”+ “R” on your keyboard at the same time or click “Start”—“Run” to open “Run” dialog box in which you can you can input “cmd” in “Open” combo box and click “OK” button. Then you will see MS-DOS interface pop up.
The second step—Input command line.
This step is the most important step in the conversion from. If you want to set color depth, there must be four parts in the command line—called program, parameter for setting color depth, source file and target file, all of which make up the following command line basic template:
doc2pdf -i C:\in.odt -o C:\out.tif -b 1 (Just take TIF image as the example of output image)
For better understanding the basic template, you should see the following specific command line example.
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i "C:\Documents and Settings\admin\Desktop\demo\openoffice\odt.odt" -o C:\output.tif – b 1
In the command line,
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" stands for the path of doc2pdf.exe.
-i "C:\Documents and Settings\admin\Desktop\demo\openoffice\odt.odt" stands for the path of source ODT document.
-o C:\output.tif stands for the path of output file.
– b 1 means you specify the color depth of the target image as 1 bit, which means you want to create a black and white image. You can also change the value “1” as “8” which means outputting 256 colors’ image file or “24” which means outputting true color image file.
Just click “Enter” button to run the conversion from odt to image and you can get the target file several seconds later. There are more other articles about doc2pdf.exe, you can read them by entering the blog: VeryPDF Knowledge Base.