I have attempted moving the tags <!-- header --><!-- data --> and page breaks but nothing seems to work, as the base configuration is set for 2 lines of data only in the master file print out. reverting this back allows both the master table and sub tables to print, as soon as I edit any part of this it doesn't work. Is there a key file I can override etc? I have LOOKED EVERWHERE! anyone that knows this answer I could definitly use the help! I looked under the help files etc, I understand the workings, but the interfacing that was done for phprunner I am clueless. I just can't seem to find it. See my pics and code below... simple issue I am missing probably.
STANDARD PAGE LAYOUT

STANDARD PDF PRINT

MODIFYED MASTER TABLE PRINT

MODIFIED MASTER PDF PRINTOUT (gets cut off)

ORIGINAL CODE
[codebox]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY>
<P>Master table: [Invoices]</P>
<TABLE class=grid_block cellSpacing=1 cellPadding=3 width="20%" border=0><!-- header -->
<TBODY>
<TR vAlign=top>
<TD><B>Invoice Date</B></TD>
<TD><B>Invoice</B></TD>
<TD><B>Event Date Start</B></TD>
<TD><B>Delivery Time</B></TD>
<TD><B>Event Time Delivery1</B></TD>
<TD><B>Invoice Status</B></TD>
<TD><B>Event Date End</B></TD>
<TD><B>Pickup Time</B></TD>
<TD><B>Event Time Pickup1</B></TD>
<TD><B>Pay Type</B></TD>
<TD><B>Sub Total</B></TD>
<TD><B>Down Payment</B></TD>
<TD><B>Discount</B></TD>
<TD><B>Total Due</B></TD>
<TD><B>Company Name</B></TD>
<TD><B>First Name</B></TD>
<TD><B>Last Name</B></TD>
<TD><B>Address</B></TD>
<TD><B>City</B></TD>
<TD><B>State</B></TD>
<TD><B>Zip</B></TD>
<TD><B>Home</B></TD>
<TD><B>Cell</B></TD>
<TD><B>Work</B></TD>
<TD><B>Email</B></TD>
<TD><B>Company Name</B></TD>
<TD><B>First Name</B></TD>
<TD><B>Last Name</B></TD>
<TD><B>Address</B></TD>
<TD><B>City</B></TD>
<TD><B>State</B></TD>
<TD><B>Zip</B></TD>
<TD><B>Driver As</B></TD>
<TD><B>Employee</B></TD>
<TD><B>Comments</B></TD></TR><!-- data -->
<TR>
<TD>{$Order_date_mastervalue} </TD>
<TD>{$Order_num_mastervalue} </TD>
<TD>{$event_time_start_mastervalue} </TD>
<TD>{$event_time_delivery_mastervalue} </TD>
<TD>{$event_time_delivery1_mastervalue} </TD>
<TD>{$Order_status_mastervalue} </TD>
<TD>{$event_time_end_mastervalue} </TD>
<TD>{$event_time_pickup_mastervalue} </TD>
<TD>{$event_time_pickup1_mastervalue} </TD>
<TD>{$Pay_type_mastervalue} </TD>
<TD>{$Order_sub_total_mastervalue} </TD>
<TD>{$Amount_down_mastervalue} </TD>
<TD>{$Discount_mastervalue} </TD>
<TD>{$Total_due_mastervalue} </TD>
<TD>{$Billto_company_mastervalue} </TD>
<TD>{$Billto_name_mastervalue} </TD>
<TD>{$Billto_Lname_mastervalue} </TD>
<TD>{$Billto_address_mastervalue} </TD>
<TD>{$Billto_city_mastervalue} </TD>
<TD>{$Billto_state_mastervalue} </TD>
<TD>{$Billto_zip_mastervalue} </TD>
<TD>{$Phone_Home_mastervalue} </TD>
<TD>{$Phone_Cell_mastervalue} </TD>
<TD>{$Phone_Work_mastervalue} </TD>
<TD>{$Cust_email_mastervalue} </TD>
<TD>{$Shipto_company_mastervalue} </TD>
<TD>{$Shipto_name_mastervalue} </TD>
<TD>{$Shipto_Lname_mastervalue} </TD>
<TD>{$Shipto_address_mastervalue} </TD>
<TD>{$Shipto_city_mastervalue} </TD>
<TD>{$Shipto_state_mastervalue} </TD>
<TD>{$Shipto_zip_mastervalue} </TD>
<TD>{$Driver_as_mastervalue} </TD>
<TD>{$Employee_ID_mastervalue} </TD>
<TD>{$Order_comments_mastervalue}
</TD></TR></TBODY></TABLE></BODY></HTML>[/codebox]
MY CONVERSION
[codebox]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY>
<P>Master table: [Invoices]</P>
<TABLE class=grid_block cellSpacing=1 cellPadding=3 width="20%" border=0><!-- header -->
<TBODY><!-- data -->
<TR vAlign=top>
<TD width=127><B>Invoice Date</B></TD>
<TD width=114><B>Invoice</B></TD>
<TD width=118><B>Event Date Start</B></TD>
<TD width=133><B>Delivery</B></TD>
<TD width=139><B>Party Start</B></TD></TR>
<TR>
<TD width=127>{$Order_date_mastervalue} </TD>
<TD width=114>{$Order_num_mastervalue} </TD>
<TD width=118>{$event_time_start_mastervalue}</TD>
<TD width=133>{$event_time_delivery_mastervalue}</TD>
<TD width=139>{$event_time_delivery1_mastervalue}</TD>
<TR>
<TD width=127><B>Invoice Status</B></TD>
<TD width=114 rowSpan=2><B></B></TD>
<TD width=118><B>Event Date End</B></TD>
<TD width=133><B>Party End</B></TD>
<TD width=139><B>Pickup</B></TD></TR>
<TR>
<TD width=127>{$Order_status_mastervalue}</TD>
<TD width=118>{$event_time_end_mastervalue}</TD>
<TD width=133>{$event_time_pickup_mastervalue}</TD>
<TD width=139>{$event_time_pickup1_mastervalue}</TD></TR>
<TR height=22>
<TD width=127><B>Pay Type</B></TD>
<TD width=114><B>Sub Total</B></TD>
<TD width=118><B>Down Payment</B></TD>
<TD width=133><B>Discount</B></TD>
<TD width=139><B>Total Due</B></TD></TR>
<TR>
<TD width=127>{$Pay_type_mastervalue}</TD>
<TD width=114>{$Order_sub_total_mastervalue}</TD>
<TD width=118>{$Amount_down_mastervalue}</TD>
<TD width=133>{$Discount_mastervalue}</TD>
<TD width=139>{$Total_due_mastervalue}</TD></TR>
<TR>
<TD width=127><B>Company Name</B></TD>
<TD width=114><B>First Name</B></TD>
<TD width=118><B>Last Name</B></TD>
<TD width=133><B>Address</B></TD>
<TD width=139><B>City</B></TD>
<TR>
<TD width=127>{$Billto_company_mastervalue} </TD>
<TD width=114>{$Billto_name_mastervalue} </TD>
<TD width=118>{$Billto_Lname_mastervalue} </TD>
<TD width=133>{$Billto_address_mastervalue} </TD>
<TD width=139>{$Billto_city_mastervalue} </TD>
<TR>
<TD width=361 colSpan=3 rowSpan=2></TD>
<TD width=133><B>State</B></TD>
<TD width=139><B>Zip</B></TD>
<TR>
<TD width=133>{$Billto_state_mastervalue} </TD>
<TD width=139>{$Billto_zip_mastervalue} </TD>
<TR>
<TD width=127><B>Home</B></TD>
<TD width=114><B>Cell</B></TD>
<TD width=118><B>Work</B></TD>
<TD width=133><B>Email</B></TD>
<TD width=139></TD></TR>
<TR>
<TD width=127>{$Phone_Home_mastervalue} </TD>
<TD width=114>{$Phone_Cell_mastervalue} </TD>
<TD width=118>{$Phone_Work_mastervalue} </TD>
<TD width=133>{$Cust_email_mastervalue} </TD>
<TD width=139></TD></TR>
<TR>
<TD width=127><B>Company Name</B></TD>
<TD width=114><B>First Name</B></TD>
<TD width=118><B>Last Name</B></TD>
<TD width=133><B>Address</B></TD>
<TD width=139><B>City</B></TD>
<TR>
<TD width=127>{$Shipto_company_mastervalue} </TD>
<TD width=114>{$Shipto_name_mastervalue} </TD>
<TD width=118>{$Shipto_Lname_mastervalue} </TD>
<TD width=133>{$Shipto_address_mastervalue} </TD>
<TD width=139>{$Shipto_city_mastervalue} </TD>
<TR>
<TD width=361 colSpan=3 rowSpan=2></TD>
<TD width=133><B>State</B></TD>
<TD width=139><B>Zip</B></TD>
<TR>
<TD width=133>{$Shipto_state_mastervalue} </TD>
<TD width=139>{$Shipto_zip_mastervalue} </TD>
<TR>
<TD width=127><B>Driver As</B></TD>
<TD width=114><B>Employee</B></TD>
<TD width=118 rowSpan=2></TD>
<TD width=273 colSpan=2><B>Comments</B></TD>
<TR>
<TD width=127>{$Driver_as_mastervalue}</TD>
<TD width=114>{$Employee_ID_mastervalue}</TD>
<TD width=273 colSpan=2>{$Order_comments_mastervalue}
</TD></TR></TBODY></TABLE></BODY></HTML>
[/codebox]