HTML5 does not have a print API. You will always rely on a client browser to do all the printing. The best you can do is open a new browser window to display the report without any of your website header / footer / etc. Add a button with javascript:
window.print();
to open the user an OS / Browser print dialog for the user.
Mike source share