PDA

View Full Version : How to print more number copies with JavaScript?



DhanaPriya
02-25-2013, 05:38 AM
Hi,

I am trying to do the printing functionality in my sample html5 application using JavaScript.
If I specify the number of copies more than one (in the print dialog option) also, I am getting only one copy of the current page .

Is there any way to specify the number of copies option at code behind?



<input id="Printbutton" type="button" value="Print" onclick="printContent();" />
<script>
function printContent() {
if (window.print) {
window.print();
} else {
alert("your browser doesn't support this function")
}
}
</script>


Thanks,
DIP.