Generating PDF's from HTML and Web Technologies is nothing new. There are tons of PHP and Node.js libs e.g I could host a service in minutes with the help of https://github.com/GoogleChrome/puppeteer in only few lines of code. Hosting that service on digital-ocean would reduce the cost to ~5/month. Cheers!