When you create a PDF document, you may want to specify the description for the PDF document. When you convert the document of rtf to pdf and want to set pdf subject for output pdf document, you can use the command line application of Document Converter.
In this article, you will see the steps about converting rtf to pdf with the command line application. You will also know how to set pdf subject. Only three steps will be enough and you just need to call the command line application in MS-DOS interface.
Please download the command line application for free trying at https://www.verypdf.com/artprint/docprint_pro_setup.exe. Please install the application on your computer and you will be able to use the executable file doc2pdf.exe after the installation.
So you need to open MS-DOS interface before the conversion. There are two offered way for you to open MS-DOS interface. The first one is to click “Start”—“Run” to open “Run” dialog box in which you can input “cmd” in “Open” combo box and click “OK” button. The second one is to use the hot key “Window”+ “R” to open “Run” dialog box and then do the same work like the first method.
Then please input the command line in MS-DOS interface. The command line is made up of called program, parameter for setting pdf subject, source file and target file. Please see the following template:
doc2pdf –j “subject” –i D:\11.rtf –o D:\11.pdf
For applying the template better, you’d better see the following example:
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" –j “subject” –i “D:\My Documents\11.rtf” –o “D:\My Documents\11.pdf”
In the command line,
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" is the path of doc2pdf.exe. For getting the file path, you can drag the file you need into MS-DOS interface directly.
–j “subject” is to set pdf subject as “subject”.
–i “D:\My Documents\11.rtf” means the path of source file.
–o “D:\My Documents\11.pdf” stands for the path of target file.
To finish the conversion from rtf to pdf, please click “Enter” button. If you want to see the target file after the conversion, please find it in the specified location.
For using all functions of the command line application, you should buy the product at the purchasing webpage: https://www.verypdf.com/order_docprintpro.html.