Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Mechanize PDFs?

by jgamble (Pilgrim)
on Dec 14, 2007 at 21:13 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-09-17 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (22 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.