best of the best php 's pdf class
Moderator: General Moderators
best of the best php 's pdf class
i am wondering to know which one is the best pdf generation class.
I want the devnetworkians to jott down here..
lets have a survey here...
I want the devnetworkians to jott down here..
lets have a survey here...
Last edited by PHPycho on Tue Jan 16, 2007 10:04 pm, edited 1 time in total.
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
HTML -> PDF
Does anyone knows a class that handles html to pdf well?
I am using ezpdf now and it is really a pain to use.
Specially when you have to handle html table...
I never tried fpdf , anyone thinks it's better for html->pdf
I read some commercial ones, anyone tested them ?
I am using ezpdf now and it is really a pain to use.
Specially when you have to handle html table...
I never tried fpdf , anyone thinks it's better for html->pdf
I read some commercial ones, anyone tested them ?
Well building tables dynamically was a pain.feyd wrote:Tables were pretty simple when I used ezpdf last... (well over a year ago.)
Of course a static table is very simple, when you know how many rows / cell and what will be inside, it is simple.
But I was trying to build a dynamic system, and this library even though i thank people who coded it , is not great for dynamic system.
I used it last year as well.
- dibyendrah
- Forum Contributor
- Posts: 491
- Joined: Wed Oct 19, 2005 5:14 am
- Location: Nepal
- Contact:
-
waskelton4
- Forum Contributor
- Posts: 132
- Joined: Mon Sep 09, 2002 6:42 pm
i have an application that uses htmldoc
http://www.htmldoc.org/
It is a linux command line program that i run using exec() (or maybe passthru()) I don't remember.. but is is one of those.
It works pretty well for me. I'm not converting any complex html though. just a table with some text in it.
ws
http://www.htmldoc.org/
It is a linux command line program that i run using exec() (or maybe passthru()) I don't remember.. but is is one of those.
It works pretty well for me. I'm not converting any complex html though. just a table with some text in it.
ws
- dibyendrah
- Forum Contributor
- Posts: 491
- Joined: Wed Oct 19, 2005 5:14 am
- Location: Nepal
- Contact:
I use FPDF and it works well.
I use it for generating PDF invoice / order forms, and I found it pretty time consuming getting it set up with the layout I wanted. But there really is no other way to do it I don't think!
There is a thing called FPDI which works in combination with FPDF to allow you to use an existing PDF file as a template (I think), but I've never really looked into it.
Though it sounds like it would be very useful - design up your PDF template in Illustrator or Quark or whatever, with placeholder text in the various positions. Then I think the combination of FPDF and FPDI will let you replace those placeholders with values.
At least I think that's how it works - but I didn't have time to experiment too much. I just did it manually with the FPDF class syntax.
If anyone has used FPDI then please correct me if I'm talking rubbish
HTH
I use it for generating PDF invoice / order forms, and I found it pretty time consuming getting it set up with the layout I wanted. But there really is no other way to do it I don't think!
There is a thing called FPDI which works in combination with FPDF to allow you to use an existing PDF file as a template (I think), but I've never really looked into it.
Though it sounds like it would be very useful - design up your PDF template in Illustrator or Quark or whatever, with placeholder text in the various positions. Then I think the combination of FPDF and FPDI will let you replace those placeholders with values.
At least I think that's how it works - but I didn't have time to experiment too much. I just did it manually with the FPDF class syntax.
If anyone has used FPDI then please correct me if I'm talking rubbish
HTH