Welcome Guest, Not a member yet? Register   Sign In
DOMpdf Documentation with Code Igniter
#2

[eluser]Crimp[/eluser]
As I recall, this is done with CSS: page-break: after. (DOMpdf is not exactly a dream when it comes to complex layouts). One solution may be to loop the results and insert a CSS div with page break applied after each 20. Keep in mind that DOMpdf does two passes: one for PHP and the second pass for DOMpdf commands. This allows you to execute all PHP and then act on the results with DOMpdf.


Messages In This Thread
DOMpdf Documentation with Code Igniter - by El Forum - 01-14-2008, 07:29 AM
DOMpdf Documentation with Code Igniter - by El Forum - 01-14-2008, 10:13 AM
DOMpdf Documentation with Code Igniter - by El Forum - 01-14-2008, 11:37 AM
DOMpdf Documentation with Code Igniter - by El Forum - 01-15-2008, 03:44 AM
DOMpdf Documentation with Code Igniter - by El Forum - 01-15-2008, 05:59 AM
DOMpdf Documentation with Code Igniter - by El Forum - 01-16-2008, 10:12 PM
DOMpdf Documentation with Code Igniter - by El Forum - 01-17-2008, 02:17 AM
DOMpdf Documentation with Code Igniter - by El Forum - 01-17-2008, 08:15 AM
DOMpdf Documentation with Code Igniter - by El Forum - 01-17-2008, 08:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB