Hi Folks,

I am trying to format a document for printing.  I am especially concerned
with controlling the margins.   I thought the easiest way to get control of
printing in general would be to open it in MS Word using CFCONTENT:

<CFCONTENT TYPE="application/msword">
<CFHEADER NAME="content-disposition" VALUE="filename=File.DOC">

The trouble is that this opens the document with the default MS Word
margins.  I tried using the Cascading Style Sheets MARGIN property in the
BODY style="", but this also doesn't seem to have any effect on printing.

I was originally trying to print directly from Internet Explorer 5.0 web
browser, but in addition to not being able to programmatically control the
margin, I also can't find a way to turn off the HEADER and FOOTER
information that prints by default such as the URL and page numbers. (If you
don't know what I am referring to, open Internet Explorer and then choose
FILE>PAGE SETUP.)

So the question is, can anyone think of a way for me to create a document
from Cold Fusion, that will allow me to somehow control the printing margins
programmatically?

Thanks,

Eron




------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to