We are currently using DinkToPdf to generate pdf from html files. The package is a wrapper around the wkhtmltopdf shell utility. The generation is run on a asp-net core webs