Re: line printing
Re: line printing
- Subject: Re: line printing
- From: "Mark J. Reed" <email@hidden>
- Date: Tue, 22 Sep 2009 09:37:56 -0400
This doesn't make any sense to me:
On Tue, Sep 22, 2009 at 8:50 AM, Yvan KOENIG <email@hidden> wrote:
> Don't worry about USB and RS232. That side is covered and works.
but
> we have to find a way to get each line of text sent to the printer.
What exactly is it that is covered and working if they don't have a
way to send each line of text to the printer?
If it's just a question of breaking the file into lines and sending
them one at a time, waiting for the printer response, that should be
straightforward. I would look into expect(1), which is a special
purpose language built on top of Tcl for automating two-way
interactions ("chat scripts"). In this case, send a line, wait for
"EOT", send a line, etc...
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden