For the purpose of converting the document of Document Converter.by command line, you should choose a suitable application which supports this function. If there is a command line application which can convert any printable documents to image formats, it will be a good thing. In this article, the suitable application will appear and the name of the application if doc2pdf.exe which is the internal application of
Document Converter is an expert document converter and it supports to convert any printable documents to various image formats. It works in three applications and you can choose any one of them according to your needs. For example, you can choose the GUI application if you want to convert documents to images in batch. You can choose the command line application if you want to develop software. You can use the virtual printer application if you want to save paper and ink.
For using the command line application doc2pdf.exe, you need to download it at http://www.verypdf.com/artprint/docprint_pro_setup.exe and you will see the executable file in the installation package after the installation.
For doc2pdf.exe is a MS-DOS oriented application and if you want to convert document offormat with this command line application, please open MS-DOS interface at first.
You can use the hot key “Window”+ “R” to open “Run” dialog box. Then please input “cmd” in “Open” combo box and you should click “OK” button. You can also use the regular way—Clicking “Start”—“Run” to open “Run” dialog box.
Then you need to input the commands in the command line interface. To write a right command line, you can refer to the basic template below.
doc2pdf -i C:\input.odg -o C:\output.pcx
doc2pdf stands for the called program.
-i C:\input.odg indicates the source file.
-o C:\output.pcx is the target file.
(NOTE:ODG document is a kind of OpenOffice document and here we take it as the example)
Then you will be able to write your own command line. There is an example below.
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i "C:\Documents and Settings\admin\Desktop\demo\openoffice\draw.odg" -o D:\see.bmp
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" is the path of doc2pdf.exe. You can drag the file from its folder to the command line window and the file path will appear at once.
-i "C:\Documents and Settings\admin\Desktop\demo\openoffice\draw.odg" is the path of input file.
-o D:\see.bmp is the path of output file and you should set the path and the file name for the target file yourself.
Please hit the “Enter” button on the keyboard to finish the conversion from the document of. To get the target file, you can find it in the location you have just set in the command line.
If you want to see some more functions or information about Document Converter, please click here.