Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Perl & PDF Manipulation

by dulwar (Scribe)
on Aug 27, 2013 at 10:49 UTC ( #1051111=note: print w/ replies, xml ) Need Help??

in reply to Perl & PDF Manipulation

About two years back, I developed something similar, using PDF::Reuse to dynamically generate a PDF cover page based on a template and then use pdftk (check PDF::Tk for Perl integration) to prepend it to an existing PDF document.

I tried several modules, including CAM::PDF and PDF::API2 for the merging/inserting pages and although it worked in some cases it was not as reliable as pdtfk. Whether the merging works depends a lot on the individual PDF files, so using these modules could still be a viable solution in your case. In our case the PDFs come from various sources, with different content that we have no control over. But even when using pdftk it still doesn't work with all PDF documents.

Comment on Re: Perl & PDF Manipulation

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051111]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2015-07-29 01:33 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (260 votes), past polls