Skip to main content
May 5, 2009
Question

Footer help using cfdocument format="pdf"

  • May 5, 2009
  • 1 reply
  • 1228 views

I have a very simple PDF report that does the following:

Query database and populate customer information at top of PDF

Query database and populate a simple string pulled from a memo field in the database.

Inserts a totals table at the bottom of the page.

This works great, except when the memo field gets big and creates a second  or third page.

It places the footer totals table at the bottom of each page.  Very undesirable. 

I've tried putting page breaks in, counting characters and even tried to do some CSS stuff to trick it.

What is the best way to include a footer or box of text using CSS, at the bottom of the last dynamic page???

Thank you very much,

Andy

****FILE ATTACHED*****

This topic has been closed for replies.

1 reply

Inspiring
May 6, 2009

Have you tried removing the cfdocumentitem tags so that your "footer" will appear only once at the end of the content?