Of course, you can convert the document ofby command line application. But the choice about the tool you should use will decide the speed and difficulty of the conversion.
The command line application doc2pdf.exe will be introduced in this article for it is able to convert any printable documents to image formats and set different parameters for the target file at the same time.
In fact, the command line application doc2pdf.exe is the internal application of the professional converter Document Converter. Besides doc2pdf.exe, it also supplies two other applications—GUI application and virtual printer application.
When you use the GUI application, you will find it is easy-to-use and you can master it quickly. The virtual printer application can be used to save paper and ink by scaling page size or combining several pages on one sheet.
The download link of the command line application doc2pdf.exe is http://www.verypdf.com/artprint/docprint_pro_setup.exe and please install it on your computer for smoothly using it.
At the beginning of the conversion from, please click “Start”—“Run” to open “Run” dialog box and input “cmd” in “Run” dialog box and click “OK” button to open MS-DOS interface. You can also use the hot key “Window”+ “R” to open “Run” dialog box.
Then you need to input the command line for converting ODT to PDF in MS-DOS interface. The command line is easy enough for it only contains three parts—called program, source file and target file. You can see the following command line sample.
doc2pdf –i D:DOC.odt –o D:\DOC.pdf
In the sample, doc2pdf stands for the called program, –i D:DOC.odt stands for the source file and –o D:\DOC.pdf stands for the target file. When you apply the sample to your command line, you should use the path of each file. Please see the following example.
“C:\Program Files\docPrint Pro v5.0\doc2pdf.exe” -i “D:\My Documents\DOC.odt” –o “D:\My Documents\DOC.pdf”
In the command line,
(1) “C:\Program Files\docPrint Pro v5.0\doc2pdf.exe” is the path of called program doc2pdf.exe.
(2) -i “D:\My Documents\DOC.odt” is the path of source file. Please don’t forget to add “-i” before the path.
(3) –o “D:\My Documents\DOC.pdf” is the path of target file and “-o” can not be forgotten, either.
After inputting the command line into MS-DOS interface, please hit “Enter” button on the keyboard to run the conversion from the document of ODT to PDF and what you have to do next is waiting for several seconds until the conversion comes to the end.