print button html
snippet in html

print button code in php

user6517

<button onClick="window.print()">Print</button>

print page html

user1907

window.print();

how to code print in javascript

user7111

console.log("print")
//or
alert("Print")

print button html

user3013

onclick="window.print();return false;