Convert RTF to PDF and set PDF password

The command line application Metafile to PDF Converter Command Line can convert enhanced metafiles and Rich Text Format (RTF) to PDF while preserving the vector and text information. When you convert rtf to pdf document, you can also set pdf password to the output PDF document. Some commands will help you fulfill this work.

When you set PDF password with Metafile to PDF Converter Command Line, you should also set the key length as 40 bits or 128 bits and encryption standard to restrict some operations to the PDF document. Before that, please download Metafile to PDF Converter Command Line at for free trial.

The command line application supplies two kinds of licenses, developer license and server license and you can choose any one of them according to your needs.

In the following contents, you can see the specific steps for converting rtf to pdf. You can follow these steps one by one to get more information yourself.

  • Open MS-DOS interface.

Please click “Start” to open start menu and click “Run” to open “Run” dialog box. Then please input “cmd” in “Open” combo box of “Run” dialog box and click “OK” button. You can also use the combination “Window”+ “R” to open “Run” dialog box and then do the same work.

  • Input command line

The command line for converting rtf to pdf and setting PDF password is made up by four parts—called program which is the executable file emf2pdf.exe in the package of Metafile to PDF Converter Command Line, parameter for setting owner password or open password, parameter for setting key length, parameter for setting encryption standard, source file to be converted and the target file you want to get. You can see the following command line example.

"C:\Program Files\image2pdf_emf2pdf_cmd3.2\emf2pdf.exe" -ownerpwd abc -keylen 1 -encryption 8 "D:\My Documents\file.rtf " D:\file.pdf


"C:\Program Files\image2pdf_emf2pdf_cmd3.2\emf2pdf.exe" is the path of emf2pdf.exe. You can copy the path and paste it in MS-DOS interface or drag the file from its folder to the interface.

-ownerpwd abc is for setting ower password to the output PDF document as “abc”. To set the open password, you can use the command “-openpwd”.

-keylen 1 is the for setting key length as 128 bit.

-encryption 8 is for denying modification of output PDF contents.

"D:\My Documents\file.rtf " is the path of source file.

D:\file.pdf is the path of target file.

For getting more commands about setting PDF password, please click the following link:

  • Run the conversion

For running the conversion from rtf to pdf, you need to click “Enter” button on the keyboard. When the conversion is over, you cna check the target file in specified location.

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

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!