If you are just printing text files, just create a batch file and use the
copy command.  Then use CFExecute to call the batch file and pass the params

copy.bat:
copy %1 %2
(%1 is the source argument, %2 is the destination)

cf code:
<cfexecute name="c:\copy.bat"   arguments="c:\filename.txt LPT1">
</cfexecute>

LPT1 would print to a printer connected to LPT1 on the CF server.
If you need to print to a network printer, just use the UNC
(\\server\printer)

Kurt

-----Original Message-----
From: Justin Hansen [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 3:14 PM
To: CF-Talk
Subject: CFX_Print - anybody have it?


Hi all...

I need the CFX_Print tag but there is only a dead link in the Allaire Tag
Gallery. Does anybody have it? Please email it to me if you do. Are there
any other solutions to print a .txt file on the a printer attached to the
server? I have looked at cfcomet. If I can't find CFX_Print I will try the
com/word solution.

Thanks!
Justin

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to