How to realize a pdf export?

It is interesting that it’s so hard to convert HTML+CSS to PDF. For a few of our PDF-centric customers (aka legacy integrators), if we could just get a reliable print version of HTML+CSS from Java as a PDF, we’d be golden, and that doesn’t even include the complexity of dealing with JS-DOM frameworks like Vaadin. We just keep putting it off, hoping that one day there will be a straightforward way to do this.