Pagebreak (or table break?) to obtain a good formated PDF

Posted by iker on Stack Overflow See other posts from Stack Overflow or by iker
Published on 2010-03-15T08:28:34Z Indexed on 2010/03/15 8:29 UTC
Read the original article Hit count: 249

Filed under:
|
|
|
|

Hi! I had develop an intranet on CakePHP witch in one part generates a custom PDF using DOMPDF. The problem is that i have a memo field (mysql text) witch i print after getting the result from PHP nl2br function.

The problems is that in some ocasions, this text is too long (even on font-size: 6px) and i need some way to make a page break (get again de header, and footer etc)... or maybe a nice way to get a second column to continue with the text inside.

any ideas? thanks so much

© Stack Overflow or respective owner

Related posts about php

Related posts about cakephp