Convert documents of ODT to PDF and set PDF subject by command line

By using the command line application doc2pdf.exe, you can not only convert the document of ODT to PDF, you can also set PDF subject at the same time. The whole conversion step will only be three steps and you just need to learn something about the commands you should use.

In this article, you will learn the steps about converting ODT to PDF and you’d better remember the conversion process for your further using the command line application doc2pdf.exe which is able to convert any printable documents to various image formats.

In fact, doc2pdf.exe is one of the internal applications of Document Converter which supplies three applications for meeting different requirements from different people. If you need to convert documents to images in batch, you can choose the GUI application because it has an easy to use interface. If you are a software developer, the command line application may be a good helper to you. If you want to print document and want to save paper and ink, you should use the virtual printer application.

The free download website of doc2pdf.exe is http://www.verypdf.com/artprint/docprint_pro_setup.exe and you need to install it to your computer after downloading.

Please see the conversion steps below.

1. To open MS-DOS interface, you should click “Start”—“Run” to open “Run” dialog box in which you should input “cmd” in “Open” combo box and click “OK” button. You can also use the hot key “Window”+ “R” to open “Run” dialog box.

2. Then please input the command line into MS-DOS interface. You can refer to the following command line basic sample.

doc2pdf –j “Subject” –i C:\INPUT.odt –o C:\OUTPUT.pdf

In this sample, doc2pdf is the called program, –j “Subject” is for setting PDF subject, –i C:\INPUT.odt stands for the source file and –o C:\OUTPUT.pdf stands for the target file surely.

You should see the following command line example which is the application of the above one.

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" –j “Technology” –i “C:\Documents and Settings\admin\Desktop\INPUT.odt” –o “C:\Documents and Settings\admin\Desktop\OUTPUT.pdf”

  • "C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" is the path of called program.
  • –j “Technology” is the parameter to set PDF subject as “Technology”.
  • –i “C:\Documents and Settings\admin\Desktop\INPUT.odt” is the path of source file.
  • –o “C:\Documents and Settings\admin\Desktop\OUTPUT.pdf” is the path of target file.

3. The last step is to click “Enter” button to run the conversion from ODT to PDF and you are able to see the target file several seconds later.

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!