in report on clicking print button i want all pages to be printed.in javascript if i give window.print(); only the last page viewed in report is printed(only 1 page printed) i want all pages to be printed how to code for that in javascript
<input style="Z-INDEX: 111; LEFT: 703px; WIDTH: 39px; POSITION: absolute; TOP: 8px; HEIGHT: 23px; right: 87px;"
type="button" value="Print" id="Button9" onclick="javascript:window.print()" />