The command line application doc2pdf.exe allows you to convert the document ofand documents together. In this article, you will see how to fulfill the conversion and document. Then you will see the introduction to the tool you will use.
Firstly, please open MS-DOS prompt window in which you are allowed to input the command line for converting. You can use any one of the following given ways to open MS-DOS prompt window.
- You can click “Start”—“Run” to open “Run” dialog box in which you should input “cmd” or “CMD” in “Open” combo box and click “OK” button.
- To open the same “Run” dialog box, you can also use the hot key “Window”+ “R” to open the same “Run” dialog box.
Secondly, just input the command line into MS-DOS prompt window. The command line must include the called program which is the application tool you should use – doc2pdf.exe, source file which is the one you want to convert, target file which you want to get and the parameter which is used to combine PDF documents.
doc2pdf –p 1 –i D:\A.odt –o D:\B.pdf
In this command line template, the parameter “-p 1” is the parameter for combining PDF documents together.
For your right inputting the command line, please look the following command line example.
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" –p 1 –i D:\A.odt –o D:\B.pdf
In the command line,
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" stands for the path of doc2pdf.exe.
–p 1 means that inserting before first page if PDF file exists. You can also use the command “-p 2” to append to last page if PDF file exists.
–i D:\A.odt stands for the path of source file.
–o D:\B.pdf stands for the path of target file.
Then you should click “Enter” button to run the conversion from the document of ODT to PDF.
The command line application doc2pdf.exe is a command line application which can convert any printable documents to image formats and it is the internal application of Document Converter. There are also two other applications in Document Converter: GUI application and virtual printer application.
You can download the command line application doc2pdf.exe at http://www.verypdf.com/artprint/docprint_pro_setup.exe and you need to install it on your computer for using.