This isn't theoretical. In my 20 years in retail and logistics, I've seen these libraries repeatedly fail in production. Real world examples include: * Invoices: Totals get pushed to a new page with no repeated header. This is a classic failure of CSS table rendering across page breaks. properties like page-break-inside: avoid are notoriously inconsistent in browser print to PDF engines. Line items get split mid row…
Show HN: PlutoPrint – Generate PDFs and PNGs from HTML with Python
31–40 of 51 posts
Re: Show HN: PlutoPrint – Generate PDFs and PNGs from HTML with Python
#32This is so efficient, i just tested it ,far better than weasyprint, and it has both python and c++ repo, bro am amazed, Are you open for sponsorship?
What OS did you test on? It completely crashed my python process on mac
Re: Show HN: PlutoPrint – Generate PDFs and PNGs from HTML with Python
#33Does this support full flexbox styling? What are the known issues or the unsupported css this library has?
Re: Show HN: PlutoPrint – Generate PDFs and PNGs from HTML with Python
#34Nice! I think that it would be great if this could take markdown as input, without having to convert to HTML first
Re: Show HN: PlutoPrint – Generate PDFs and PNGs from HTML with Python
#35Comparing it to typst ?
Re: Show HN: PlutoPrint – Generate PDFs and PNGs from HTML with Python
#36Isn't the interesting part the CSS renderer PlutoBook (C++) rather than the Python wrapper here?
It needs javascript support so charting libraries work but they mention working toward that in the roadmap.
It's more like PrinceXML than a browser. This is great Prince is the gold standard for HTML print out and the only engine to fully support Paged Media level 3 last time I looked. Normal browsers don't seem to care as much about full print css support so Prince has a monopoly here and is not cheap.
Re: Show HN: PlutoPrint – Generate PDFs and PNGs from HTML with Python
#37Printing those things is really difficult. All the time I get split cells (with some rows not printed) and every kind of problems (like broken word wrap etc).
Re: Show HN: PlutoPrint – Generate PDFs and PNGs from HTML with Python
#38Re: Show HN: PlutoPrint – Generate PDFs and PNGs from HTML with Python
#39Hi, have you tested it with google colab notebooks? Printing those things is really difficult. All the time I get split cells (with some rows not printed) and every kind of problems (like broken word wrap etc).