Convert documents of RTF to PDF and set page size by command line

You are allowed to set page size for output PDF document when you convert the document of rtf to pdf just with the help of the command line application of Document Converter which is a professional document converter designed for converting any printable documents to image formats.

To software developers, the command line application is a good helper because they can redistribute or embed the application to their own developed applications. There are also two other internal applications in Document Converter—GUI application and virtual printer application. With the GUI application, you can make batch conversion easily because the user interface of it is easy to master. With the virtual printer application, you can save paper and ink by scaling page size and combining several pages on one single sheet.

You can download the free trial version of the command line application at and install it on your computer. Then the executable file doc2pdf.exe in the command line application installation directory will be available. After using, you can buy the product if you want to use all the functions of it without any limitations.

In the first step of the conversion from rtf to pdf, please open MS-DOS prompt window in which you can input the command line. Please click “Start”—“Run” or press “Window”+ “R” on the keyboard to open “Run” dialog box. Then please input “cmd” or “CMD” in “Open” combo box and click “OK” button. Then MS-DOS prompt window will pop up on your window.

The command line which you should input in the prompt window is consisted of four parts: called program which is the executable file doc2pdf.exe, parameter for setting page size, source file which is to be converted and target file which you want to get. But you should use the path of file in the command line. Please see the example below:

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" –f 8 -i "C:\Documents and Settings\admin\Desktop\demo\pdf\she.pdf" -o C:\she.pdf

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" is the path of doc2pdf.exe.

–f 8 is for setting page size as the standard one.

-i "C:\Documents and Settings\admin\Desktop\demo\pdf\she.pdf" is the path of source file.

-o C:\she.pdf is the path of target file.

After inputting the commands in MS-DOS interface, please click “Enter” button to run the conversion from rtf to pdf. When you want to use full functions of the command line application, please buy it at

VN:F [1.9.20_1166]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Convert documents of RTF to PDF and set page size by command line, 10.0 out of 10 based on 1 rating

Related Posts

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!