It doesn't work either. echo only displays the full path of the print.sh to the browser after This is a test of.... No output to the printer.
<cfexecute name="echo /opt/coldfusionmx/wwwroot/DMS/receipts/print.sh" timeout="1" />
while...
<cfexecute name="echo /opt/coldfusionmx/wwwroot/DMS/receipts/print.sh" outputfile="/dev/ttyS0" timeout="1" />
outputs the full path to the printer
the code below illicits no response.
<cfexecute name="/opt/coldfusionmx/wwwroot/DMS/receipts/print.sh" timeout="1" />
-John
>John,
>
>Have you tried creating a simple bash script which will in turn execute the
>perl script for you. The perl script itself should handle output to printer.
>
>for example:
><cfexecute name="echo /opt/coldfusionmx/wwwroot/DMS/receipts/print.sh"
>timeout="1">
></cfexecute>
>
>bash script file
>---/opt/coldfusionmx/wwwroot/DMS/receipts/print.sh---
>perl print.pl
>
>
>HTH,
>Dave
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
