You could use CSS to hide the header and footer when printing (not 100% this
syntax is correct):
@media print{
.header{display:none;}
..footer{display:none;}
}
Or, something I've done is use custom comment tags above and below the
required content. The print page then cfhttp's the original (referer),
strips out everthing between the tags and inserts 'print appropriate'
headers and footers.
----- Original Message -----
From: "Curt Schryver" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Friday, March 30, 2007 2:34 PM
Subject: Printing a page without the standard header and footer
I realize that I can remove and modify what is printed in the header and
footer of a page within my browser, but what I'd rather figure out is if
there's a way to launch a special page (a packing list) that I can print
that will exclude these items. Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274197
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4