This was tested on:
- Ubuntu 14.04 x64
- Ubuntu 16.04 x64
sudo apt-get update
sudo apt-get install xvfb libfontconfig wkhtmltopdfNow it's time to test that everything is working as expected
wkhtmltopdf http://www.google.com google.pdfIf you see Done, then everything is installed correctly and you're ready to generate some PDF's :D
Instead of all from above, use this sample. It is just another wrapper over this library containing support for 3 platforms. Do not forget to copy Rotativa to your project.
https://github.com/fpanaccia/Wkhtmltopdf.NetCore.Example