Convert xls to pdf and set pdf password

There is a method to convert xls to pdf and set pdf password within one process with DOC to Any Converter Command Line in Windows platforms.

Firstly, you should extract the folder “doc2any_cmd” to your computer based on the download of a zip file from the following link: https://www.verydoc.com/doc2any_cmd.zip. Secondly, please do the followings to open the command prompt window in your computer, which is the operating environment of DOC to Any Converter Command Line:

Hit “Windows + R” –> type “cmd.exe” or “cmd” in dialog box of “Run” –> click “OK” –> the command prompt window can be popped on your screen

Then, you can refer to the following command line to convert xls to pdf and set pdf password with DOC to Any Converter Command Line in command prompt window:

d:\doc2any_cmd\doc2any.exe –openpwd xyz –keylen 2 d:\sources\example.xls d:\sources\example.pdf

where: d:\doc2any_cmd\doc2any.exe is the path of “doc2any.exe” used to call “doc2any.exe”, which help you launch DOC to Any Converter Command Line in your computer; –openpwd xyz is a parameter to edit open password of pdf as “xyz”, whose origin parameter is “-openpwd <string>”; –keylen 2 is the parameter to set key length as 128-bit RC4 encryption; d:\sources\example.xls is the source path of the xls file typed for adding this file for the conversion; d:\sources\example.pdf is the targeting path used to save targeting pdf file.

After you refer to the command line above to make your paths appear in the command prompt window, please click “enter” in command prompt window, then your pdf file can be generated from this conversion with DOC to Any Converter Command Line.

Of course, besides the single process, DOC to Any Converter Command Line can help you process the batch task, And based on this process, here is an example to convert xls files to pdf files in batches:

d:\doc2any_cmd\doc2any.exe –openpwd xyz –keylen 2 d:\sources\*.xls d:\sources\*.pdf

where d:\sources\*.xls is the universe source path with “*” as filename used for adding all xls files in folder “sources” for this process; d:\sources\*.pdf is the universe targeting path with “*” as filename typed for saving all pdf files in folder “sources”.

After all the basic work like above, please click “enter” still so that dozens of pdf files can be produced quickly one time.

The example in this article just shows you one of the passwords of pdf, if you would like to know another kind of password of pdf edited, maybe you can visit the homepage of DOC to Any Converter Command Line from this link: https://www.verydoc.com/doc-to-any-options.html, where many examples can be found including this one from xls to pdf and editing pdf password.

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!