Convert documents of ODT to PDF and combine PDF by command line

The command line application doc2pdf.exe allows you to convert the document of ODT to PDF and combine PDF documents together. In this article, you will see how to fulfill the conversion and combine PDF 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 ODT to PDF. You can use any one of the following given ways to open MS-DOS prompt window.

  1. 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.
  2. 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,

  1. "C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" stands for the path of doc2pdf.exe.
  2. –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.
  3. –i D:\A.odt stands for the path of source file.
  4. –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.

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!