DOC to Any Converter

Convert text to pdf and set pdf password

This article aims to show you how to convert text to pdf and edit pdf password of owner’s within one process in Windows systems. The following is about the details, I hope it can help you in some aspects.

1. One click to download DOC to Any Converter Command Line

The following link is the download link of DOC to Any Converter Command Line, you can click it to download a zip file firstly: https://www.verydoc.com/doc2any_cmd.zip. Then, please extract the content--- the folder “doc2any_cmd” to your computer, and from this moment on, the program of “doc2any.exe” can be called in your computer.

2. Several steps to open the operating environment of DOC to Any Converter Command Line

In Windows systems, the operating environment is the command prompt window, and you can run “cmd.exe” in your computer to realize its opening: click “start” > select “Run” > input “cmd.exe” > click “OK”

3. Input the command line to convert text to pdf and set pdf password

After you open the command prompt window, there are several steps you need to take to input the command line to realize the production of pdf:

  • run DOC to Any Converter Command Line by typing the path of “doc2any.exe” to call “doc2any.exe” in command prompt window
  • set the password of pdf owner through typing this parameter with true string as password: “-ownerpwd <string>”
  • to continue to edit key length, you need to type this parameter with real int (0, 1 or 2): “-keylen <int>”

-keylen 0: encrypt key length as 40-bit RC4 (Acrobat 3 or higher)
-keylen 1: encrypt key length as 128-bit RC4  (Acrobat 5 or higher)
-keylen 2: encrypt key length as 128-bit RC4  (Acrobat 6 or higher)

  • if you want to set the editing authority here, please type this parameter with an int here: “–encryption <int>”

-encryption  256: no filling in form field allowed

-encryption 1024: no assemble allowed

you also can set other editing authorities besides the above, to know more parameters, please click this link: https://www.verydoc.com/doc-to-any-options.html.

  • add the source text file via inputting its path
  • save and name targeting pdf file by typing the objective path into command prompt window

To get the production of pdf file, please click “enter” in command prompt window, then DOC to Any Converter Command Line can help you finish this process within several seconds. Here is an example below:

d:\doc2any_cmd\doc2any.exe –ownerpwd more –keylen 2 –encryption 1024 d:\input\example.txt d:\output\example.pdf

At last, you can go to our knowledge base to know more conversions in different articles from this link: https://www.verydoc.com/blog/, where you can know more than this process of text to pdf and setting pdf password of owner’s.

DOC to Any Converter

Convert txt to pdf and set pdf password of user

With the help of DOC to Any Converter Command Line, the process from txt to pdf and setting pdf password of user can be fulfilled within one process in Windows platforms. If you would like to know more, you need to keep reading this article.

1. Before the running of DOC to Any Converter Command Line, you need to have this dreaming tool ---- DOC to Any Converter Command Line in your computer, and also you need to open the command prompt window, which are two premises to use DOC to Any Converter Command Line. And you can realize them through the following ways:

  • click this link of https://www.verydoc.com/doc2any_cmd.zip, you can get a zip file, then you need to unzip it to your computer so that the program of ‘doc2any.exe’ can be called later
  • click “start” > hit “Run” > type “cmd.exe” > click “OK”, and the command prompt window can be popped on your screen as follow:

command prompt window

2. After the running of “cmd.exe” in your computer, you can find there is a current directory in command prompt window, where you can type the path of “doc2any.exe” for the purpose of starting DOC to Any Converter Command Line, which is also called the calling of “doc2any.exe”. Then, you need to click “space” in command prompt window, then, you can edit password of user of pdf via inputting this parameter “-openpwd <string>”, where “<string>” needs to be a real string as password of pdf, then after one click on “space”, you can input this parameter to edit the key length as 40-bit or 128-bit via this parameter “-keylen <int>”, and for more details of this parameter, you can refer to the followings:

  • -keylen 0:  encrypt key length as 40-bit RC4 (Acrobat 3 or higher)
  • -keylen 1: encrypt key length as 128-bit RC4 (Acrobat 5 or higher)
  • -keylen 2: encrypt key length as 128 bit RC4  (Acrobat 6 or higher)

After you click “space” in command prompt window, please continue to type the path of the source txt file in order to add this source file for the conversion of txt to pdf and editing pdf password, then click “space”, and input the targeting path for getting pdf file saved in your computer and assigning a targeting name. At last, please click “enter” in command prompt window so that your pdf file can be generated soon. Here is an example you can refer to below:

conversion from txt to pdf and editing pdf password

Here, the conversion of txt to pdf and editing pdf password has already been shown to you. If you have any concerns about this article, you can leave your comment here. And if you like to know more conversions, please visit the official website of DOC to Any Converter Command Line from this link: https://www.verydoc.com/doc-to-any-options.html.

DOC to Any Converter

Convert rtf to pdf and set pdf password in batches

To realize the conversion from rtf to pdf and setting pdf password in batches within one process, maybe you can try the following method with DOC to Any Converter Command Line.

You just only need to take several steps like below to fulfill this process in your computer:

Step1. Run “cmd.exe” in your computer

In Windows platforms, running “cmd.exe” in your computer can help you open the operating environment of DOC to Any Converter Command Line, which is the command prompt window in Windows platforms. So please firstly follow the steps below to open it on your screen:

click “start” –> select “Run” –> input “cmd.exe” or “cmd” –> click “OK”

Step2. Finish the basic preparation by command line

In command prompt window, please firstly input the path of “doc2any.exe” into command prompt window, which is typed for the running of DOC to Any Converter Command Line. Then, please click “space” in command prompt window, and type the parameter “-ownerpwd <string>” to edit the owner password of pdf file, then click “space”, however, if you would like to edit the key length here, you can edit this parameter “-keylen 0” “-keylen 1” “-keylen 2”, whose functions are as follows:

  • -keylen 0: encrypt key length as 40-bit RC4 compatible with Acrobat 3 or higher
  • -keylen 1: encrypt key length as 128-bit RC4 compatible with Acrobat 5 or higher
  • -keylen 2: encrypt key length as 128-bit RC4 compatible with Acrobat 6 or higher

Then, after one click on “space” button, if you would like to set the editing authority, you can choose one of the parameters to input into command prompt window, then click “space” for other command:

  • -encryption    0: Encrypt the file only
  • -encryption 3900: nothing allowed
  • -encryption    4: anything allowed except printing
  • -encryption    8: anything allowed except modification of contents
  • -encryption   16: anything allowed except copying of contents

Next, please add all the source files for the conversion from rtf to pdf and editing pdf password in batches, and you can realize it through an uniform source path with “*” as filename. And after one click on “space” in command prompt window, please input the uniform targeting path with “*” as filename, which is used for saving pdf files later

D:\doc2any_cmd\doc2any.exe -ownerpwd forever -keylen 2 -encryption 3900 D:\doc2any_cmd\*.rtf E:\output\*.pdf

thereinto:

  • D:\doc2any_cmd\doc2any.exe is the path of “doc2any.exe”, which you get by dragging and dropping “doc2any.exe” into command prompt window
  • D:\doc2any_cmd\*.rtf is the uniform source path representing all rtf files in folder “doc2any_cmd” added for this process
  • E:\output\*.pdf is the universe objective path used for saving all pdf files in folder “output”

At last, please click “enter” in command prompt window, and some pdf files can be produced soon.

By now, it is nearly an end for this article. And if you want to try DOC to Any Converter Command Line, you can click the following link: https://www.verydoc.com/doc2any_cmd.zip; to know more conversions besides this one and more parameters, which is from rtf to pdf and setting pdf password in batches, please click the following link: https://www.verydoc.com/doc-to-any-options.html.

DOC to Any Converter

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.

DOC to Any Converter

Convert ppt to pdf and set pdf password

It is so simple and quick to convert ppt to pdf and set pdf password of user with command line in Windows platforms! If you do not believe it, maybe you need to keep reading this article.

Firstly, you need to have a converter----DOC to Any Converter Command Line, which is a professional tool to help you convert Office and OpenOffice files to pdf files with command line in Windows platforms. And it is convenient to click the following link to download a zip file which needs you to unzip to your computer for the usage of DOC to Any Converter Command Line later: https://www.verydoc.com/doc2any_cmd.zip.

Then, please refer to the followings to run “cmd.exe” in your computer so that the operating environment of DOC to Any Converter Command Line can be popped on your screen, which is the command prompt window like below:

click “start” to get start menu, then click “Run” on start menu, and then type “cmd.exe” or “cmd” in dialog box of “Run”, finally please click “OK” in dialog box of “Run”

command prompt window

In this command prompt window, you can type command line directly till the production of pdf file. And firstly, please see the example below:

F:\doc2any_cmd\doc2any.exe -openpwd abcdefg -keylen 1 D:\source\input2.ppt D:\end\input2.pdf

where:

  1. F:\doc2any_cmd\doc2any.exe is the path of “doc2any.exe”, which is typed for calling “doc2any.exe” so that DOC to Any Converter Command Line can be effective on this process of ppt to pdf and setting pdf password
  2. -openpwd abcdefg is the parameter to edit open password (user password) as “abcdefg”, which can be replaced by anther string based on “-openpwd <string>”
  3. for DOC to Any Converter Command Line supports editing the key length as 40-bit or 128-bit, -keylen 1 is the parameter to edit your password as 128-bit RC4 encryption that is suitable for Acrobat 5 or higher, also you can use “-keylen 0” or “-keylen 2” here to edit password as 40-bit RC4 encryption or 128-bit RC4 encryption
  4. D:\source\input2.ppt is the source path of ppt file used to add this file for this process
  5. D:\end\input2.pdf is typed to save pdf file and name this pdf file directly

After the command line like above has been typed into command prompt window, please get one click on “enter” button, then your pdf file can be added into the targeting folder quickly. Here is the relative command prompt window below:

conversion from ppt to pdf and setting pdf password

For more doubts about this article, please leave your comment here; and for more concerns about DOC to Any Converter Command Line, please click this link below to log on the official website of DOC to Any Converter Command Line, where you can know more parameters besides the one used in the process of ppt to pdf and editing pdf password of user with DOC to Any Converter Command Line: https://www.verydoc.com/doc-to-any-options.html.