I've seen a bunch of discussions on this but nothing that exactly matches or
helps.
We want to change our Direct Debit structure so that the paper mandates are
either easily filled in PDF forms to be printed, or better yet, pre-filled
by PHP as PDF forms, making it a super-easy process.
Here's an example of something I thought would help:
http://koivi.com/fill-pdf-form-fields
Except it's not exactly inspiring that it doesn't work. And you have to make
the PDFs manually rather than generate them, which I was hoping to avoid,
but since FPDF etc don't support forms, I think I'll have to let this one
go.
Oh, and the code hasn't been maintained for 3 years and the author says he's
tired of people to ask how to make it work so he's just put up the source
code :)
Just wondering if anyone's got any similar solutions they've used before, or
if you have a similar need we could join forces...
Leo
--
BNM Subscribe/Unsubscribe:
http://www.brightonnewmedia.org/options/bnmlist
BNM powered by Wessex Networks:
http://www.wessexnetworks.com
Not 100% about the whole forms thing as I haven't worked with it for ages
but would have thought it'd be capable of doing this...
hth
w://
2009/3/18 Leo Brown <li...@acumendevelopment.net>
--
Cheers,
w://
Write a bog standard PDF form that initally populates itself and then
lets the user edit/save/send/print.
I guess the initial population could be from the query string, or the
form could do a get the very first time it is opened (if it fails, no
defaults -- not fatal).
Paul /)/+)
2009/3/18 Leo Brown <li...@acumendevelopment.net>:
Ah ok. I think I'm trying to approach the same way you're suggesting. And
the only way you can auto-populate PDF forms that I know of is using this
XDF syntax. I downloaded the source on koivi.com, and noticed there was a
tutorial, which matches this approach:
http://koivi.com/fill-pdf-form-fields/tutorial.php
Opened a draft direct debit mandate sent to me by my bank in Word, printed
it via Office for Mac to PDF, and then opened the PDF in Acrobat Pro.
Acrobat had an 'auto detect form' option, and it successfully detected every
bloody field, with correct font size, correct label, everything.
Only mistake it made was trying to make a form field out of the signature
field, which obviously we can't do.
It's rare that computing really seems to behave as well as we think it
should, but lovely when it happens!
Leo
And there appears to be an fpdf extension to create pdf forms. A big
downside is that it's in German (all documentation in german) so i may
be barking up the wrong tree!
http://www.cix-blog.de/Blog-Projekt-FPDF-AcroForm.html
Hope this might help.
cheers,
Andy Gill
Thanks for that. Wish I found the PDF extension for making forms previously.
I've done them all now in Acrobat pro - oh well, it wasn’t too hard. Have
bookmarked it for next time!
For the record, is made and works fairly nicely, I believe.
http://mandate.proto1.acumensystems.net
Can generate data in PHP (or this case HTML) and then can still edit in the
PDF.
Thanks for assistance!
Using an FDF you need web connection to pull in the form when it is activated.
Whether this matters will depend on your application!
Paul /)/+)
p.s. Had a look at your form in chrome, filled it in, it
created/downloaded an FDF, opening this launched acrobat, which then
launched MSIE(!).
2009/3/18 Leo Brown <li...@acumendevelopment.net>:
Gotcha! No, this is online really as the data is generated from the site for
a one-off mandate print. Thanks again for all your input, think I'm there!
L
FYI: on my Mac, the FDF made Acrobat go nuts and keep asking whether
it was OK to trust the website before opening another version of
Acrobat which asked the same question ad-infinitum.
--
Jay Caines-Gooby
j...@gooby.org
+44 (0)7956 182625
twitter, skype & aim: jaygooby
gtalk: jayg...@gmail.com
Ta,
Leo
-----Original Message-----
From: bnmlist...@brightonnewmedia.org [mailto:bnmlist...@brightonnewmedia.org] On Behalf Of Jay Caines-Gooby
Sent: 18 March 2009 14:52
To: Brighton New Media
Subject: Re: [BNM] PHP Generated or Filled PDF Forms
2009/3/18 Leo Brown <li...@acumendevelopment.net>: