HTML2PDF Module not rendering valid html or css correctly

The module is using Chromium headless, so generally speaking, you can preview your HTML in Chrome print dialog, and Apryse HTML2PDF module output.

As for the header/footer HTML/CSS support see here, though as mentioned it is not 100% documented by Chromium.

1 Like