in reply to Re^3: pdftk encryption function
in thread pdftk encryption function

Thanks for providing the PDF::Tk link and read throughout and went across Tk.pm module also. when tried for split pdf file function by passing arguments as "$doc->call_pdftk('input.pdf', 'out.pdf', 'cat', '1-14');", then the function is working fine, by retrieving pages from 1 to 14 to output pdf file.

but i'am not able to perform encryption function, please help me and sorry for repeatedly asking

Replies are listed 'Best First'.
Re^5: pdftk encryption function
by roboticus (Chancellor) on Sep 19, 2014 at 17:52 UTC

    As I said in the second paragraph of my first post, it doesn't look like PDF::Tk supports encryption. However, the COMMAND LINE version seems to. You can use the SYSTEM function to call command line programs. Perhaps you could use the command line version to decrypt the PDF file.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.