Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #58753
| From | Lewis <g.kreme@gmail.com.dontsendmecopies> |
|---|---|
| Newsgroups | comp.sys.mac.system |
| Subject | Re: Interactive printing to serial printer |
| Date | 2014-04-21 04:22 +0000 |
| Organization | Miskatonic U |
| Message-ID | <slrnll9788.1k5e.g.kreme@amelia.local> (permalink) |
| References | <53542501$0$47856$c3e8da3$5d8fb80f@news.astraweb.com> |
In message <53542501$0$47856$c3e8da3$5d8fb80f@news.astraweb.com> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote: > Does Applescript have the ability to open, set and send data to a serial > port? No, it doesn't. > Otherwise, amd I better off doing this in bash ? PHP in line command > mode ? Anything else out there that I completely forgot ? The last time I had to talk to a serial port in OS X I used a command line comm program to send raw commands to the device. I can't remember what the program was, but it was dead simple to do once I got it installed. It might have been minicomm, but that doesn’t sound quite right. <https://alioth.debian.org/projects/minicom/> If you want a GUI, zterm runs under 10.9, or if you really want to use AppleScript you can work around its lack of serial by using screen in the terminal, but I've never done this myself and I don't know how well it works. the syntax is along the lines of: Tell app "Terminal" do shell script with command "screen /dev/tty.<something>" end save that as an app, double click, and you have a screen session talking directly to the serial port. Screen is ... odd if you've not used it. -- You are responsible for your Rose
Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Interactive printing to serial printer JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-20 15:50 -0400
Re: Interactive printing to serial printer Alan Baker <alangbaker@telus.net> - 2014-04-20 12:54 -0700
Re: Interactive printing to serial printer JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-20 16:28 -0400
Re: Interactive printing to serial printer Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-04-21 04:22 +0000
Re: Interactive printing to serial printer JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-21 04:29 -0400
Re: Interactive printing to serial printer JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-21 21:17 -0400
csiph-web