NYCPHP Meetup

NYPHP.org

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

Russ Demarest rsd at electronink.com
Tue Apr 27 15:46:01 EDT 2004


I have been using HTMLDoc for over a year generating dynamic PDF's on 
the fly. All it requires is a proper HTML 3.2 document and out comes a 
PDF. It integrates well with PHP and I find a huge time saver from 
designing with one of the PDF libraries, but that is me.

Russ


On Apr 27, 2004, at 3:22 PM, Tim Sailer wrote:

> 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