Derrick,

Thanks, but it still didn't worked.  Actually I tried that the last time, replacing lpr with /dev/ttyS0, i just forgot to mention it in my last post.  Only the code below works.

<cfexecute name="echo  /opt/coldfusionmx/wwwroot/DMS/receipts/print.pl"
outputfile="/dev/ttyS0" timeout="1">
</cfexecute>

It prints the whole path though.

I chmod ttyS0 to 777, didn't worked also.  While bash scripts worked with 660 permission when testperl.cfm is loaded in the browser.

Perl isn't executed in my coldfusion server.  What am I missing here?

-John


>John,
>
>You can remove the outputfile parameter completely, it really isn't
>needed. Now in the perl script just replace the lpr with /dev/ttyS0 and
>see if that works. Or you can setup LPR to use your serial printer,
>either way.
>
>Thanks,
>
>Derrick
>
>On Aug 6, 2004, at 6:24 AM, John Puzon wrote:
>
>>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to