Do not know how to convert Office to PDF and encrypt PDF? Do not worry, guys, VeryDOC DOC to Any Converter will help you with both of them completely one time.
To know details of this application, please go to homepage of VeryDOC DOC to Any Converter. After you know more information about this software, please feel free to try it through:
After you get trial version of this utility, if you would like to use your trial one to convert Office file to PDF file and encrypt PDF files, just do not hesitate to read the next paragraphs.
1. Run cmd.exe in your computer
Running cmd.exe helps us open command prompt window, which is elementary environment of commands on Windows platforms: just directly click quick launch program in quick launch bar, then command prompt window could be opened automatically.
2. Convert Office file to PDF file and encrypt PDF file
There are several formats of Office files you can use to be as source format, e.g., doc, docx, xls, xlsx, ppt, pptx, rtf, odt, ods, etc., and here are examples for you to refer to below:
doc2any.exe –openpwd 987654 -keylen 0 C:\out\test1.pdf
doc2any.exe –ownerpwd 654321 –encryption 3900 C:\in\example2.pptx C:\out\example2.pdf
doc2any.exe –openpwd 543210 –keylen 1 –ownerpwd 098765 –encryption 3900 C:\in\original3.xlsx C:\out\original3.pdf
And in examples above, there are several parts contained, which are:
- doc2any.exe is to call executive file “doc2any.exe” for running this application
- C:\in\test1.docx/xlsx/pptx is to specify source Office file through filename and file extension
- C:\out\test1.pdfis to specify output PDF file with filename and file extension
- -openpwd <string>: Set 'open password' for PDF file
- -ownerpwd <string>: Set 'owner password' for 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>: owner 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 commands and parameters like above are all correctly inputted, conversion from Office file to PDF file and encrypting PDF file could be started in command prompt window. Then, after a few seconds, destination PDF files with encryption could be added into targeting folder automatically.
It is so convenient for you to convert Office file to PDF file and encrypt PDF file with commands here through trial version of VeryDOC DOC to Any Converter. So, please do not hesitate to use this software from today!