BookJS is a Javascript library that can be included in HTML files to render the contents of the HTML to pages that can be printed to PDF using CSS Regions. it requires a browser wit support for CSS Regions.
JavaScriptAGPL-3.0
BookJS
BookJS is an effort to use the newest page formatting functions present in recent Chromium versions to convert a webpage into a set of pages formatted for printing, whch can be converted into a PDF with Chromium's print-to-PDF function.