Convert Office to JPG by command line

If you don’t have the latest edition of MS Office on your computer, yet want to covert documents such as DOTX and PPTX created by Office to JPG, you can try VeryPDF Document Converter. In case users want to convert documents by command line, Document Converter provide a command line application: docPrint Pro Command Line.

After you install Document Converter on your computer, you can find the executable file doc2pdf.exe in the installation folder. As a matter of fact, doc2pdf.exe is docPrint Pro Command Line. And the following will show you how to use it to convert documents created by Office to JPG. Two steps are required.

First, a command prompt window should be opened. This is because you can’t directly run a command line application by clicking its icon; instead, you need to call it from a command line window. Different ways can be employed to open a command prompt window. For example, in Windows XP, you can do as follows: click Start, click Run on the Start menu that is opened, type cmd in the Run dialog box that appears, and press Enter on the keyboard. The command prompt window appears on the screen and you can move to the next step.

Second, you should type a command line in the command prompt window and press Enter. Depending on the basic usage of the executable file doc2pdf.exe, your command line is supposed to be like the examples as below:

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


  • "C:\docPrint Pro v5.0\doc2pdf.exe" -i C:\in.docx -o D:\out.jpg
  • "C:\docPrint Pro v5.0\doc2pdf.exe" -i C:\in.xlsx -o D:\out.jpg
  • "C:\docPrint Pro v5.0\doc2pdf.exe" -i C:\in.pptx -o D:\out.jpg
  • "C:\docPrint Pro v5.0\doc2pdf.exe" -i C:\*.pptx -o D:\*.jpg

The first three examples can convert one document created by Office to JPG respectively, and the last example can convert multiple documents of Office to JPG. As in the last example, "C:\docPrint Pro v5.0\doc2pdf.exe" calls the executable file; -i C:\*.pptx represents all the PPTX files stored in the root folder on disk C and D:\*.jpg represents the output files. After you type a command line according to your computer and your requirements, please press Enter.

This is the method that you can use to convert documents created by Office to JPG. You can also use docPrint Pro Command Line to generate other types of image files from documents created by Office applications. To see more features of docPrint Pro Command Line, or to get information about other applications of Document Converter, please visit:

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

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!