Hi all, this is my first post here, it looks like a pretty cool place, I've been browsing the forums, a good community
I have a question (of course):
I have a PHP app in OSX 10.2 and want to send ANY data to the (installed and workin) serial port.
I have read around and it seems I have a few options. One is to use osascript from within PHP to call an applescript (which MAY or may NOT be able to directly send data to the port) or if applescript cannot do that directly, use osascript to call a small, customised app that opens the port, sends data and then closes the port.
I guess the question(s) are:
1) can applescript directly send ANY data to the serial port?
2) if not, does anyone know of a tiny command line style app that can be executed (and hidden from the user) from osascript via php to send that data?
This is for a POS system btw. A POS drawer (till) is being opened from the serial port.
Any advice GREATLY appreciated
Rob