Kim,
If you want to print the page directly from the .cfm page the user sees, this is
what I have done.

Set up one or more variables through either: forms with type='hidden' or with
<cfset> or with <cfparam>.  Then use <CFIF></CFIF> to determine if they should
be viewed or not. If I want to print a page called "stuff.cfm", I save that page
as "prn_stuff.cfm" and tailor that .cfm the way I want it to print.  This way
the user can view the final printout.  

Have fun.

Carol

Carol L. Bluestein
Senior Programmer
NYS Office of Real Property
518-486-6335
[EMAIL PROTECTED]


____________________Reply Separator____________________
Subject:    RE: Printing Help
Author: [EMAIL PROTECTED]
Date:       11/29/00 2:09 PM

Thanks, This will really help.  Does anyone know if there is a way to
include logic where certain things are displayed only when printing.

Kim

-----Original Message-----
From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 29, 2000 1:50 PM
To: CF-Talk
Subject: RE: Printing Help


Ive used this for breaks and seems to work well.

<table STYLE="page-break-before:always">

Hope it helps,Adrian




-----Original Message-----
From: Kim Ahlbrandt [mailto:[EMAIL PROTECTED]]

I need to know if there is a way to make a report print nicely using the
browser.  I have a nicely formatted report written in coldfusion...it looks
great on the screen but when it prints, I need to include page breaks so
that the column titles will be on every page.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to