I have a custom post type set up using CMB2.
I have overriden the standard print template, so when a user wants to print the page it takes the CMB2 fields and organizes them into a specific layout using HTML.
However, instead of it just opening a new window for the user to print. I want it to open a PDF of the HTML in a new tab to try and avoid user error.
Anyone have some good options out there?