Also see
http://groups.google.com/group/cake-php/browse_thread/thread/24196c7482ad2015/57bf84dfab5c910a?lnk=gst&q=pdf+debug#57bf84dfab5c910a
On Jan 18, 9:28 pm, Takuo SHIONO <[EMAIL PROTECTED]> wrote:
> Hello Gianluca,
>
> In may case, we put FPDF into vendors directory. Then we generate
> compo
Hello Gianluca,
In may case, we put FPDF into vendors directory. Then we generate
component php file, pdf_generator.php. In this php file, we define two
classes. The first one is PdfGeneratorComponent class which is component
class. The other is MyFPDF class which extends FPDF class.
The foll
How-to integrate FPDF and FPDI in my component? With "vendors" var?
Thanks,
Gianluca
On 15 Gen, 19:35, Takuo SHIONO <[EMAIL PROTECTED]> wrote:
> Hello Gianluca,
>
> I am also using FPDF with cakePHP.
>
> I think the problem is that the program output the white spaces in the
> layout template bef
Hello Gianluca,
I am also using FPDF with cakePHP.
I think the problem is that the program output the white spaces in the
layout template before FPDF outputs HTTP headers for pdf file.
Please try:
$this->layout = null;
If this does not work, there is another solution.
You do not need to use
I would look for trailing or leading spaces or returns in your
helpers, views, components, models or other files. This is very often
the culprit
Sam D
On Jan 15, 2008 9:58 AM, Gianluca Gentile <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I followed this how-to:
>
> http://bakery.cakephp.org/article
Hello,
I followed this how-to:
http://bakery.cakephp.org/articles/view/pdf-helper-using-fpdf
and this post:
http://groups.google.com/group/cake-php/browse_thread/thread/db72d5a02d700417/f04bb413117f6027?lnk=gst&q=fpdf#f04bb413117f6027
with my customization for work with FPDI.
In vendors dire