There are only three steps if you want to convert the document of webpage to pdf and encrypt pdf document by command line. The application that you should use is the command line application of Document Converter.
This command line application has the ability of converting any printable documents to various image formats. If you are a software developer, you can also use the command line application to develop your own applications.
In fact, Document Converter is a combination of three internal applications: command line application that is introduced above, GUI application and virtual printer application. They all have their own advantages respectively.
The GUI application has a friendly and clear user interface which can be accepted by many users and the virtual printer application can be used to save paper and ink when you print documents because it can scale page size and combine pages on one single sheet.
The download URL of the application is http://www.verypdf.com/artprint/docprint_pro_setup.exe. This is for experiencing the free trial version. If you want to use all the functions of the application without any limitations, please buy it at http://www.verypdf.com/order_docprintpro.html.
Then please see the steps about converting the document of webpage to pdf and encrypting the pdf document.
You need to open the conversion platform—MS-DOS prompt window at first. Please use the hot key “Window”+ “R” on your keyboard to open “Run” dialog box and input “cmd” in “Open” combo box of “Run” dialog box and click “OK” button. You can also click “Start”—“Run” to open “Run” dialog box.
The second step is to input the command line into MS-DOS prompt window. You just need to know that there are four parts in the command line: called program, parameter for encrypting pdf document, source file and target file. For better understanding, please see the following command line example:
doc2pdf -s ownerpwd=456 -s keylen=2 -s permission=3900 -i “www.verypdf.com” -o C:\out.pdf
In this example:
doc2pdf is for calling the called program—doc2pdf.exe.
-s ownerpwd=456 is for setting the owner password for the target file. To set the open password, please use the command “-s openpwd=xxx”.
-s keylen=1 is to set key length as 128-bit RC4 encryption.
-s permission=3900 means the encryption standard. To learn more standard about the encryption, please click http://www.verypdf.com/artprint/document-converter/help.htm#cmdto get more information.
-i “www.verypdf.com” stands for the link of the input webpage document.
-o C:\out.pdf is the name of the target file.
Please click “Enter” button to run the conversion from webpage to pdf at last. You just need to wait for several seconds until the conversion is over.