Convert documents of HTML to PDF and encrypt PDF by command line

When you create a new PDF document, you may need to encrypt pdf document for protecting the contents of it from being freely printed, copied and modified or others. So for the purpose of converting document of html to pdf and encrypting pdf, you can choose the command line application of Document Converter as your tool because it can do this work perfectly for you.

The command line application of Document Converter can convert any printable documents to various image formats and set parameters for the target file in the conversion process. It can also be used as the developing tool to software developers when they want to develop software. To use this application, you can download it at http://www.verypdf.com/artprint/docprint_pro_setup.exefor free trial. Then install it on your computer. The executable file doc2pdf.exe in installation package will be the called program in the conversion.

There are also two other applications in Document Converter—GUI application and virtual printer application. You can use the GUI application to make batch conversion because the application has a friendly and clear user interface which can be mastered by most of people when using it. The virtual printer application can be used to print documents and save paper and ink at the same time.

You should see the following contents carefully for they are the description of the conversion from html to pdf.

Please open MS-DOS interface at first. You can use the combination “Window”+ “R” on the keyboard to open “Run” dialog box. Then please 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.

You need to input the command line which contains the called program, parameters for encrypting pdf document, source file and target file just like the following sample.

doc2pdf -s ownerpwd=456 -s keylen=2 -s permission=3900 -i “ww.verypdf.com” -o C:\out.pdf

In the command line,

doc2pdf means the called program.

-s ownerpwd=456 is for setting pdf owner password. You can also use the command “-s openpwd=xxx” to set the open password for output document.

-s keylen=2 is to set the key length of the password as 128 bit RC4 encryption.

-s permission=3900 is to encrypt pdf document from being done anything.

-i C:\test.doc stands for the source file path.

-o C:\out.pdf stands for the name of the target file.

Then you need to click “Enter” button to run the conversion from html to pdf.

If you are interested in the command line application and want to use more functions of it, please buy it by clicking the URL: http://www.verypdf.com/order_docprintpro.html.

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

This entry was posted in docPrint Pro and tagged , . Bookmark the permalink.

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!