Component/s: Publishing tool development
Our current tool for generating PDF from HTML has several major drawbacks.
Puppeteer controlling headless Chrome is a better process, according to several sources.
This will apparently involve installing software on a Linux system.
Here’s a minimal command-line example of using Headless mode to create a PDF file of a given URL:
chrome --headless --print-to-pdf https://developer.chrome.com/
PDF options: https://pptr.dev/api/puppeteer.pdfoptions
(control header and footer)
Another possible option is using Doppio, a Saas provider. (https://doppio.sh/)