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

pdftk server (pdftk binary file) for linux has been already installed and passing the executable binary file value in 2nd line of source code.

Please let me how to resolve it.

Replies are listed 'Best First'.
Re^3: pdftk encryption function
by roboticus (Chancellor) on Sep 18, 2014 at 18:33 UTC

    sumalatha:

    Please read my post again--I told you how you may resolve it.

    ...roboticus

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

      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

        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.