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

Mechanize PDFs?

by jgamble (Pilgrim)
on Dec 14, 2007 at 21:13 UTC ( #657119=perlquestion: print w/ replies, xml ) Need Help??
jgamble has asked for the wisdom of the Perl Monks concerning the following question:

Is there an equivalent of WWW::Mechanize for PDFs?

I'm looking for the ability to fill in the text boxes in forms found at http://www.cookcountyassessor.com/ccao/forms.html#Select. The user will save the forms to her computer and fill them out there. Since another application will have the necessary information, it would be nice to just copy that over to the PDF automatically. But unless I haven't thought of the right search key (likely), I'm not seeing a module on CPAN to do it.

Note that I'm not creating a PDF from scratch, I am taking an existing PDF, filling in text boxes, and then printing it. Repeat as necessary. Yes, I know, but some things are required to be on paper.

Thank you.

Comment on Mechanize PDFs?
Re: Mechanize PDFs?
by moklevat (Priest) on Dec 14, 2007 at 21:38 UTC
    You should take a look at CAM::PDF. It allows you to manipulate existing PDF's. Specifically, the fillFormFields() function may do what you want.

      This looks very good. Thanks, I'll start working with it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://657119]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (14)
As of 2014-12-18 07:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (44 votes), past polls