Page 1 of 1

Encrypted PDF document

Posted: Thu Oct 13, 2016 11:35 am
by shoolem
One of the PDF files I wish to compare is encrypted, and as such the plug-in is unable to decrypt.

However, it does give the error message "Command Line Error: Incorrect Password" which implies that it would happily perform the decryption if only it had a correct password. I cannot seem to guess the proper command-line syntax I need to feed it to make it work.

Does anyone know this?

TIA,

Steve

Re: Encrypted PDF document

Posted: Thu Oct 13, 2016 2:45 pm
by psguru
Try -opw or -upw option (see https://linux.die.net/man/1/pdftotext for all command line options fro pdftotext.exe).

Re: Encrypted PDF document

Posted: Fri Oct 14, 2016 5:14 am
by shoolem
Thank you. I got as far as that but could not make it work from the command line. But I got it working from the GUI. Thanks!