CSS holds the answer.
<style type="text/css">
BR.pageEnd {page-break-after: always;}
</style>
.
.
.
This line should be above the break
<br class="pageEnd">
This line should be after the page break.
This only works in CSS2 compliant browsers.
Hope this helps,
Pete
----- Original Message -----
From: "Chad" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, December 19, 2002 9:03 AM
Subject: Page Breaks for Printing
> Has anyone figured out how to make page breaks for printing?
>
> I.E. have the user click one button to print all of the new orders.
> Each order on a separate piece of 8.5x11 paper.
>
> Javascript? Generate a PDF?
>
> Thanks!
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm