You can assign a bit of CSS to the button in order to prevent it from being printed.
This defines a class "no-print":
Code: Select all
@media print
{
.no-print, .no-print *
{
display: none !important;
}
}
Having a dedicated print style sheet is generally not a bad idea:
https://alistapart.com/article/goingtoprint/