You can use the following way to convert Office 2007 and Office 2010 pptx to pdf and edit pdf password with DOC to Any Converter Command Line. Moreover, with the help of DOC to Any Converter Command Line, it is easy to fulfill both of operations in one process in Windows platforms.
Here are the details below:
1. Start the running environment of DOC to Any Converter Command Line
Before opening the operating environment, you need to extract the content of a zip file that is downloaded from the link of https://www.verydoc.com/doc2any_cmd.zip to your computer, then, you can follow the steps below to open the operating environment of DOC to Any Converter Command Line:
click “start” on your screen, then hit “Run” on start menu, and input “cmd.exe” in dialog box of “Run”, after that, please click “OK” so that your operating environment can be popped out, which is the command prompt window
2. Accomplish the command line typed in command prompt window and get the production of pdf file
To accomplish the command line typed, you should know the processing flow:
call “doc2any.exe” to start DOC to Any Converter Command Line > edit pdf password > add source file > save pdf file > produce pdf file
Here is an example to convert Office 2007 and Office 2010 pptx to pdf and set pdf password below:
f:\doc2any_cmd\doc2any.exe –openpwd 321 –keylen 2 d:\sources\in7.pptx d:\ends\in7.pdf
There are something I need to mention based on the command line above:
- f:\doc2any_cmd\doc2any.exe is the path of “doc2any.exe”, which is used to call “doc2any.exe”
- –openpwd 321 is used to edit open password of pdf as “321”, which is based on this parameter “-openpwd <string>”
- –keylen 2 is typed for setting key length as “128-bit RC4 encryption, which is based on this parameter “-keylen <int>”, where <int> can be “0, 1 or 2”
- d:\sources\in7.pptx is the source path of pptx file, which is inputted for adding this file
- d:\ends\in7.pdf is the targeting path for saving pdf file
After all the basic command line is typed, please click “enter” in command prompt window in order to get the production of pdf file in your computer. After a while, your pdf file can be produced into your targeting folder.
For more parameter besides “-openpwd <string>” and “-keylen <int>”, which are used in conversion from Office 2007 and Office 2010 pptx to pdf and setting pdf password of user’s, please click the following link: https://www.verydoc.com/doc-to-any-options.html.