28.02.2015 Views

Ithaca 610 Programmer's Guide - TransAct

Ithaca 610 Programmer's Guide - TransAct

Ithaca 610 Programmer's Guide - TransAct

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Communications<br />

<strong>Ithaca</strong> ® <strong>610</strong> Programmer’s <strong>Guide</strong><br />

Serial Port<br />

Serial Port Protocol<br />

The serial port supports two flow control standards, XON/XOFF and Ready/Busy<br />

(sometimes called Data Terminal Ready (DTR) or hardware handshake).<br />

When Ready/Busy flow control is selected, the printer can be configured to use DTR,<br />

Request to Send (RTS), or both for flow control. If only DTR is selected for flow control,<br />

RTS will indicate the cover is open or the printer has faulted. The following discussion<br />

assumes the DTR is being used for flow control.<br />

The Ready/Busy protocol generally uses the DTR signal to indicate to the host computer<br />

that the printer is not ready to accept data. The host should stop sending data to the<br />

printer as soon as possible. Because the host may not notice the DTR signal until it has<br />

transmitted several bytes of data to the printer, the printer continues to except up to<br />

255 13 bytes of data after it indicates that it is not ready. Figure 18 Serial Port Flow<br />

Control Using DTR illustrates how the Ready/Busy protocol works, and Figure 19<br />

XON/XOFF Serial Port Flow Control illustrates how the XON/XOFF protocol works.<br />

Serial<br />

Data In<br />

Serial<br />

Data Out<br />

(Not Used for<br />

Flow Control)<br />

DTR<br />

Communications<br />

Port<br />

Data<br />

Inquire<br />

Response<br />

Clear<br />

DTR<br />

Set<br />

Data<br />

ENQ Response<br />

ENQ<br />

Proc.<br />

Buffer Getting Full<br />

Data<br />

Buffer Getting Empty<br />

Print<br />

Buffer<br />

40 - 8K<br />

Data<br />

Printer Control<br />

Software<br />

RTS<br />

Select Key<br />

RTS = Request to Send<br />

DTR = Data Terminal Ready<br />

Figure 18 Serial Port Flow Control Using DTR<br />

13 The buffer always signals it is full before it overflows. The size of the reserve depends on the<br />

buffer size selected. It is always at least 255 bytes.<br />

28-05897 Rev D Page 241

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!