Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #58734

Re: Interactive printing to serial printer

From Alan Baker <alangbaker@telus.net>
Newsgroups comp.sys.mac.system
Subject Re: Interactive printing to serial printer
Date 2014-04-20 12:54 -0700
Organization Datemas.de http://www.news.datemas.de
Message-ID <lj18kr$i82$1@news.datemas.de> (permalink)
References <53542501$0$47856$c3e8da3$5d8fb80f@news.astraweb.com>

Show all headers | View raw


On 2014-04-20 19:50:24 +0000, JF Mezei said:

> The task: using old serial printer (C-Itoh) with the roller removed to
> label slides. (lots of them).
> 
> In the past, I did this on a DCL script on VMS which would create a
> string such as "19890436" , send it to printer with a carriage return,
> and if I then just pressed "return" on terminal, would do the same with
> "19890437"
> 
> So I could label 36 slides by pressing return after switching slides in
> the printer.
> 
> I had a few commands I could enter to reset counts, advance to next roll
> of film, reprint last number etc.
> 
> Instead of firing up my old VMS box, would like to see what sort of
> possible implementations on OS-X are possible. The serial ports are on
> my X-serve.
> 
> 
> Does Applescript have the ability to open, set and send data to a serial
> port ? If so, I could write a very simple GUI app to do the job.
> 
> Otherwise, amd I better off doing this in bash ? PHP in line command
> mode ?  Anything else out there that I completely forgot ?
> 
> I may choose to connect my printer to a VT220 terminal, in which case
> the script would prefix the "198980417" string with an escape sequence
> to get terminal to send the following data to the printer (and an escape
> sequence to return to terminal mode).

'A Scripting Addition to allow access to an internal modem or standard 
serial ports from AppleScript. Requires Mac OS 10.5 or higher and an 
internal modem or serial port adapter. Includes AppleScript examples 
and an Address Book plug-in to dial phone numbers.  Version 2.1.2.    
32 / 64 bit Universal Binary.    Free."

<http://alteredhorizons.capnix.com/MacSoft.html>

That was less than 20 seconds on Google, BTW.

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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