html-to-pdf
This is an example of how to generate a PDF from an HTML page programmatically.
You can use Chromium's or Google Chrome's command-line like this:
| Bash | |
|---|---|
That's basically equivalent to opening the HTML file with the Chromium browser, pressing CTRL+P and selecting Save as PDF.