Encrypted PDF document

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
shoolem
New Member
Posts: 2
Joined: Thu Oct 13, 2016 11:29 am

Encrypted PDF document

Post 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
User avatar
psguru
Site Admin
Posts: 2228
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Encrypted PDF document

Post by psguru »

Try -opw or -upw option (see https://linux.die.net/man/1/pdftotext for all command line options fro pdftotext.exe).
psguru
PrestoSoft
shoolem
New Member
Posts: 2
Joined: Thu Oct 13, 2016 11:29 am

Re: Encrypted PDF document

Post 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!
Post Reply