I am trying to create a dynamic PDF using cfdocument. The dynamic part
is not an issue, but I am creating a 17x11inch pdf with .25inch border.
First of all I am unable to determine what the height and with are for
the PDF. I have tried just about everything. Second of all, when a
approach what I think to be the height of main table that contains the
images and such for the document, an extra page is created and a large
margin is placed at the bottom. Here is an example of the code that
fails causes this.
<cfdocument name="MyPDF" filename="MyPDF.pdf format="PDF"
pagetype="custom" pageheight="11" pagewidth="17" margintop="0"
marginbottom="0" marginright="0" marginleft="0" orientation="portrait"
unit="in" backgroundvisible="yes" overwrite="yes" fontembed="no">
<cfdocumentsection margintop="0" marginbottom="0" marginright="0"
marginleft="0">
<body bgcolor="#FFFFFF">
<table width="1600" border="1" cellpadding="0" cellspacing="0">
<tr>
<td height="1000">test</td>
</tr>
</table>
</body>
</cfdocumentsection>
</cfdocument>
I am begging for help on this one. I can send you the PDF if it would
help you to help me... Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284851
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4