Thanks for your advice, I tried the one with space and the one without in between the path and the device but the printer just moved up one line. I also tried increasing the timeout to 5. Didn't work also. What could possibly be wrong with cfexecute trying to run perl scripts. I tried using bash (echo -e print_form.pl) in the name attribute and it works. It prints the whole print_form.pl code. I'm using cfmx 6.1
I guess I just have to let perl talk directly to my serial printer.
I just can't believe it doesn't work.
Thanks again CLiff!
>John,
>
>
>I would try replacing what you have in the "name" attribute for CFEXECUTE
>with this:
>
>"/opt/coldfusionmx/wwwroot/DMS/receipts/print_form.pl > /dev/ttyS0"
>
>or
>
>"/opt/coldfusionmx/wwwroot/DMS/receipts/print_form.pl>/dev/ttyS0"
>
>and then leave the "outputfile" attribute empty. CFEXECUTE's outputfile
>attribute might not behave in the same way as the command you're issuing
>in the command shell.
>
>If that doesn't work another option might be to use the Perl script itself
>to talk directly to /dev/ttys0 instead of capturing the output of the
>.pl file and writing it to the device.
>
>
>-Cliff
>
>
>
>On Wed, 04 Aug 2004 09:18:25 -0700 John Puzon <[EMAIL PROTECTED]> wrote:
>
>>10.
>>
>>Thanks in advance...
>>
>>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
