craigosa6033
Technical User
I am printing an html file which is being called up by my front-end application, but when I print, in order to get all the page to show up on the page- I have to go into page setup and set all the numbers to 0.
When I do, they default to:
left: .25
right: .25
top: .166
bottom: .166
Then my whole page prints correctly.
Is there anyway to code this so that the user doesn't have to manually modify their page setup settings in IE?
Here's my code:
<html>
<head>
<title>Customer Notification of Account Adjustment</title>
<Style> P.page { page-break-before: always } </Style></title>
<meta name="Account" content="000000002001642 01 36">
<meta name="Data" content="081005 00001249.00 00000000.80 00001249.80">
<meta name="Name" content=" ">
<meta name="Branch" content="00001">
<meta name="Image000" content="I361117.IDX 3 3 3 6 F A Page2.htm ">
<meta name="Image001" content="00000880/39" title="Credit    ">
<meta name="Image002" content="00000460/37" title="Deposit    ">
</head>
<style type="text/css" media="print">
<!--
body {
margin: 0;
float: none;}
-->
</style>
<body>
 <br>
<table border="0" cellpadding="0" cellspacing="0" width="660">
<tr>
<td width="55" align="left"></td>
<td width="385"><small><font face="Arial">XXXXXXXXXX</font></small></td>
<td width="120"><small><font face="Arial">Page:</font></small></td>
<td width="100" align="right"><small><font face="Arial">1</font></small></td>
</tr>
<tr>
<td width="55" align="left"></td>
<td width="386"><small><font face="Arial">XXXXXXXXXXXX</font></small></td>
<td width="120"><small><font face="Arial">Date:</font></small></td>
<td width="100" align="right"><small><font face="Arial">08/10/05</font></small></td>
</tr>
<tr>
<td width="55" align="left"></td>
<td width="385"><small><font face="Arial">xxxxxxxxxxx</font></small></td>
<td width="120"><small><font face="Arial">Account:</font></small></td>
<td width="100" align="right"><small><font face="Arial">xxxxxx</font></small></td>
</tr>
</tr>
</table>
<p> <p> <p> <p>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="660">
<tr>
<td width="105" align="left"></td>
<td width="555" align="left"><small><font face="Arial"></font></small></td>
</tr>
<tr>
<td width="105" align="left"></td>
<td width="555" align="left"><small><font face="Arial"></font></small></td>
</tr>
<tr>
<td width="105" align="left"></td>
<td width="555" align="left"><small><font face="Arial">xxxxxxxxxxx</font></small></td>
</tr>
<tr>
<td width="105" align="left"></td>
<td width="555" align="left"><small><font face="Arial">xxxxxxxxxxxxxx</font></small></td>
</tr>
<tr>
<td width="105" align="left"></td>
<td width="555" align="left"><small><font face="Arial">xxxxxxxxxxxxxxxxxxxxxxxx</font></small></td>
</tr>
<tr>
<td width="105" align="left"></td>
<td width="555" align="left"><small><font face="Arial">xxxxxxxxxxxxxxxxxx</font></small></td>
</tr>
</table>
</center>
</div>
<p>
<hr>
<center><font face="Arial">Customer Notification of Account
Adjustment</font>
</center>
<p>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="660">
<tr>
<td width="30" align="left"></td>
<td width="200" align="left"><small><font face="Arial">xxxxxxxxxxxxx</font></small></td>
<td width="200" align="left"><small><font face="Arial">xxxxxxxxxxxxxx</font></small></td>
<td width="200" align="left"><small><font face="Arial">xxxxxxxxxxxxx</font></small></td>
<td width="30" align="left"></td>
</tr>
</table>
</center>
</div>
<hr>
<p align="justify"><font face="Arial">
<small>We have adjusted your account to correct an error in your deposit. For convenience,
we have provided the images of the deposit correction, including your deposit ticket and
the item(s) which caused the error. If you have any questions or need any assistance, please call
xxxxxxxxx. Thank you for doing business at xxxxxxxxxxxxxxxxx.</font></small></p>
<p>
<TABLE CELLSPACING=0 BORDER=0 CELLPADDING=7>
<TR>
<TD VALIGN="TOP" HEIGHT= 130>
<IMG src="C:\verbose\OB20F.JPG" SRC="C:\VERBOSE\OB12.JPG" SRC="D:\PREMIER\TEMP\OB5.JPG" " WIDTH=220 HEIGHT=100 BORDER=1 ALT="MZ:39;54:036;57:010117017932;-6:20050810;"><BR><FONT SIZE=-2><B>Credit   xxxxx0</B><FONT></TD>
<TD VALIGN="TOP" HEIGHT= 130>
<IMG src="C:\verbose\OB210.JPG" SRC="C:\VERBOSE\OB13.JPG" SRC="D:\PREMIER\TEMP\OB6.JPG" " WIDTH=220 HEIGHT=100 BORDER=1 ALT="MZ:37;54:036;57:010117017512;-6:20050810;"><BR><FONT SIZE=-2><B>Deposit   $xxxxxx</B><FONT></TD>
<TD VALIGN="TOP" HEIGHT= 130>
<IMG src="C:\verbose\OB211.JPG" SRC="C:\VERBOSE\OB14.JPG" SRC="D:\PREMIER\TEMP\OB7.JPG" " WIDTH=220 HEIGHT=100 BORDER=1 ALT="MZ:37;54:036;57:010117017512;-6:20050810;-10:1;"><BR><FONT SIZE=-2><B>Deposit   xxxxxxx Back</B><FONT></TD>
</TABLE>
</body>
</html>
When I do, they default to:
left: .25
right: .25
top: .166
bottom: .166
Then my whole page prints correctly.
Is there anyway to code this so that the user doesn't have to manually modify their page setup settings in IE?
Here's my code:
<html>
<head>
<title>Customer Notification of Account Adjustment</title>
<Style> P.page { page-break-before: always } </Style></title>
<meta name="Account" content="000000002001642 01 36">
<meta name="Data" content="081005 00001249.00 00000000.80 00001249.80">
<meta name="Name" content=" ">
<meta name="Branch" content="00001">
<meta name="Image000" content="I361117.IDX 3 3 3 6 F A Page2.htm ">
<meta name="Image001" content="00000880/39" title="Credit    ">
<meta name="Image002" content="00000460/37" title="Deposit    ">
</head>
<style type="text/css" media="print">
<!--
body {
margin: 0;
float: none;}
-->
</style>
<body>
 <br>
<table border="0" cellpadding="0" cellspacing="0" width="660">
<tr>
<td width="55" align="left"></td>
<td width="385"><small><font face="Arial">XXXXXXXXXX</font></small></td>
<td width="120"><small><font face="Arial">Page:</font></small></td>
<td width="100" align="right"><small><font face="Arial">1</font></small></td>
</tr>
<tr>
<td width="55" align="left"></td>
<td width="386"><small><font face="Arial">XXXXXXXXXXXX</font></small></td>
<td width="120"><small><font face="Arial">Date:</font></small></td>
<td width="100" align="right"><small><font face="Arial">08/10/05</font></small></td>
</tr>
<tr>
<td width="55" align="left"></td>
<td width="385"><small><font face="Arial">xxxxxxxxxxx</font></small></td>
<td width="120"><small><font face="Arial">Account:</font></small></td>
<td width="100" align="right"><small><font face="Arial">xxxxxx</font></small></td>
</tr>
</tr>
</table>
<p> <p> <p> <p>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="660">
<tr>
<td width="105" align="left"></td>
<td width="555" align="left"><small><font face="Arial"></font></small></td>
</tr>
<tr>
<td width="105" align="left"></td>
<td width="555" align="left"><small><font face="Arial"></font></small></td>
</tr>
<tr>
<td width="105" align="left"></td>
<td width="555" align="left"><small><font face="Arial">xxxxxxxxxxx</font></small></td>
</tr>
<tr>
<td width="105" align="left"></td>
<td width="555" align="left"><small><font face="Arial">xxxxxxxxxxxxxx</font></small></td>
</tr>
<tr>
<td width="105" align="left"></td>
<td width="555" align="left"><small><font face="Arial">xxxxxxxxxxxxxxxxxxxxxxxx</font></small></td>
</tr>
<tr>
<td width="105" align="left"></td>
<td width="555" align="left"><small><font face="Arial">xxxxxxxxxxxxxxxxxx</font></small></td>
</tr>
</table>
</center>
</div>
<p>
<hr>
<center><font face="Arial">Customer Notification of Account
Adjustment</font>
</center>
<p>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="660">
<tr>
<td width="30" align="left"></td>
<td width="200" align="left"><small><font face="Arial">xxxxxxxxxxxxx</font></small></td>
<td width="200" align="left"><small><font face="Arial">xxxxxxxxxxxxxx</font></small></td>
<td width="200" align="left"><small><font face="Arial">xxxxxxxxxxxxx</font></small></td>
<td width="30" align="left"></td>
</tr>
</table>
</center>
</div>
<hr>
<p align="justify"><font face="Arial">
<small>We have adjusted your account to correct an error in your deposit. For convenience,
we have provided the images of the deposit correction, including your deposit ticket and
the item(s) which caused the error. If you have any questions or need any assistance, please call
xxxxxxxxx. Thank you for doing business at xxxxxxxxxxxxxxxxx.</font></small></p>
<p>
<TABLE CELLSPACING=0 BORDER=0 CELLPADDING=7>
<TR>
<TD VALIGN="TOP" HEIGHT= 130>
<IMG src="C:\verbose\OB20F.JPG" SRC="C:\VERBOSE\OB12.JPG" SRC="D:\PREMIER\TEMP\OB5.JPG" " WIDTH=220 HEIGHT=100 BORDER=1 ALT="MZ:39;54:036;57:010117017932;-6:20050810;"><BR><FONT SIZE=-2><B>Credit   xxxxx0</B><FONT></TD>
<TD VALIGN="TOP" HEIGHT= 130>
<IMG src="C:\verbose\OB210.JPG" SRC="C:\VERBOSE\OB13.JPG" SRC="D:\PREMIER\TEMP\OB6.JPG" " WIDTH=220 HEIGHT=100 BORDER=1 ALT="MZ:37;54:036;57:010117017512;-6:20050810;"><BR><FONT SIZE=-2><B>Deposit   $xxxxxx</B><FONT></TD>
<TD VALIGN="TOP" HEIGHT= 130>
<IMG src="C:\verbose\OB211.JPG" SRC="C:\VERBOSE\OB14.JPG" SRC="D:\PREMIER\TEMP\OB7.JPG" " WIDTH=220 HEIGHT=100 BORDER=1 ALT="MZ:37;54:036;57:010117017512;-6:20050810;-10:1;"><BR><FONT SIZE=-2><B>Deposit   xxxxxxx Back</B><FONT></TD>
</TABLE>
</body>
</html>