343
Views
4
Comments
Solved
[Ultimate PDF] Ultimage PDF force page break on specific places
ultimate-pdf
Reactive icon
Forge asset by Leonardo Fernandes
Application Type
Reactive
Service Studio Version
11.54.10 (Build 62419)
Platform Version
11.21.0 (Build 39357)

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?

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP
Solution


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.

2023-08-28 09-08-29
Venkatesh Sundarajan

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.

2024-09-13 15-32-30
Mohammad Mz

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:


2019-07-08 11-04-35
Leonardo Fernandes
 
MVP
Solution


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.

2024-09-13 15-32-30
Mohammad Mz

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. 

UltimatePdf_PageBreak.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.