Reactive Print PDF Button

Version 1.0.0 (Compatible with OutSystems 11)
Published on 09 November 2020 by 
5.0
 (6 ratings)

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).
What’s new (1.0.0)
Reviews (4)
10 Jul (14 days ago)
in version 1.0.0
Thanks, it resolves my requirement
8 Mar
in version 1.0.0
This worked perfectly for me.  Great tool.  Easy to use.
by Giamps
2020-11-18
in version 1.0.0
Very nice!