ghornet
03-01-2003, 12:15 AM
Hi I am running a report off of my internal web page we run IE 5.5 and I am trying to run through a loop to spit out all of my information, this works just fine, I use page-break-before and the end of each loop so that each piece of information should be on a different page. The information comes out ok, but when I go to file->print it will try to print out 200+ pages.. at like 1.41MB. There should only be 14 pages or so being printing out.. here is the first piece that I want printed out, the rest looks the sames I took out most of the middle because it is just extranious td's. Any help would be great
<HTML>
<meta NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<LINK rel="stylesheet" type="text/css" href="../css/normal.css">
<SCRIPT language = "Javascript">
</script>
<Style>
<!--
#instructions
{
position:absolute;
top:5px;
left:300px;
height:65px;
width:420px;
background-color: #ffffff;
border: 1px solid;
font-size: 10px;
margin: 3px;
}
p.page
{
page-break-after: Always
}
-->
</style>
<title>South Hill Mall</title>
<head>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
//-->
</SCRIPT>
</head>
<body>
Loop starts here
<center><h3>2/21/2003 South Hill Mall</center></h3>
<table border="1" cellspacing="1" width="100%" bordercolorlight="#000000" bordercolordark="#FFFFFF" cellpadding="0" height="34">
<tr>
<td width=10% class=Label height=10 align=right>Date</td>
<td width=10% class=Label height=10 align=right>Pending</td>
<td width=16% bgcolor=#FFFFFF height=10><select name="Pending" id="Pending"><option value="no">no
<option value="no">no
<option value="yes">yes</select>
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<table>
<tr>
<td align=center class=filled></td>
</tr>
</table>
<p class=page>
then the loop starts over
<HTML>
<meta NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<LINK rel="stylesheet" type="text/css" href="../css/normal.css">
<SCRIPT language = "Javascript">
</script>
<Style>
<!--
#instructions
{
position:absolute;
top:5px;
left:300px;
height:65px;
width:420px;
background-color: #ffffff;
border: 1px solid;
font-size: 10px;
margin: 3px;
}
p.page
{
page-break-after: Always
}
-->
</style>
<title>South Hill Mall</title>
<head>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
//-->
</SCRIPT>
</head>
<body>
Loop starts here
<center><h3>2/21/2003 South Hill Mall</center></h3>
<table border="1" cellspacing="1" width="100%" bordercolorlight="#000000" bordercolordark="#FFFFFF" cellpadding="0" height="34">
<tr>
<td width=10% class=Label height=10 align=right>Date</td>
<td width=10% class=Label height=10 align=right>Pending</td>
<td width=16% bgcolor=#FFFFFF height=10><select name="Pending" id="Pending"><option value="no">no
<option value="no">no
<option value="yes">yes</select>
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<table>
<tr>
<td align=center class=filled></td>
</tr>
</table>
<p class=page>
then the loop starts over