PDF is one of the most used formats for documents on the Web and often there are requirements to create PDFs. In this article, you will learn step by step how to create PDF from HTML, how to customize the PDF and how to solve the problem of page break for PDFs with a dynamic structure. HTMLtoPDF vs eForm Pega has two traditional ways to generate PDF: HTMLtoPDF and eForm . eForm is the easiest way to generate PDF if you have a PDF template and you just need to map the properties and values to the template but you are limited by the template and cannot use dynamic contents like Repeat Layout, Repeat Grid, dynamic images and so on. In another hand With HTMLtoPDF you don't have too many limitations but you have to create the PDF section by section and customize the appearance as well and generating a great effort. The HTMLtoPDF is the most powerful way to generate PDF and we're going to talk about this one. HTMLtoPDF core Pega uses a third-party so...