chinny1234
December 1st, 2004, 07:14 AM
please help me to solve my issue:
i've a jsp page which has tables&images also. I need to take the print in landscape. I am succufully taking it in landscape.. but the problem is im able to take the print for only one page.. if the my page data becomes more then one page then the top data is missing and only bottom data wich is fit to one page is printing. rest of the data is not printing. ultimatly it is printing only one page.
how can i take my complete data which has more than one page.
here im sending my code.. please give me the solution. Thanks.
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="oDiv1.style.filter=
'progid:DXImageTransform.Microsoft.BasicImage(rotation=1)';window.print();">
<DIV ID="oDiv1" STYLE="position:absolute;">
<table border="1" cellspacing="0" cellpadding="0" width="100%" >
<tr>
<td class="toptd" width="100%"><img src="../images/topLogoSceneBan.jpg" width="400" height="50"></td>
</tr>
</table>
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top">
<table border="0" cellspacing="0" cellpadding="0" width="98%">
<html:form action="/newOrder" >
--- so on...
--- so on...
--- so on...
</tr>
</table>
</DIV>
i've a jsp page which has tables&images also. I need to take the print in landscape. I am succufully taking it in landscape.. but the problem is im able to take the print for only one page.. if the my page data becomes more then one page then the top data is missing and only bottom data wich is fit to one page is printing. rest of the data is not printing. ultimatly it is printing only one page.
how can i take my complete data which has more than one page.
here im sending my code.. please give me the solution. Thanks.
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="oDiv1.style.filter=
'progid:DXImageTransform.Microsoft.BasicImage(rotation=1)';window.print();">
<DIV ID="oDiv1" STYLE="position:absolute;">
<table border="1" cellspacing="0" cellpadding="0" width="100%" >
<tr>
<td class="toptd" width="100%"><img src="../images/topLogoSceneBan.jpg" width="400" height="50"></td>
</tr>
</table>
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top">
<table border="0" cellspacing="0" cellpadding="0" width="98%">
<html:form action="/newOrder" >
--- so on...
--- so on...
--- so on...
</tr>
</table>
</DIV>