I'm using Ultimate PDF to generate a sevaral pages long pdf. I want it to break on specific places. I 've used the Pagination\PageBreak without luck. I have read that this has to be inside a container which must have it width set to fill, this didn't help either.
Is there a specific procedure to use the PageBreak og are there specific conditions that need to be meet?
Hi Mohammad. The PageBreak block requires you to use the PrintLayout block.
I suggest you start by creating a new screen using the Blank PDF template, which already sets up the layout for you. The other templates are also a good resource for you to learn different layout features such as repeating headers, page background and pagination.
Hi Mohammad,
You should keep the page break web block after the content where you want to force the page breaking, can you please share your OML to check.
Thanks.
Hi Venkatesh
This is also what I have done, unfortunately without luck.
I'm not able to share my OML due to company restrictions. Basically I have the MainContent, within that I have e.g. 4 containers with data, that needs to be separated and thereby on to their own pdf page. I'm sharing a screen dump:
Hi Leonardo
Apology for my late response.
Playing around with the extension using PrintLayout and PageBreak I finally was able to understand the dynamic.
For others reading this I have attached an oml file.