I have tried javascript window.print() It prints the full page content including the print button on the page.
window.print()
You require to create new style sheet print.css and set CSS media=print
CSS media=print
for example :
for more detail : Print a doument with CSS