• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: line printing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: line printing
      • From: Yvan KOENIG <email@hidden>
References: 
 >line printing (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: line printing
  • Next by Date: Re: line printing
  • Previous by thread: Re: line printing
  • Next by thread: Re: line printing
  • Index(es):
    • Date
    • Thread