|
|
 |
RE: FN-FORUM: Populating a PDF using PHP
date posted 1st June 2006 19:09
OK I have a not too attractive solution but I have used it successfully in
past.
iText PDF library for java (http://www.lowagie.com/iText/) lets u rip and
then reconstruct a PDF. It allows you to use a template PDF as background
and populate text images etc on the basis of coordinates.
I maintained a set of xml templates with list of fields and coordinates, and
a corresponding set of background pdf's a program using iTExt Sharp read the
Xml and created fields dynamically on background PDF to produce finished
PDF.
Hope this makes sense.
Cheers
Sanjay
-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Mac
T.Wheeler
Sent: 01 June 2006 17:43
To: FN-FORUM / [EMAIL REMOVED]
Subject: RE: FN-FORUM: Populating a PDF using PHP
Sorry folks I may not have explained my problem fully.
I have a set of standard PDF documents (think insurance key facts, policy
wordings and suchlike) that need to be personalised by inserting data from
the on-line application form into them before printing.
I don't need to create the whole PDF, just insert a few data fields into
them. Is this a possibility? Or would I have to take the route of creating
the documents from scratch?
Thanks in advance.
[EMAIL REMOVED]
-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Ray
McGinty
Sent: 01 June 2006 16:19
To: FN-FORUM / [EMAIL REMOVED]
Subject: Re: FN-FORUM: Populating a PDF using PHP
On 1 Jun 2006, at 14:52, Mac T.Wheeler wrote:
> One of the projects I am working on requires an application form to be
> filled in on the web and then a PDF needs to be printed with the data
> from the application form imbedded in it.
>
> I've not tried this before, does anybody have a link to a how-to or
> something similar please? Alternatively any advice would also be
> welcome :)
There's a PHP class called ezpdf which I've been using for a while which you
can use to build a pdf from scratch. I've found it pretty good. You can get
it from here:
http://www.ros.co.nz/pdf
Best regards,
Ray
------------------------------
Ray McGinty Information Design
Specialising in web application development, e-commerce and design for
print.
http://www.rmid.co.uk
Listed on the North East England Service Provider Register
--
Freelancers, contractors earn more with Prosperity4 Call 0870 870 4414 or
visit www.prosperity4.com and benefit from Inland Revenue approved expenses
today.
To advertise here: http://www.freelancers.net/advertising.html
--
Freelancers, contractors earn more with Prosperity4 Call 0870 870 4414 or
visit www.prosperity4.com and benefit from Inland Revenue approved expenses
today.
To advertise here: http://www.freelancers.net/advertising.html
|
 |
|