Convert documents of ODT to WMF by command line

It will be an easy process to convert the document of odt to wmf with the help of the command line application doc2pdf.exe which is the internal application of Document Converter. You can use doc2pdf.exe to convert any printable documents to image formats. It also allows to set parameters to the target file by different commands. The most important point is that the commands are easy to understand and master.

Mentioned about Document Converter, you can see it as a professional document converter which contains three applications—command line application, GUI application and virtual printer application. For software developer, the command line doc2pdf.exe is also a good helper for developing software. You can see the GUI application as a batch converter for it is good at batch conversion. The virtual printer application can be used to scale page size and combine several pages on one sheet, which can save paper and ink, even the money.

In this article, the application to be used is doc2pdf.exe. You need to download it by clicking the following link: http://www.verypdf.com/artprint/docprint_pro_setup.exe and install it on your computer. Then the executable file will appear in the installation package.

MS-DOS prompt window must be opened at first for you should input the command line in it to convert the document of odt to wmf. The regular way to open the window is to click “Start”—“Run” to open “Run” dialog box in which you should input “cmd” in “Open” combo box and click “OK” button. The quick way is to use the hot key “Window”+ “R” to open “Run” dialog box.

In opened MS-DOS prompt window, please input the command line which contains called program doc2pdf.exe, source file which is the one you want to convert and the target file which you want to get. But you should remember that you should input the path of each file. Please see the command line example below.

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" –i "C:\Documents and Settings\admin\Desktop\FILE1.odt” –o C:\FILE2.wmf

In this command line,

  1. "C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" stands for the path of doc2pdf.exe.
  2. –i "C:\Documents and Settings\admin\Desktop\FILE1.odt” stands for the path of source file and you should not forget “-i” before the path.
  3. –o C:\FILE2.wmf is the path of target file and “-o” can not be ignored, either.

For the convenience of your operations, you can directly drag the file you need into MS-DOS prompt window and the file will turn to the file path itself.

At last, please click “Enter” button on the keyboard to run the conversion from odt to wmf and you will get the target file several seconds later. To read more articles about doc2pdf.exe, you can enter the blog: VeryPDF Knowledge Base.

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!