To my knowledge, you can not heroically FORCE 
the print function but as you also stated
you can provide the print dialog box.

Personally, I give them the window.print function
and allows them to select a printer (if wanted)
and also let them state how many copies, layout,
etc that they want.



-----Original Message-----
From: Nathan Chen [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 3:17 PM
To: CF-Talk
Subject: Automatic Printing


Hi, Everyone:

I need a some kind of custom tag or script that does an automatic
printing.  I have a form in cfm page that allows the end user to enter
data. When the end users finishes(clicking on the submit button), the
tab/script will print the information entered in the database directly
to the default printer rather than bringing up the print dialogue box
from the borwser.  I know "window.print()" method, but it brings up the
dialogue box and that's not what I want. Plus, "widnow.print()" print
the form itself. That's not what I want either; I want to print the data
in a pre-defined format(e.g. a report).  Has anyone done this before?
Any pointer will be appreciated.

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

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to