Convert Word to PDF and encrypt the PDF file with a password using command line

Hi there,

I am trying to convert Word to PDF and also encrypt the document with a password using the command line. I can convert the document fine and it says SECURED at the top but it doesn't ask for a password to open it. Is there a way to do this (v5 docprint pro)

Thanks,
Customer
----------------------------------
You can download and install docPrint Pro v6.0 from following web page first,

https://www.verypdf.com/app/document-converter/try-and-buy.html
https://www.verypdf.com/artprint/docprint_pro_setup.exe

then you can run following command line to convert your DOC, DOCX or other formats to PDF files with two passwords,

"C:\Program Files (x86)\docPrint Pro v6.0\doc2pdf.exe" -i D:\temp\test.docx -o D:\temp\out.pdf -s openpwd=123 -s ownerpwd=456 -s keylen=0 -s permission=3900

When you open the output PDF file, you will be required to input the open password.

image

image

image

VeryPDF

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!