With the assistance of VeryPDF Document Converter (docPrint Pro) , you can quickly and easily convertfiles and via .
The first step you need to take is to download VeryPDF docPrint Pro. VeryPDF docPrint Pro has a docPrint Proto get it and install it on your computer.version as well as a GUI version. But in this article, we are only talking about the command line verion. If you don’t want to buy VeryPDF docPrint Pro right now, it’s ok. You can use it free for 50 times. Click
The second step is to open the command prompt window. As a Windows XP user, I would like to introduce two ways to open the command prompt window in XP. The simpler way is to click Start first and click Command Prompt at the Start menu second. The other way is to click Start, > Run, > type cmd, > press Enter.
The last step is to type a command line and press Enter. Supposing you are going to use a command line toas you convert s such as PNG images, you need to take a look at the following usage, options, and examples:
Usage: doc2pdf [options] <-i Document Files> [-o Output]
- -w <image width> : set width to generated image files, unit is pixel
- -h <image height> : set height to generated image files, unit is pixel
- “C:\docPrint Pro v5.0\doc2pdf.exe” –w 150 -i D:\*.xls -o D:\*.png
- “C:\docPrint Pro v5.0\doc2pdf.exe” –h 400 -i D:\*.xls -o D:\*.png
- “C:\docPrint Pro v5.0\doc2pdf.exe” –w 150 –h 400 -i D:\*.xls -o D:\*.png
The first example can set width for the output image files. The second one can set height. And the third one can set both width and height. All the examples are used to do batch conversion from Excel to images. If you want to convert a single excel to image and set image size, please take a look at the following example: “C:\docPrint Pro v5.0\doc2pdf.exe” –w 150 –h 400 -i D:\in.xls -o D:\out.png. After typing a command line, don’t forget to press Enter.
This is the method I use to Convert Excel to image and set image size via command line. Isn’t it simple? I you have any question, please leave message.