<cffunction hint="Update the Paid field upon confirmation of CA"
name="confirmCAReturns"
access="remote"
returnType="string">
... a lot of other codes are here
... This is where th action begins...
<!--- Kick off the drawer --->
<cfexecute name = "echo -e \020\024\001\000\001\005"
outputfile="/dev/ttyS0"
timeout = "1">
</cfexecute>
<!--- Write to a file that will be processed by the perl script for formatting--->
<cffile action=""> file = "/opt/coldfusionmx/wwwroot/DMS/receipts/print_details"
output = "#cfv_receipt#"
mode = "777"
charset = "US-ASCII"
addnewline = "Yes">
<!--- Print receipt --->
<cfexecute name = "/opt/coldfusionmx/wwwroot/DMS/receipts/print_form.pl"
outputfile="/dev/ttyS0"
timeout = "1">
</cfexecute>
...and so are here
</cffunction>
I hope anyone of you could provide some answers for i'm really frustrated with this. I'm using the built-in webserver for coldfusion and Mandrake-10.
Thanks in advance...
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
