I am trying to print a PHP page using the Guru's PHP template code. The printer issue is moot since the problem happens on every printer I print on (which are different models, brand names, paper, etc.) The HTML for the entire page is as follows:
code:
<HTML>
<HEAD>
<TITLE>Untitled Document</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<body bgColor=#CCCCCC onLoad="getPic()">
<table width="750" border="0" align="center" cellpadding="2" bgcolor="#000099">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td ALIGN="LEFT" VALIGN="TOP">
<TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0">
<TR>
<TD WIDTH="160" HEIGHT="609" BGCOLOR="#6699CC" VALIGN="TOP" ROWSPAN="2">
<TABLE WIDTH="160" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD ALIGN="CENTER" VALIGN="TOP">
<SCRIPT LANGUAGE="JavaScript">
<!-- hide me
/*********************************************************************
THIS CODE IS FOR TODAYS DATE
*********************************************************************/
// array for the months of the year
var months = new Array("January","Febuary","March","April","May","June","July","August","September","October","November","December");
// array for the days of the week
var days = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
// the Date object
var todaysDate = new Date();
// variable for the date
var theDate = todaysDate.getDate();
// variable for the year
var theYear = todaysDate.getFullYear();
// variable for the month
var theMonth = months[todaysDate.getMonth()];
// variable for the day of the week
var theDay = days[todaysDate.getDay()];
// the date suffix variable
var dateSuffix;
// the IF statement that adds the suffix to the date
if (theDate==1 || theDate==21 || theDate==31)
{
dateSuffix="st";
}
else if (theDate==2 || theDate==22)
{
dateSuffix="nd";
}
else if (theDate==3 || theDate==23)
{
dateSuffix="rd";
}
else
{
dateSuffix="th";
}
// This is what writes the date
document.write("<B>" + theDay + ",<BR>" + theMonth + " " + theDate + "<sup>" + dateSuffix + "</sup>, " + theYear + "</B>");
// show me -->
</SCRIPT>
<BR>
</TD>
</TR>
<TR>
<TD BGCOLOR="#000099" HEIGHT="1"></TD>
</TR>
<TR>
<TD ALIGN="CENTER" VALIGN="BOTTOM">
<FORM METHOD=get ACTION="/cgi-bin/webglimpse/home/sasimi/concernedchristians-www">
<BR><I><FONT COLOR="#FFFFFF"><B>Search the Site for:</B></FONT></I>
<INPUT NAME=query SIZE=15>
<INPUT TYPE=image ALT=submit SRC="images/go.gif" NAME="submit">
<!-- Admins - remove this line to stop caching next hits -->
<INPUT NAME="cache" VALUE="yes" TYPE="HIDDEN"><BR>
<DIV ALIGN=RIGHT ID=menu><FONT COLOR="#FFFFFF" SIZE="1"><A HREF="wgindex.html">Detailed
Search</A></FONT></DIV>
<BR>
</FORM>
</TD>
</TR>
</TABLE>
<DIV ID="menu">
<script language="JAVASCRIPT">
<!-- hide me
// This writes the Main Menu
writeMenu();
// show me -->
</script>
<P> </P>
<P> </P>
</DIV>
</TD>
<TD HEIGHT="90" ALIGN="CENTER" VALIGN="TOP" BGCOLOR="#000099" WIDTH="1"> </TD>
<TD HEIGHT="90" ALIGN="CENTER" VALIGN="TOP"><IMG SRC="images/blank.gif" WIDTH="399" HEIGHT="78" NAME="myPicture"></TD>
<TD HEIGHT="90" ALIGN="CENTER" VALIGN="TOP" BGCOLOR="#000099" WIDTH="1">
</TD>
<TD WIDTH="160" HEIGHT="609" BGCOLOR="#6699CC" ROWSPAN="2" ALIGN="LEFT" VALIGN="TOP">
<TABLE WIDTH="160" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD ALIGN="CENTER" VALIGN="TOP" BGCOLOR="#000099"> <B><FONT COLOR="#FFFFFF">VERSE
OF THE DAY</FONT></B></TD>
</TR>
<TR>
<TD ALIGN="CENTER" VALIGN="TOP"> <BR>
<FONT SIZE="3" COLOR="FFFFFF"> <I> </I></FONT>
<TABLE WIDTH="95%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD><DIV ID="link"><FONT SIZE="3" COLOR="FFFFFF"><I>
<SCRIPT SRC="http://www.verseoftheday.com/kjvverse.js" LANGUAGE="JAVASCRIPT"></SCRIPT>
</I></FONT></DIV></TD>
</TR>
</TABLE><br>
</TD>
</TR>
<TR>
<TD HEIGHT="1" BGCOLOR="#000099"></TD>
</TR>
<TR>
<TD ALIGN="CENTER" VALIGN="TOP" BGCOLOR="#000099"><B><FONT COLOR="#FFFFFF">RESOURCE
MATERIALS</FONT></B></TD>
</TR>
<TR>
<TD ALIGN="CENTER" VALIGN="TOP"> <BR>
<FONT COLOR="#FFFFFF"> </FONT>
<TABLE WIDTH="97%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD HEIGHT="20"><DIV ID ="link">
<SCRIPT LANGUAGE="JavaScript">
<!-- hide me
// THIS WRITES A RANDOM RESOURCE
document.write(myResource[randomResource]);
// show me -->
</SCRIPT>
</DIV></TD>
</TR>
</TABLE>
<BR>
</TD>
</TR>
<TR>
<TD HEIGHT="1" BGCOLOR="#000099"></TD>
</TR>
<TR>
<TD VALIGN="TOP" ALIGN="CENTER" BGCOLOR="#000099"><B><FONT COLOR="#FFFFFF"><B>LEARN
MORE.... </B></FONT></B></TD>
</TR>
<TR>
<TD ALIGN="CENTER" VALIGN="TOP">
<DIV ID="link"> <BR>
<TABLE WIDTH="97%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD>
<DIV ID="link"><SCRIPT LANGUAGE="JavaScript">
<!-- hide me
// This is what writes the article
document.write(myArticle[randomArticle]);
// show me -->
</SCRIPT></DIV>
</TD>
</TR>
</TABLE>
<BR>
</DIV>
</TD>
</TR>
</TABLE>
<P> </P>
<P> </P>
</TD>
</TR>
<TR>
<TD HEIGHT="519" ALIGN="LEFT" VALIGN="TOP" BGCOLOR="#000099" WIDTH="1"></TD>
<TD HEIGHT="519" ALIGN="LEFT" VALIGN="TOP">
<DIV ID="content"><!-- Begin Content -->
<P> </P><TABLE WIDTH="98%" BORDER="0" CELLSPACING="0" CELLPADDING="0" ALIGN="CENTER">
<TR ALIGN="left" VALIGN="top">
<TD>
main content stuff here
</TD>
</TR>
</TABLE>
<P> </P>
<!-- End Content -->
<P> </P>
<P> </P>
<TABLE WIDTH="90%" BORDER="0" CELLSPACING="0" CELLPADDING="0" ALIGN="CENTER">
<TR>
<TD>
footer stuff here
</TD>
</TR>
</TABLE>
<P> </P>
</DIV>
<TD HEIGHT="90" ALIGN="CENTER" VALIGN="TOP" BGCOLOR="#000099" WIDTH="1">
</TD>
</TR>
</TABLE>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>