print-html-report
Reactive icon

Print Html Report

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 20 Feb (21 hours ago)
 by 
0.0
 (0 ratings)
print-html-report

Print Html Report

Details
Generates a print-ready document from dynamic HTML content, with optional custom CSS injection, and triggers the browser’s native print dialog optimized for A4 landscape layout.
Read more
  • Generates a print-ready document from dynamic HTML content, allowing full customization through optional CSS injection to adapt styles, layout, and visual identity as needed. The component renders the content inside an isolated iframe environment to ensure consistent formatting, applies print-optimized settings for A4 landscape layout, preserves table headers across pages when supported, and triggers the browser’s native print dialog for fast, reliable, and efficient PDF generation without backend processing overhead.

 

?? Why didn't you generate the PDF using C# on the backend? 

  • The engine that generates the PDF is heavy; some commonly used engines are: wkhtmltopdf, IronPDF, SelectPDF, iText with complex HTML, etc... 
  • Using one of these engines, in this case wkhtmltopdf, it took more than 5 minutes to generate a PDF with a table report of 450 lines, while using the method I used, it generated a PDF with 1000 lines almost instantly.
Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team
Other assets in this category