NYCPHP Meetup

NYPHP.org

[php] RE: [nycphp-talk] PDF Generation

William Klein willie at pdfsystems.com
Tue Apr 27 15:58:29 EDT 2004


Again I love fpdf.  easy-pdf looks good too but it will not add data to
an existing form here is a forum thread.
http://sourceforge.net/forum/message.php?msg_id=1908901

I went through this a few months ago.

iText will do it. You create a FDF file with Acrobat and iText will fill
in the fields

-----Original Message-----
From: talk-bounces at lists.nyphp.org
[mailto:talk-bounces at lists.nyphp.org]On Behalf Of Tim Sailer
Sent: Tuesday, April 27, 2004 3:23 PM
To: NYPHP Talk
Subject: Re: [php] RE: [nycphp-talk] PDF Generation


I think ezpdf can do things like that. It's over a year since I
looked at it, but, if my failing memory is actually right, you can
use a base image or pdf to start.

Tim

On Tue, Apr 27, 2004 at 03:20:10PM -0400, William Klein wrote:
> The only way I have found to do this is with java.  Look at
> http://www.lowagie.com/iText/
> 
> There is some talk of porting iText to php but as far as I can tell
not
> done yet.
> 
> For generating PDFs I recomend fpdf.org 
> 
> But If you need to use an existing pdf as a template iText is the way
to
> go,
> 
> Hope that helps,
> 
> Willie
> 
> -----Original Message-----
> From: talk-bounces at lists.nyphp.org
> [mailto:talk-bounces at lists.nyphp.org]On Behalf Of Mark L. Withington
> Sent: Tuesday, April 27, 2004 2:54 PM
> To: 'NYPHP Talk'
> Subject: [php] RE: [nycphp-talk] PDF Generation
> 
> 
> Don't know if this is what you're looking for.  I use htmldoc-1.8.23
to
> convert HTML pages to PDF.  Works great.  Find it at
> http://www.easysw.com/htmldoc/ 
> 
> --------------------------
> Mark L. Withington
> PLMresearch
> "eBusiness for the Midsize Enterprise"
> PO Box 1354
> Plymouth, MA  02362
> o: 800-310-3992
> f: 508-746-4973
> v: 508-746-2383
> m: 508-801-0181
> http://www.PLMresearch.com
> Netscape/AOL/MSN IM: PLMresearch
> mwithington at plmresearch.com
> Public Key: http://www.PLMresearch.com/keys/MLW_public_key.asc
> Calendar: http://www.plmresearch.com/calendar.php
> 
> 
> -----Original Message-----
> From: talk-bounces at lists.nyphp.org
> [mailto:talk-bounces at lists.nyphp.org]On Behalf Of Hans Zaunere
> Sent: Tuesday, April 27, 2004 2:51 PM
> To: NYPHP Talk
> Subject: [nycphp-talk] PDF Generation
> 
> 
> We have an existing form in PDF that is typically printed and used.
> However, now they want some of the information to - of course - be
> automatically be filled out from our database, and then downloadable
and
> printable.
> 
> Although only a single page, the form is quite nasty.  Although, I
must
> say, graphics/colors/etc aren't a concern.  I'm looking for ways to
fill
> in the information via PHP with the least amount of vector graphics
> calculations, Postscript, or whatever else (this is mostly uncharted
> territory for me).
> 
> 
> Some thoughts
> 
> -- since the form is already in PDF, can I convert it to HTML.  Then,
> using HTML as the template, fill in the information and convert back
to
> PDF?  I can't just stick to HTML because I'm concerned about printing
> issues.
> 
> -- are there good (commercial is fine) libraries that let me do this?
> While something native in PHP would be nice (I've seen PDFLib.com) I'd
> have no problem using an external command and piping information
around.
> 
> -- does Adobe, or anyone else, offer programmatic ways to use existing
> PDFs as templates?
> 
> -- are there other/better ways to do this that I'm missing?
> 
> Money is less of a concern than time.
> 
> Thanks,
> 
> H
> 
> P.S:  Next step; sending print jobs to HP printers from Apache/PHP
> 
> 
> 
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk


> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk


-- 
Tim Sailer <sailer at bnl.gov> 
Information and Special Technologies Program
Office of CounterIntelligence 
Brookhaven National Laboratory  (631) 344-3001
_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk




More information about the talk mailing list