jsreport-responsivepaper-pdf
v1.0.0
Published
jsreport recipe to connect to the responsivepaper.com html to pdf service
Downloads
2
Maintainers
Readme
jsreport-responsivepaper-pdf
This recipe allows jsreport to connect to the https://responsivepaper.com html to pdf conversion service.
Local Testing
- git clone or download this project
- npm install
- get a free api key at https://responsivepaper.com
- Update the apikey in package.json at the end of the "start" script
- Remove comments from node_modules\jsreport-reports\studio\ReportEditor.scss
- npm start
Install into JsReport on Prem
- install into jsreport on premises
- open terminal in jsreport app folder
npm install jsreport-responsivepaper-pdf
- get a free api key at https://responsivepaper.com
- Update the jsreport.config.json
"extensions": {
"responsivepaper-pdf": {
apikey: "_YOUR_API_KEY"
}
}
Use in Jsreport Studio
- Set the "engine" to "none"
- Set the recipe to "responsivepaper-pdf"
- Enter a url or html in the template and click "Run" (e.g. https://examples.responsivepaper.com/stocks, https://examples.responsivepaper.com/invoice)
- Update the options as needed, especially the "wait for render trigger" if using a url with complex rendering logic
More information on designing responsive paper compatible reports can be found here: https://docs.responsivepaper.com