Convert documents of ODT to JPG by command line

The command line application doc2pdf.exe can be used to convert any printable documents to various image formats, including the document of ODT to JPG. It is also a good helper if you are a software developer and want to develop software to implement the function of converting documents to images in your own application.

In fact, doc2pdf is one application of Document Converter which owns three internal applications. The three applications are designed for different users for different purposes. For example, the friendly interface of GUI application make the batch conversion from documents to images more convenient. The functions of the virtual printer allows you to scale page size and combine pages on one single sheet for saving paper and ink.

if you want to use the command line application to convert ODT to JPG, you can download it for free at http://www.verypdf.com/artprint/docprint_pro_setup.exe. After setting up it to your computer, you will be able to see the executable file doc2pdf.exe in the installation directory.

The conversion from the document of ODT to JPEG is made up by three steps—Opening MS-DOS interface, inputting command line and running the conversion.

1. Opening MS-DOS interface.

There are two ways for you to open MS-DOS interface. (1) You can click “Start”—“Run” to open “Run” dialog box which enables you to input “cmd” or “CMD” in “Open” combo box and click “OK” button. (2) Please use the hot key “Window”+ “R” to open “Run” dialog box and do the same work next.

2. Inputting command line

In the popup MS-DOS interface, you should input the command line which contains called program, source file and target file. You just need to follow the sample shown below.

doc2pdf -i C:\thousand.odt -o C:\million.jpg

For better explaining the sample, please see the following specific example command line for converting ODT to JPG.

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i "C:\thousand.odt" -o C:\million.jpg

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" indicates the path of the command line application. You can directly drag the file you need into MS-DOS interface instead of inputting the path word by word.

-i "C:\thousand.odt" is the path of source file, which can also be dragged into the window.

-o C:\million.jpg is the path of target file.

Please don’t forget to add “-i” and “-o” before the paths of source file and target file.

3. Running the conversion.

Please click “Enter” button on the keyboard to run the conversion at last and the whole process will come to the end several seconds later.

More articles about doc2pdf.exe are shown in the blog VeryPDF Knowledge Base. If you are interested in the application, you can read them.

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!