Convert doc to pdf and set pdf password

You can convert doc to pdf and edit pdf password of owner with DOC to Any Converter Command Line, which can work based on command line in Windows platforms. Here are the details below:

Step1. Realize the command prompt window is opened in your computer

The command prompt window is the running environment of DOC to Any Converter Command Line, which needs to be opened in Windows platforms. And you can realize the opening with the method below:

click “Windows + R”, which is a hotkey to open dialog box of “Run”, then input “cmd.exe” and hit “OK” in dialog box “Run”, then command prompt window can be opened as follow:

command prompt window

Step2. Refer to the command line to realize the production of pdf file

D:\doc2any_cmd\doc2any.exe -ownerpwd 654321 -keylen 2 -encryption 3900 D:\in2.doc D:\out2.pdf

The command line above is about the method to convert doc to pdf and set pdf password in command prompt window, where:

d:\doc2any_cmd\doc2any.exe is the path of “doc2any.exe” used to call “doc2any.exe”, which is a way to run DOC to Any Converter Command Line in command prompt window; -ownerpwd 654321 is used to set owner password of pdf as “654321”, which is based on the original “-ownerpwd <string>”; -keylen 2 is used to edit this password with 128-bit RC4 encryption; -encryption 3900 is typed for denying anything on editing content of pdf; D:\in2.doc is the path of the doc file used to add this file for this process; D:\out2.pdf is the targeting path for saving this pdf file in disc C.

Finally, please do not forget one click on “enter”, then the production of pdf can be started.

Here is the example in command prompt window below:

conversion from doc to pdf and setting pdf password

For more parameters on the editing of pdf passwords, you can log on the official website of DOC to Any Converter Command Line from this link:, where not only this process of doc to pdf can be found, but any other conversions can be displayed for your reference. For experiencing DOC to Any Converter Command Line, please click the following link to download a trial version of DOC to Any Converter Command Line: For more concerns about this article, please leave your comment here, thank you for your support!

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!