in reply to pdftk functionality

It means that you need to download and install the pdftk binary from https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/, and make sure it installs at /usr/bin/pdftk.

        "You're only given one little spark of madness. You mustn't lose it."         - Robin Williams

Replies are listed 'Best First'.
Re^2: pdftk functionality
by Anonymous Monk on Aug 21, 2014 at 06:27 UTC

    CPAN Module "PDF::Tk" itself is a Perl integration for the pdf toolkit (pdftk). is it necessary to install pdftk binary from https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/.

      installed the pdftk binary file and the path to variable and tried running , getting error as below: Error: "pdftk input.pdf owner_pw foopass outPDF.pdf failed: -1 at /usr/lib/perl5/site_perl/5.10.0/PDF/Tk.pm line 73."

      use PDF::Tk; my $doc=PDF::Tk->new(pdftk=>'/apps/free/pdftk/'); $doc->call_pdftk('input.pdf', 'outPDF.pdf', 'owner_pw', 'foopass');

      please guide me in resolving it