You need to sign in to do that
Don't have an account?

Page Break Control
We are generating for printing some PDF templates using visualforce.
We have a question.. when the end of the page is reached, we need
to control the break page in order to print in the second page a
complete section, in this moment when the end of the page is reached
the section is been broken and half of the section is printed on the
first page and the second half in the second page.
We appreciate your help on this, as this is urgent for us to be able to print "nicely"
In case there is no posible to do this in visualforce , Is there any workaround for this?
TRF
The section you want to put in new page, you can add div tag to that section of the following type:
<div style="page-break-after:always;">
your section
</div>
I think it will display in new page, so that while printing it will print on new page. Hope this helps
I am using repeat tag in my VF page, and I am getting extra blank page in my PDF page.Any Ideas why it is coming.
Probably getting a blank page from the last page-break-after:always;