make print page button code example
Example: how to add print button on my website
<input type="button" value="Print this page" onClick="window.print()">
Or
<button type="button" class="print" onClick="window.print()">Print</button>
<input type="button" value="Print this page" onClick="window.print()">
Or
<button type="button" class="print" onClick="window.print()">Print</button>