To anyone who is interested, the solution was actually quite
straightforward. There are apparently two attributes in CSS called
pageBreakBefore and pageBreakAfter. To print exactly 5 records per page, I
inserted this code in the head of the doc within style tags.
div.page { page-break-before: always }
and this code after the end of my record display but before the close of the
output tag.
<cfif get_missionary.CurrentRow MOD 5 IS 0></div><div class=page></cfif>
Works like a dream and is very cool!
~Val
> > >
> > > Does anyone have any tricks that will not split up the results of a
> > > record output when printing, but will instead "be smart"
> > and know that
> > > if the entire record won't fit on one page, to begin it on
> > the next one?
> > > In my particular situation, each record is fully contained
> > (formatted)
> > > in its own table. As well, if it helps, I am exporting the
> > html to a
> > > pdf via the custom tag html2pdf3.
______________________________________________________________________
Why Share?
Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists