I am using follwing javascript code to print my aspx page..The problem is the output of this print is coming in two three pages and it is not coming in a single A4 size paper.
<script type="text/javascript">
function Print() {
var printWin = window.open('', '', 'left=0,top=0,width=1300,height=900,status=0');
document.getElementById("<%=referenceno.ClientID %>").style.visibility = 'hidden';
printWin.document.write(document.getElementById("<%=dvContent.ClientID %>").innerHTML);
printWin.document.close();
printWin.focus();
printWin.print();
printWin.close();
}
Please kindly help..thnks in advance..
Go to the complete details ...