Convert Excel to PDF and set PDF password

To convert Excel to PDF and set PDF password with command line, maybe you can refer to the following method:

1. After the zip file is downloaded from this link: https://www.verydoc.com/doc2any_cmd.zip, please extract its content to your computer, which is a folder “doc2any_cmd” containing “doc2any.exe”, then later, this program “doc2any.exe” can help you start DOC to Any Converter Command Line.

2. Follow the steps below to open the running environment of DOC to Any Converter Command Line

In Windows platforms, the command prompt window is the operating environment, and you can click “start” to get its menu, and select “Run” on start menu, and input “cmd.exe” into dialog box of “Run”, at last, one click on “OK” of dialog box “Run” can help you open the command prompt window on your screen.

3. Type command line in command prompt window

After the operating environment is opened on your screen, you can refer to the following example to convert Excel to PDF and edit PDF password:

D:\doc2any_cmd\doc2any.exe –ownerpwd 98765 –keylen 2 encryption 3900 D:\originals\in.xls D:\lasts\in.pdf

D:\doc2any_cmd\doc2any.exe is typed to run DOC to Any Converter Command Line, which is the path of “doc2any.exe” used to call “doc2any.exe”; –ownerpwd 98765 is the parameter to edit owner password of PDF as “98765” based on “-ownerpwd <string>”; –keylen 2 is the parameter to set key length as 128-bit in RC4 encryption; encryption 3900 is the parameter to set the editing authority on PDF as “nothing allowed”; D:\originals\in.xls is the path of xls file typed for adding this file for this process; D:\lasts\in.pdf is the path used for saving PDF file in folder “lasts”.

To realize the production of PDF file, please click “enter” in command prompt window. And besides the parameters mentioned above, DOC to Any Converter Command Line can help you set another kind of password of PDF, whose parameter you can find via clicking this link: https://www.verydoc.com/doc-to-any-options.html.

To know more conversions with DOC to Any Converter Command Line, please go to the knowledge base to get more conversions besides the one from Excel to PDF and setting PDF password of owner from this link: https://www.verydoc.com/blog/.

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!