Re: Having PHP generate a PDF

2012-01-08 Thread luca capra
Hi, dompdf is based on tcpdf but take care of "translating" html/css to pdf, and support either inner php code. Il 04/01/2012 18:22, Tonu Tusk ha scritto: TCPDF can do this - I have it do it on pdfs I am generating. I'll try and post more details shortly. On Jan 4, 3:25 pm, "Yves S. Garret"

Re: Having PHP generate a PDF

2012-01-04 Thread Tonu Tusk
Ok - so (off topic I know) I'm pretty ashamed at what I had to see trawling through my code for my first cake app / learning experience from years ago. However, in answer to your question, as far as I can see (and remember) I have not really done anything special with the page settings of the docu

Re: Having PHP generate a PDF

2012-01-04 Thread Tonu Tusk
TCPDF can do this - I have it do it on pdfs I am generating. I'll try and post more details shortly. On Jan 4, 3:25 pm, "Yves S. Garret" wrote: > It does do the header and footers for me.  The problem that I am running > into is that I do not see the title per column being set to show again on >

Re: Having PHP generate a PDF

2012-01-04 Thread Yves S. Garret
Anyone heard of BIRT? http://eclipse.org/birt/phoenix Any good? On Wed, Jan 4, 2012 at 10:26 AM, Yves S. Garret wrote: > Interesting. I will look into that when I have a free moment. > > > On Tue, Jan 3, 2012 at 3:29 PM, Laerte M. Rodrigues < > laertemat...@gmail.com> wrote: > >> use jaspter r

Re: Having PHP generate a PDF

2012-01-04 Thread Yves S. Garret
Interesting. I will look into that when I have a free moment. On Tue, Jan 3, 2012 at 3:29 PM, Laerte M. Rodrigues wrote: > use jaspter reports with PHP to generate document files > > > 2012/1/3 euromark > >> @roundrightfarm >> I dont think such a helper is part of the core, though :) >> >> >> O

Re: Having PHP generate a PDF

2012-01-04 Thread Yves S. Garret
It does do the header and footers for me. The problem that I am running into is that I do not see the title per column being set to show again on every page. I am assuming that this is caused TCPDF is taking HTML code and turning it into PDF, which is an inherent limitation in HTML in the first p

Re: Having PHP generate a PDF

2012-01-04 Thread euromark
i think tcpdf is capable of doing sth like that because there you can set a custom header and footer. http://www.tcpdf.org/examples.php you could give it a try On 4 Jan., 05:34, "Yves S. Garret" wrote: > Not sure if that will cut the mustard.  I looked at the list of features and > it did not i

Re: Having PHP generate a PDF

2012-01-03 Thread Yves S. Garret
Not sure if that will cut the mustard. I looked at the list of features and it did not include what I had in mind. Have you tried this before to resolve the problem that I have? On Jan 3, 2012, at 10:53 PM, NdJ wrote: > Hi Yves, > > I've used wkhtmltoxdoc for a number of PDF generation task

Re: Having PHP generate a PDF

2012-01-03 Thread NdJ
Hi Yves, I've used wkhtmltoxdoc for a number of PDF generation tasks in the past. I'd be surprised if you can't do what you need, check it out here:- * http://madalgo.au.dk/~jakobt/wkhtmltoxdoc/wkhtmltopdf-0.9.9-doc.html Cheers, N On Jan 3, 10:45 am, "Yves S. Garret" wrote: > Here is my probl

Re: Having PHP generate a PDF

2012-01-03 Thread Laerte M. Rodrigues
use jaspter reports with PHP to generate document files 2012/1/3 euromark > @roundrightfarm > I dont think such a helper is part of the core, though :) > > > On 3 Jan., 17:25, "Yves S. Garret" wrote: > > That sounds interesting, but will it work with my requirement of having > the > > header an

Re: Having PHP generate a PDF

2012-01-03 Thread euromark
@roundrightfarm I dont think such a helper is part of the core, though :) On 3 Jan., 17:25, "Yves S. Garret" wrote: > That sounds interesting, but will it work with my requirement of having the > header and the title get copied over to the next page with the table? > > On Tue, Jan 3, 2012 at 11:

Re: Having PHP generate a PDF

2012-01-03 Thread Yves S. Garret
That sounds interesting, but will it work with my requirement of having the header and the title get copied over to the next page with the table? On Tue, Jan 3, 2012 at 11:22 AM, roundrightfarm wrote: > I'm new to ckaephp so take my advice with a grain of salt... but, it > looks like your trying

Re: Having PHP generate a PDF

2012-01-03 Thread roundrightfarm
I'm new to ckaephp so take my advice with a grain of salt... but, it looks like your trying to generate a spreadsheet type document. Cake has a csv helper to aid in this add var $helpers = array('Csv'); to your controller then you can $csv->addRow(); $csv->render(); On Jan 3, 7:45 am, "Yves S

Having PHP generate a PDF

2012-01-03 Thread Yves S. Garret
Here is my problem. I would like to have PHP generate a PDF 8.5" x 11". This is the rough format of the PDF: http://bin.cakephp.org/view/2006656317 But here is the kicker, say that those columns that hold data are much longer, say they span 2 pages. On the 2nd page, I would like to repeat the Hea