[TYPO3] Ext fpdf - how to use it?

W van Bruggen w.van.bruggen at gmail.com
Wed Feb 1 17:54:11 CET 2006


I can only agree with Susan's comment. I have used fpdf and fpdi in
combination with typo3, using it to fill in previously constructed pdf and
creating a new pdf based on that with information given by the user, using
typo3 for managing the forms and extensions needed for this. It's a pain to
get precise allignment done correctly, and doing complex HTML > PDF
conversions is not one of its strong points. I generally would only
recommend it when you have preconstructed PDF's that need some additonal
information on them.

gr,
Wietse

On 2/1/06, Suman Debnath <suman at srijan.in> wrote:
>
> Hi,
>
> I think you should use the fpdf.org version, it's 1.53 while the T3 ext
> seems 1.52. It's one class anyway, so you can just include the file
> somewhere. You might also want to look at PDML (pdml.sf.net) which works
> on top of FPDF and is much easier to use.
>
> BTW: I have had to maintain a 'PDF Generator' based on FPDF and PDML.
> They are nice for simple PDFs but much less useful when the layout is
> complex (and also a pain to refactor). If you need a simple PDF
> converter, just use HTMLDOC.
>
> Regards,
> Suman Debnath
>
> Martin Rud wrote:
> > Hi list,
> >
> > David (the author) gave me this answer (and permission to post it):
> >
> >
> > <------- start ---------->
> > Hi Martin,
> >
> > Sorry, I only read the dev-list. It was a good idea to write directly.
> > Unless you are developing an extension, the fpdf-extension will be
> > useless to you. It can only be used as a library.
> >
> > If you are developing an extension, please have a look at the official
> > FPDF documentation (http://www.fpdf.org/). You can also have a look at
> > the extension "partner"
> > (http://typo3.org/extensions/repository/search/partner/). In the class
> > inc/class.tx_partner_format.php you will find the function formatAsPDF()
> > which might point you to the right direction. Make sure to include the
> > libary:
> >
> > if (t3lib_extMgm::isLoaded('fpdf')) {
> >  require(t3lib_extMgm::extPath('fpdf').'class.tx_fpdf.php');
> > }
> >
> > I will try to include a basic manual with the next version, however, it
> > will not contain much more information than this mail... :-)
> >
> > Hope this helped! Greetings,
> > Dave.
> > <------- end ---------->
> >
> >
> > Martin Rud wrote:
> >> Hi Michael
> >>
> >> Good idea. I´ll do if no answers help me.
> >>
> >> Martin
> >>
> >> Michael Paffrath wrote:
> >>
> >>> hi martin,
> >>>
> >>> if nobody here can help you i would consider contacting the author.
> >>>
> >>> michael
> >>>
> >>> 2006/1/27, Martin Rud <typo3 at explizit.dk>:
> >>>
> >>>
> >>>> Hi list,
> >>>>
> >>>> I´ve installed the extension fpdf, but there is no documentation, and
> I
> >>>> can´t seem to get a grip of it. :o(
> >>>>
> >>>> fpdf is the only pdf-extension that my webhotel can run, so there is
> no
> >>>> alternatives for me.
> >>>>
> >>>> Can anyone help me: How do I get it going?
> >>>>
> >>>> Regards,
> >>>> Martin Rud
> >>>> _______________________________________________
> >>>> TYPO3-english mailing list
> >>>> TYPO3-english at lists.netfielders.de
> >>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >>>>
> >>>>
> >>>
> >>> _______________________________________________
> >>> TYPO3-english mailing list
> >>> TYPO3-english at lists.netfielders.de
> >>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >>>
> >>>
> >>
> >>
> >>
> ------------------------------------------------------------------------
> >>
> >> No virus found in this outgoing message.
> >> Checked by AVG Free Edition.
> >> Version: 7.1.375 / Virus Database: 267.14.23/242 - Release Date:
> >> 26-01-2006
> >>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



More information about the TYPO3-english mailing list