Creating a Border Less, Margin Less PDF.
Team,
We have a requirement where I need to generate address labels in the format 105*48. So one A4 Sheet will contain 12 address labels.
Problem is if I use OOTB HTML to PDF , passing a section as parameter. PDF gets generated with margin and borders and labels don't fit on paper. Instead of a section, if I pass a HTML stream (hancoded html with CSS to render a border less and margin less html page) my styles are not getting rendered in PDF.
Have any one tried this before? Do we need to write whole java code from scratch to generate PDF. If Yes, what are pdf libraries we have in Pega that can help me achieve this?
Regards,
Amit