Sign inSign up

jsreport/jsreport-weasyprint-pdf

By jsreport

Updated over 7 years ago

jsreport default additionally including weasyprint based recipe

Image
0

1.3K

jsreport/jsreport-weasyprint-pdf repository overview

jsreport-weasyprint-pdf

jsreport recipe using WeasyPrint utility to convert html to pdf. This recipe solves the same task as phantom-pdf, wkhtmltopdf or electron-pdf. However it has the best support for defining printing layout using css @page rule.

weasyprint

Installation

You can run the whole jsreport with already installed recipe using single command:

docker run -p 5488:5488 jsreport/jsreport-weasyprint-pdf

Or you can follow these steps to install WeasyPrint recipe

  1. jsreport application folder
  2. npm install jsreport-weasyprint-pdf
  3. install WeasyPrint

Development

git clone https://github.com/jsreport/jsreport-weasyprint-pdf.git
cd jsreport-weasyprint-pdf
npm install
npm run docker

Tag summary

Content type

Image

Digest

Size

714.9 MB

Last updated

over 7 years ago

docker pull jsreport/jsreport-weasyprint-pdf