With the assistance of VeryPDF Document Converter (docPrint Pro), you canto make sure that you can convert s with high quality. This article aims to introduce docPrint Pro Command Line, an application that is included in Document Converter.
Please click Document Converter, download it and install it on your hard disk. Then, when you open the installation folder entitled docPrint Pro v5.0, you will find the executable file doc2pdf which is the thing that docPrint Pro Command Line denotes to. The following part focuses on how to use the executable file doc2pdf to convert s and .
First, please open ainterpreter like Command Prompt, a native program provided by MS Windows. If you are in Windows XP, for example, you can do as follows:
- Open the Start menu by clicking Start.
- Select Run from the Run dialog box.
- Type cmd in the Run dialog box and click OK.
Second, please type aon the basis of the usage of the executable file doc2pdf:
Usage: doc2pdf [options] <-i Document Files> [-o Output]
The option that can be used set color depth is -b <int>. Three values are permitted: 1, 8, and 24.
- If the option is -b 1, black-and-white image file(s) will be generated.
- If the option is -b 8, 256-color image file(s) will be generated.
- If the option is -b 24, true-color image file(s) will be generated.
Supposing you want to create a black and white JPEG image from a Word document, your command line will be similar to the following one:
doc2pdf.exe -b 1 -i C:\source.doc -o D:\target.jpeg
For another example, if you want to create tiff image files with true colors from PPT files, you can type a command line similar to the following:
doc2pdf.exe -b 24 -i C:\*.ppt -o D:\*.tiff
Please type a command line on your computer, and press Enter. The computer will start the process as soon as possible.
This article only shows how to use docPrint Pro Command Line to set color depth when convert Office to images. If you are interested in the other options, or the other applications provided by VeryPDF Document Converter, please visit http://verypdf.com/artprint/index.html.