Devraj, I am using FPDF now. Samuel DeVore has a sample at
http://bakery.cakephp.org/articles/view/225. But I think we should
make a little changes on his codes, maybe it is because CakePHP is
change framework codes. My feedback to Samuel's code is here:
http://groups.google.com/group/cake-php/browse_thread/thread/db72d5a02d700417/e220d5820ee291f4?lnk=gst&q=fpdf&rnum=1#e220d5820ee291f4

I believe you should give pure data to pdf view file. It is View's
responsibility to call fpdfHelper (Helper is an assistant View) and
output PDF data.

I am new on PDF generation. Luckily I succeeded today following
Samuel's guide.


On 2月7日, 下午10时18分, "Devraj Mukherjee" <[EMAIL PROTECTED]> wrote:
> I'd appreciate if you could send me some source files, Sam. Thanks.
>
> Also, do you suggest the PDF data be generated in the controller or the view?
>
> On 2/8/07, Samuel DeVore <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > I did two for the bakery last week actually, but I don't know that
> > they have been released
> > one is basically the wiki one on using pdf-php and the other uses
> >fpdf.  I can send you the sources if they are not there yet
> > Sam D
>
> > On 2/7/07, Devraj Mukherjee <[EMAIL PROTECTED]> wrote:
>
> > > Hello Bakers,
>
> > > Are there any good tutorials you can recommend for generating PDF
> > > files using CakePHP?
>
> > > Thank you.
>
> > > --
> > > "I never look back darling, it distracts from the now", Edna Mode (The
> > > Incredibles)
>
> > --
> > ==
> > S. DeVore
> > (the old fart) the advice is free, the lack of crankiness will cost you
>
> > - its a fine line between a real question and an idiot
>
> --
> "I never look back darling, it distracts from the now", Edna Mode (The
> Incredibles)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to