
The Puppeteer comes from the NodeJS world, and the Puppeteer Sharp is a port to.

Wait what… haven’t I seen this in the Javascript world? Let me introduce you to the Puppeteer Sharp. This is the moment you have been waiting for. You would like to create the PDF, but most of the libraries are paid, and they cost A LOT.Īlso, when you manage to find a free version or open-source version of a library, it is not supported anymore, or it does not work the way you expect.

The Problem: Generating PDF From HTML in. NET Core applications is not straightforward. The most convenient way to do it would be to create HTML templates and then convert them into PDF. It can be a small or enterprise application: at some point, you will benefit from generating PDF files. No matter what kind of application you are creating.

These run entirely "headless" and do not require a display or display service. Wkhtmltopdf and wkhtmltoimage are open source (LGPLv3) command line tools to render HTML into PDF and various image formats using the Qt WebKit rendering engine.
