reactive-print-pdf-button
Reactive icon

Reactive Print PDF Button

Stable version 1.0.2 (Compatible with OutSystems 11)
Uploaded
 on 20 February 2023
 by 
4.7
 (12 ratings)
reactive-print-pdf-button

Reactive Print PDF Button

Details
Button Widget to create a PDF file on click with the contents of a Container.
Read more

Button Widget to create a PDF file on click with the contents of a Container. 

Implements the "html2pdf" javascript client library (https://github.com/eKoopmans/html2pdf.js). 


Usage: 

  1. Drag PrintButton on your screen. 
  2. Set ContainerId reference of a Container on your screen. 
  3. Set a Filename for generated file. 
  4. Optionally, set a ButtonSize. 
  5. Add button contents to placeholder. 


Css helper class: 

With ".show-on-export" css helper class, you can hide content on screen to show on the pdf; eg. image of logo and so on... Simply apply this class to Container contents that you don't want to show on screen but you want to print on the pdf.


Know issues: 

  • Supports on rendering only Local images (not External by URL).
Release notes (1.0.2)

Updated JQuery to the latest version (3.6.3). Thank's to Vone Ang.


License (1.0.2)
Reviews (7)
by 
12 Jun
in version 1.0.2
It worked very well and was very easy to use. The only issue that made it unfeasible for my project is that the content is first converted to an image and then to a PDF. This means that the text in the PDF is not selectable and the file size becomes very large. Reading the application's GitHub page, it is mentioned that this is a limitation but that an improvement is being worked on for the future.
by 
2023-05-01
in version 1.0.2
pdf that is created is extremely blurry
by 
2023-01-04
in version 1.0.1
Very Useful Component.
Team
Other assets in this category