Created on 09 November 2020
icon_unfollowing
Login to follow
reactive-print-pdf-button

Reactive Print PDF Button

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

Reactive Print PDF Button

Documentation
1.0.2

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).

1.0.1

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).

1.0.0

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).

Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
See all 1 dependencies