Hi Dan, 

Unfortunately afaik the closest JavaScript will let you get to actually printing a 
file is opening the print dialog box and then the user would have to hit the okay 
button to actually print the document... 

I believe Flash MX may have a way to go directly to the printer, so you should be able 
to create a very simple flash movie with a single text area which you could populate 
with data from the flashVars param ( up to 64k ) and then go directly to the printer. 
You can probably even get the Flash movie to fit 100% height and 100% width so the 
text would expand to fill the browser window... :) 

Isaac 

www.turnkey.to
954-776-0046

Original Message -----------------------
You know what though, I need to print to a clients printer, so I assume I
will be talking JavaScript and the window.print method. I will need to print
a number of letters with the dynamic name and address, similar to a mail
merge.

Dan

-----Original Message-----
From: Tipton Josh (orl1jdt) [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 3:01 PM
To: CF-Talk
Subject: RE: Printing


copy file.txt > lpt1 is it is local or if you have captured the printer in
dos to lpt1 if it is networked.  I do that exact thing using cffile then
exexecute.  It sends it through the server to a printer that everyone works
on.

Joshua Tipton

-----Original Message-----
From: Dan O'Keefe [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 2:58 PM
To: CF-Talk
Subject: Printing


What is the easiest way to send a text document to a printer from CFML. I
would imagine writing the file out with CFFILE and somehow initiating a DOS
command such as:

copy file.txt > PRN

Dan

-----------------------------------------
Dan O'Keefe
TriPoint Technologies
954.501.3115





______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to