Can this convert a html/css document to PDF? or is chrome headless(ignoring overhead) the way to go these days?
https://github.com/flyingsaucerproject/flyingsaucer
For more controlled results you could use Prince.
Although if you are looking to convert real web pages to PDF, then this is not a good choice.
I feel the same way about Adobe’s Creative suite subscription. I use it’s unique capabilities about once every 6 months. I wish there was a one week license.