Convert XLS to image and set image size via command line

With VeryPDF Document Converter (docPrint Pro) installed on your computer, you can take only two steps to convert XLS to image and set image size via command line. VeryPDF Document Converter, which is also named docPrint Pro, can work both in a regular console interface and a graphic interface. It supports over 100 image file format. The number does not include sub-types.

To download this tool, you should click VeryPDF Document Converter. After you install it on the computer, you can find the executable file named doc2pdf.exe in the installation directory. And this file is the tool you are going to use. The following will explain how to use it convert XLS to image and set image size via command line:

First, you should run the Window Command Prompt. For example, if you are a Window XP user, please open the Start menu by clicking the Start button on the left end of the task bar, and then click Command Prompt on the Start menu. When the Window Command Prompt pops out, you can proceed to the next step.

Second, to use the command application to solve the problem, please type a command line in the command prompt window. The command line should base on the usage of the executable file. Please take a look at the usage, related options for setting image size, and some examples as follows:

  • Usage:doc2pdf [options] <-i Document Files> [-o Output]
  • Options:
    • -w <image width> : set width to generated image files, unit is pixel
      -h <image height> : set height to generated image files, unit is pixel
  • Examples:
    • doc2pdf -h 300 -i C:\input.xls -o D:\output.pcl
    • doc2pdf -w 400 -i C:\input.xls -o D:\output.png
    • doc2pdf -h 300 -w 400 -i C:\input.xls -o D:\output.jpg
    • doc2pdf -h 300 -w 400 -i C:\*.xls -o D:\*.jpg

After typing a command line, please don’t forget to press Enter on your keyboard. Then the computer will prompt to convert XLS to image and set image size. VeryPDF Document Converter can be used free for a lot of times. Please try to use it to convert the file types you like to buy this tool, please click Full Version.

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!