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:
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:
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: https://www.verydoc.com/doc-to-any-options.html, 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: https://www.verydoc.com/doc2any_cmd.zip. For more concerns about this article, please leave your comment here, thank you for your support!