This article aims to show you how to use VeryDOC Metafile to PDF Converter to convert EMF/RTF/WMF to PDF and encrypt PDF through on Windows platforms.
To know what is VeryDOC Metafile to PDF Converter, please feel free to log on its homepage above directly. And here are steps to convert EMF/WMF/RTF to PDF and encrypt PDF through commands below:
Step1. Download free software
If you want to trial version of this application to convert your own WMF files, etc., please do not hesitate to download package of this software here.
Then, you need to extract its content to your computer so that trial version could be located in your computer and you can also use it for later process of yours.
Step2. Open command prompt window
After extraction like above, you need to run cmd.exe in your computer so that command prompt window could be opened on screen directly, where you can type commands.
Step3. Convert RTF/WMF/EMF to PDF and encrypt PDF
Please refer to example below to input your own commands and parameters to fulfill your process:
emf2pdf.exe –openpwd 654321 -keylen 2 -ownerpwd 123456 -encryption 3900 C:\in9.wmf C:\out9.pdf
where you need to know directories:
- emf2pdf.exe: call executive file “emf2pdf.exe” for running software
- C:\in9.wmf: specify input WMF file, also it could be RTF or EMF file
- C:\out9.pdf: specify output PDF file
where you also need to know parameters:
- -openpwd <string>: Set 'open password' to PDF file
- -ownerpwd <string>: Set 'owner password' to PDF file
- -keylen <int>: Key length (40 or 128 bit)
-keylen 0: 40 bit RC4 encryption (Acrobat 3 or higher)
-keylen 1: 128 bit RC4 encryption (Acrobat 5 or higher)
-keylen 2: 128 bit RC4 encryption (Acrobat 6 or higher)
- -encryption <int>: Restrictions
-encryption 0: Encrypt the file only
-encryption 3900: Deny anything
-encryption 4: Deny printing
-encryption 8: Deny modification of contents
-encryption 16: Deny copying of contents
-encryption 32: No commenting
===128 bit encryption only -> ignored if 40 bit encryption is used
-encryption 256: Deny FillInFormFields
-encryption 512: Deny ExtractObj
-encryption 1024: Deny Assemble
-encryption 2048: Disable high res. printing
-encryption 4096: Do not encrypt metadata
After you use VeryDOC Metafile to PDF Converter to convert EMF/WMF/RTF to PDF and encrypt PDF file through commands, targeting PDF file could be produced into destination folder and you will see it is very qualified when you view PDF file in your computer! So then, if you want to buy it, please go to purchase page of VeryDOC Metafile to PDF Converter.