is it possible to force a pagebreak in the print.tpl.php template?

i know tcpdf has the function AddPage() but i don't know how to call it from the template file.

Comments

djoulle’s picture

simply add <tcpdf method="AddPage" /> were needed in your content

best
julien

jcnventura’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ksiebel’s picture

How does it work in Drupal 6?

With a simple <tcpdf method="AddPage" /> it doesn't work for me.

ksiebel’s picture

<div style="page-break-before: always;">&nbsp;</div> works fine.