- Install the latest version of the Pentaho BA-Server / BI-Server, PhantomJS and WeasyPrint on your PC.
- Upload the
pentaho-solutions/Report
folder to the Pentaho BA Server. It has to reside in following folder on the server:/public/Dashboards
. - Follow info outlined in this blogpost. To preprocess the HTML run
phantomjs phantomjs-preprocess-html.js > output.html
. To generate the PDF, runpython -m weasyprint.navigator
, open your favourite web browser with following URLlocalhost:5000
and enter the full file path ofoutput.html
into the input field.
-
Notifications
You must be signed in to change notification settings - Fork 4
diethardsteiner/css-for-print
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Demo: How to create a PDF report using CSS, Pentaho BA-Server and WeasyPrint
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published