[nycphp-talk] Report with line breaks
Fernando Gabrieli
fgabrieli at gmail.com
Tue Dec 9 13:02:28 EST 2008
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 <br>
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 at 1:02 PM, Néstor <rotsen at gmail.com> 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 <ken at secdat.com> wrote:
>
>> 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 cell can be 1 line or many.
>>
>>
>> This is a bitch. FPDF can do this, but it becomes damn near impossible if
>> you have more than one such entry in a row. I put a lot of effort into it
>> and finally decided it only works if there is one multi-line value and it is
>> at the *end* of the line.
>>
>>
>> I have create a report but the managers do not want part of a table record
>> in one page
>> and part on another page
>>
>>
>> Also tough.
>>
>>
>>
>> Thanks,
>>
>> Nestor :-)
>>
>> On Tue, Dec 9, 2008 at 5:29 AM, Kenneth Downs <ken at secdat.com> 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 HTML reports a few years ago and concluded the support is
>>> simply not there to make it worthwhile, and went PDF instead.
>>>
>>>
>>> Nestor:-)
>>>
>>> ------------------------------
>>>
>>> _______________________________________________
>>> New York PHP User Group Community Talk Mailing Listhttp://lists.nyphp.org/mailman/listinfo/talk
>>> http://www.nyphp.org/show_participation.php
>>>
>>>
>>>
>>> --
>>> Kenneth Downs
>>> Secure Data Software, Inc.www.secdat.com www.andromeda-project.org
>>> 631-689-7200 Fax: 631-689-0527
>>> cell: 631-379-0010
>>>
>>>
>>>
>>> _______________________________________________
>>> New York PHP User Group Community Talk Mailing List
>>> http://lists.nyphp.org/mailman/listinfo/talk
>>>
>>> http://www.nyphp.org/show_participation.php
>>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> New York PHP User Group Community Talk Mailing Listhttp://lists.nyphp.org/mailman/listinfo/talk
>> http://www.nyphp.org/show_participation.php
>>
>>
>>
>> --
>> Kenneth Downs
>> Secure Data Software, Inc.www.secdat.com www.andromeda-project.org
>> 631-689-7200 Fax: 631-689-0527
>> cell: 631-379-0010
>>
>>
>> _______________________________________________
>> New York PHP User Group Community Talk Mailing List
>> http://lists.nyphp.org/mailman/listinfo/talk
>>
>> http://www.nyphp.org/show_participation.php
>>
>
>
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/show_participation.php
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20081209/47249cdd/attachment.html>
More information about the talk
mailing list