Working with PDF, how to make it landscape?
I'm using CF8 and I just want to create a very simple PDF report.
Here is what I did:
<cfdocument format="PDF" orientation = "landscape" saveasname="ReportName"
pagetype="custom" pageheight="8.5" pagewidth="15.5" margintop="0.5" marginbottom="0.5" marginright="1" marginleft="1">
<!--- page object need to be within cfdocumentitem --->
<cfdocumentsection name="Main Report">
<cfdocumentitem type="header">
<cfoutput><div align="right" style="font-size:11px;">Page: #cfdocument.currentpagenumber#</div></cfoutput>
</cfdocumentitem>
<!--- Report content is here --->
</cfdocumentsection>
</cfdocument>
This create the report just fine BUT it does NOT create a landscape report. My report is still potrait. What have I done wrong or how to force it so it shows landscape?
