2 ms·
For CSS Paged Media there's Prince (fka PrinceXML and expensive) and wkhtmltopdf (F/OSS, Webkit-based), but while these are certainly good enough for printing o
by tannhaeuser 9y ago
For CSS Paged Media there's Prince (fka PrinceXML and expensive) and wkhtmltopdf (F/OSS, Webkit-based), but while these are certainly good enough for printing of invoices from web content and casual documents (and even academic publishing), I doubt CSS Paged Media will ever match facilities of dedicated print tool chains such as FrameMaker etc.
Prince is based on a transcription of CSS to constraint logic (using the Mercury Prolog-like system), so I wonder if there's a formal specification of CSS that could be lifted into a Prolog specification to yield a CSS renderer for print (the only work I'm aware of in that direction was [1]).
[1]: https://lmeyerov.github.io/projects/pbrowser/pubfiles/extended.pdf https://lmeyerov.github.io/projects/pbrowser/pubfiles/extend...