Convert XLS to image and set color depth via command line

You can use VeryPDF Document Converter (docPrint Pro) to set color depth when you convert XLS to image via command line. VeryPDF Document Converter supports over 100 image file formats. It supports vector image formats like EPS, PS, WMF, and SFW; and raster image formats like JPG, JPS, PCL, and MAT.

After you download VeryPDF Document Converter, you can find the command line application, which is the executable file named doc2pdf .exe in the installation folder. You can use it free for 50 times. The following will show you how to use the command line application to convert XLS to image and set color depth via command line.

To use the command line application, you should run the Windows Command Prompt first. Supposing you are a Windows XP user, you can take many ways to run the Window Command Prompt. The simplest way is as follows: open the Start menu by clicking Start on the screen. > click Command Prompt.

The second step is to type a command line in the command prompt window. Remember the executable file named doc2pdf .exe? Now before you type a command line, you may need to take a look at the basic usage and the option that can be used to set color depth:

Usage: doc2pdf [options] <-i Document Files> [-o Output].

Option: -b <color depth>   : set color depth for output file
        -b 1          : output black and white image file
        -b 8          : output 256 colors image file
        -b 24         : output true Colors image file:

Please type a command line in line with this usage, and press Enter after that. The following are some examples which you can refer to:

  • “C:\docPrint Pro v5.0\doc2pdf.exe” –b 1 -i C:\in.xls -o D:\out.png
  • “C:\docPrint Pro v5.0\doc2pdf.exe” –b 8 -i C:\in.xls -o D:\out.ps
  • “C:\docPrint Pro v5.0\doc2pdf.exe” –b 24 -i C:\*.xls -o D:\*.wmf

This is the method you can use to set color depth and convert XLS to image file via command line. If you want see more file formats supported by VeryPDF Document Converter, please visit the following website: http://verypdf.com/artprint/index.html

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

This entry was posted in docPrint Pro and tagged , , . Bookmark the permalink.

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!