I am trying to do something IO think is realtively simple. I am using
Cfdocument to put the results of a cfoutput populated table into a pdf. I am
trying to include the column name on the top of each page and it is working but
it is jamming the header row all the way over to the left.
Below is an example of what I am trying to do. Can someone look at this and
tell me where I am going wrong?
<cfdocument
format = "PDF"
filename="1.pdf"
overwrite = "yes"
unit = "in"
FONTEMBED="yes"
pagetype="letter"
orientation = "landscape"
>
<table width="85%" border="0">
<cfdocumentitem type="header">
</cfdocumentitem>
<cfloop index="i" from="1" to="200" step="1">
<!--- --->
<tr>
<td width="20%">1</td>
<td width="20%"> 2</td>
<td width="20%">3</td>
<td width="20%">4</td>
<td width="20%">5</td>
</tr>
<cfdocumentitem type="pagebreak"/>
<tr>
<td width="20%">a</td>
<td width="20%">b</td>
<td width="20%">c</td>
<td width="20%">d</td>
<td width="20%">e</td>
</tr>
</cfloop>
</table>
</cfdocument>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248754
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4