Question

5
Replies
939
Views
AmitK211 Member since 2014 25 posts
Cognizant Technology Solutions
Posted: 4 years ago
Last activity: 4 years 8 months ago
Closed

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

nutzen105x48.jpg

Pega Customer Service User Interface Data Integration Low-Code App Development System Administration
Moderation Team has archived post
Share this page LinkedIn