Re: [nyphp-talk] Report with line breaks

2008-12-09 Thread Fernando Gabrieli
Nestor, you could use html2pdf which will let you create all the code in HTML and then export it as a PDF, a line break is just adding a or dompdf as someone suggested before, but i think that the 2nd has no more support (i read so in the forums at sf.net some months ago) On Tue, Dec 9, 2008 a

Re: [nyphp-talk] Report with line breaks

2008-12-09 Thread Elijah Insua
dompdf? On Tue, Dec 9, 2008 at 11:02 AM, Néstor <[EMAIL PROTECTED]> wrote: > Thanks to all for your answers. > > I have been searching the internet and it seems that it is very hard to > create reports. > > Thanks again, > > Nestor :-) > > > On Tue, Dec 9, 2008 at 7:32 AM, Kenneth Downs <[EMAIL P

Re: [nyphp-talk] Report with line breaks

2008-12-09 Thread Néstor
Thanks to all for your answers. I have been searching the internet and it seems that it is very hard to create reports. Thanks again, Nestor :-) On Tue, Dec 9, 2008 at 7:32 AM, Kenneth Downs <[EMAIL PROTECTED]> wrote: > Néstor wrote: > > But with PDF can you control page breaks? Page headings

Re: [nyphp-talk] Report with line breaks

2008-12-09 Thread Kenneth Downs
Néstor wrote: But with PDF can you control page breaks? Page headings? Yes and Yes. Is there a default number of lines per page? Determined by font size, line height and page size. When printing a cell in a table is there a way to tell how many lines printing a cell will take because a

Re: [nyphp-talk] Report with line breaks

2008-12-09 Thread Rolan Yang
Kenneth Downs wrote: Néstor wrote: When creating a report how do you guys handle line breaks? When printing a table text table cell how do you do so that part of text is not on one page and part on another? Thanks, Have you tried fpdf (fpdf.org) to make things in PDF format? I tried making

Re: [nyphp-talk] Report with line breaks

2008-12-09 Thread Néstor
But with PDF can you control page breaks? Page headings? Is there a default number of lines per page? When printing a cell in a table is there a way to tell how many lines printing a cell will take because a cell can be 1 line or many. I have create a report but the managers do not want part of a

Re: [nyphp-talk] Report with line breaks

2008-12-09 Thread Kenneth Downs
Néstor wrote: When creating a report how do you guys handle line breaks? When printing a table text table cell how do you do so that part of text is not on one page and part on another? Thanks, Have you tried fpdf (fpdf.org) to make things in PDF format? I tried making HTML reports a few ye

Re: [nyphp-talk] Report with line breaks

2008-12-09 Thread David Krings
John Campbell wrote: On Mon, Dec 8, 2008 at 8:56 PM, Tom Sartain <[EMAIL PROTECTED]> wrote: It's surprising how much control you can get over printouts with CSS. In theory... those CSS properties are only supported by Safari, and IE8. Unfortunately I found that out the hard way. -John Campb

Re: [nyphp-talk] Report with line breaks

2008-12-08 Thread John Campbell
On Mon, Dec 8, 2008 at 8:56 PM, Tom Sartain <[EMAIL PROTECTED]> wrote: > It's surprising how much control you can get over printouts with CSS. In theory... those CSS properties are only supported by Safari, and IE8. Unfortunately I found that out the hard way. -John Campbell ___

Re: [nyphp-talk] Report with line breaks

2008-12-08 Thread Tom Sartain
Are you looking for line breaks or page breaks? Line breaks, you'll have to stick with a well placed PHP_EOL Page breaks, you'll need to use the page-break-before page-break-after CSS properties.There are actually a bunch of print specific CSS properties available: http://www.w3schools.com/CSS/cs

[nyphp-talk] Report with line breaks

2008-12-08 Thread Néstor
When creating a report how do you guys handle line breaks? When printing a table text table cell how do you do so that part of text is not on one page and part on another? Thanks, Nestor:-) ___ New York PHP User Group Community Talk Mailing List http:/