0

Initially tried it using pdfkit, but it doesn't support @page so the styles which are given for printed documents are not included in the result. Can someone provide an alternative for the above issue? Thanks in advance.

Njan
  • 89
  • 6

1 Answers1

0

Use WeasyPrint

WeasyPrint is a visual rendering engine for HTML and CSS that can export to PDF

Hash
  • 7,726
  • 9
  • 34
  • 53
  • Thanks. I ran into to this after I post this question. Will be trying this out. Thanks again for ur response. – Njan Aug 24 '17 at 04:39