90
Views
3
Comments
[Reactive Print PDF Button] Alignment in Reactive Print PDF button
reactive-print-pdf-button
Reactive icon
Forge asset by Gianluca Bracca
Application Type
Reactive

I am using forge component "Reactive print PDF Button" while printing the screen some of the labels are coming in two pages and alignment is also not good 


Screenshot 2022-11-16 152131.png
2022-11-29 07-50-38
Balamurugan Pandiyan

Hi @Peruri Satya Siva Teja,


I have attached the screenshot that they specified component on Development. 

So, You can use Ultimate PDF Component to meet out your requirement.


Thanks,

Bala. 



ReactivePrintPDFButtonIssue.png
2020-11-09 10-59-26
Gianluca Bracca

Hello @Peruri Satya Siva Teja,


The component is reported "under development" for the reason that OutSystems closed the personal account on which the demo was hosted.

Regarding the problem you report, I can answer that it does not depend on the component itself, but rather on the javascript library it uses (https://github.com/eKoopmans/html2pdf.js), which takes a "screenshot" of the page elements and then converts it to PDF.

The issue of "cut" elements in page-break is one of the library's problem (https://github.com/eKoopmans/html2pdf.js/issues?q=is%3Aissue+cut+elements+page+).

My advice is to try applying some special CSS classes that tell the library how to behave on page-breaks: https://github.com/eKoopmans/html2pdf.js#page-breaks

I hope my answer will help you.
Gianluca

2022-12-09 04-50-17
Shubham Doshi

Hello,

Use  

https://www.outsystems.com/forge/component-overview/5641/ultimate-pdf

In this component, you can set margins, page breaks and lots of other stuffs. It will help you to resolve your issue


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