This post is more than 2 years old.
Over on the BACFUG mailing list, a user asked:
I double checked the docs and didn't see anything that directly addressed this, so my first instinct was to look at DDX. I've blogged about how cool DDX is so it's one of the first things I check when working on a cfdocument/cfpdf issue. I did some digging and it looks like you can simply specify a larger size for the font of the footer. As an example:
Is there a way to adjust the size of the footer in a PDF created with cfdocument? I'd like to put a table in the footer but it needs to be taller than the default size. I can put the table in the content of the document but it needs to be at the bottom of the page anyway, so I'm hoping there's some sneaky way to change the footer size that I haven't found yet.
<DDX xmlns="http://ns.adobe.com/DDX/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ns.adobe.com/DDX/1.0/ coldfusion_ddx.xsd"> <StyleProfile name="bookFooter"> <Footer> <Right> <StyledText> <p color="blue" font-size="28pt">Page <_PageNumber/> of <_LastPageNumber/></p> </StyledText> </Right> </Footer> </StyleProfile>
<PDF result="preview"> <PDF source="doc1"> <Footer styleReference="bookFooter" /> </PDF> </PDF>
I specified a font-size of 28, which is rather large. You could modify that though until you get the desired effect. You can also specify the margin on the footer to give it more space.
DDX - bringing the sexy back to PDF (if that is even possible ;).