Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

PDF modification

by derekstucki (Sexton)
on Sep 06, 2012 at 21:22 UTC ( #992189=perlquestion: print w/replies, xml ) Need Help??
derekstucki has asked for the wisdom of the Perl Monks concerning the following question:

I have a bunch of PDF forms that I need to fill in information on from a database. I've figured out how to use PDF::API2 to open an existing PDF, but I can't seem to write on top of existing pages, only add new pages that I can write to. Any help? Edit: Found my own answer. $pdf->openpage( $page );

Replies are listed 'Best First'.
Re: PDF modification
by rpnoble419 (Pilgrim) on Sep 06, 2012 at 22:01 UTC
    I use CAM::PDF for this. It allows me to input data from my MySQL database into the forms of existing PDF files.
Re: PDF modification
by sundialsvc4 (Abbot) on Sep 06, 2012 at 22:57 UTC

    I’m glad that you “found your answer,” but would you please be obliged to elaborate?   Please post a “closing comment” in which you describe in more detail what you were trying to do, and then how openpage() solved it for you.

    In months and years to come, many other people will encounter this very thread, and they will be very grateful if you have provided to them a complete “voice of experience” description of your their problem, and of exactly how you solved they can quickly solve it.


    “This is a really important and long-lasting forum.   Write to your colleague yourself, five fifteen years from now.”   Seriously ....

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://992189]
Approved by Corion
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2018-04-19 21:33 GMT
Find Nodes?
    Voting Booth?