Assuming Windows you can use the "Print" command from CFEXECUTE (or from
a batch file via CFEXECUTE).


Here's a link with details:


http://www.ss64.com/nt/print.html


You can also get a lot of control of the printer via this:


http://www.robvanderwoude.com/index.html


In the end tho' this will only give you the abilty to print text files.
If you're planning to generate a specific KIND of file then you may have
more (or less) options.  For example you can print most Office documents
pretty easily via COM or Windows Scripting Host.  I believe that PDFs
can be printed from a command line switch and so forth.


Jim Davis


-----Original Message-----
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Friday, October 10, 2003 12:36 AM
To: CF-Talk
Subject: cfoutput to printer ??


good evenin' y'all

is there a way....to click a link, have it generate some data in some
file, and immediately
send that file to the printer installed on the server that is hosting
the cfmx? so that if a
client wanted to run a batch of reports, have the page(s) generate some
files, and then
after each one, send that to the printers spool?

thanks.

....tony

tony weeg
[EMAIL PROTECTED]
www.revolutionwebdesign.com
rEvOlUtIoN wEb DeSiGn
410.334.6331

  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to