4 ms·
Thanks for posting this. I was actually just today looking for a solutions to render a website as a PDF, and didn’t get as far as puppeteer – which is probably
by dpwm 5y ago
Thanks for posting this. I was actually just today looking for a solutions to render a website as a PDF, and didn’t get as far as puppeteer – which is probably too heavy a dependency for my use case, but is still nice to know about.
Does anyone know of a print-oriented web-browser that understands CSS? It seems like the kind of thing that would be useful to many.
- math-dev 5y agoCheck this out ;) https://pdf.math.dev https://pdf.math.dev HN Post: https://news.ycombinator.com/item?id=26691626 https://news.ycombinator.com/item?id=26691626
- dpwm 5y agoThanks for writing that up! I had no idea about paged.js and it’s pretty close to what I was looking for.
- Lammy 5y agohttps://www.pagedjs.org/documentation/02-getting-started-with-paged-js/#command-line-version https://www.pagedjs.org/documentation/02-getting-started-wit...
- Phrodo_00 5y agoA few years ago I used wkhtml2pdf, which is a version of Qt webkit focused to turning webpages to PDF. Looked up the project, and it looks like it's almost dead due to Qt dropping webkit, though.