NYCPHP Meetup

NYPHP.org

[nycphp-talk] PDF Generation

Bill Lovett bill at ilovett.com
Tue Apr 27 15:11:49 EDT 2004



http://www.planetpdf.com/mainpage.asp?WebPageID=369

This article talks about creating a form that submits to an asp page,
but the asp part doesn't seem to do anything fancy beyond returning a 
special ContentType header.

The approach here is to program the acrobat document and have it
communicate with  a server-- all the interaction happens with the pdf.
You might have to add some additional buttons onto your original
document (so the user can fetch whatever data they need) but I think you
can flag them as being unprintable. 

-bill

On Tue, Apr 27, 2004 at 11:51:07AM -0700, Hans Zaunere wrote:
> 
> 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
> 



More information about the talk mailing list