I'm now evaluating Advance PDF Tools Command Line.
Can I set a user password using variable parameter with Advance PDF Tool Command Line?
The process like this:
1. We will process customer invoice to pdf format.
2. We want to call Advance PDF tools via .bat file to assign password to that invoice. The password is combination of invoice number and customer-id.
3. Automatically sent the invoice to customer via email/sms/whatsapps/telegram.
Thanks for your message, yes, you can use "Advance PDF Tools Command Line" to add passwords to PDF files, please look at following web pages for more information,
You may run following command lines to apply an open password or only owner password to a PDF file,
pdftools.exe -S openpwd=123 -S ownerpwd=456 -S keylen=2 -S permission=129 -i test.pdf -o _test-encryption-with-open-password.pdf
pdftools.exe -S ownerpwd=456 -S keylen=2 -S permission=129 -i test.pdf -o _test-encryption-without-open-password.pdf
If you couldn't get it work, please feel free to send to us your sample PDF file for test purpose, after we check your sample PDF file, we will figure out a solution to you asap.
btw, we have also a "PDF Mailer Command Line for PHP Source Code" product, with this product, you can set Watermark and Encryption to a PDF invoice, and then email it to customer automatically, if you are interested in this product, you may look at following web page,
"PDF Mailer Command Line" product provides full PHP source code, after you buy it, you can modify it to best meet your requirements, it may save lots of your time on the development.