Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Perl & PDF Manipulation

by dulwar (Monk)
on Aug 27, 2013 at 10:49 UTC ( [id://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.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-22 20:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found