I have an ASP.Net page. I want to print that page 3 times, 2 copies should carry "COPY WORD, as a watermark".
I have written this code code to print three copies, but it's asking confirmation about the printer.
$("#btnPrint").click(function () {
var index = 0;
for (index = 1; index <= 3; index++) {
if (index > 1) {
$("#test").css("background-color", "gray");
window.print();
}
else {
window.print();
}
}
});
Please Help me.