Print Buffer Flow - TransAct Ithaca 280 Programmer's Manual

Thermal receipt printer
Table of Contents

Advertisement

Communications

Print Buffer Flow

Flow Chart 1 illustrates how the communications driver acquires data from the serial port
and places it in the buffer using Ready/Busy or XON/XOFF flow control.
Wait for data from the
Place data in the print
Flow Chart 1 Serial Buffer Operation
At the top of this flow chart, the driver is waiting for data. When data is received from the
host, the printer checks to see if it is an inquire command. If the data is an inquire, it is
responded to and placed in the buffer. If not, the data is placed in the buffer without
response. The buffer is then checked to see if it is full before the internal pointer is
incremented. If it is not full, the pointer is incremented in preparation for the next data
byte. The buffer is checked by looking to see if it has passed a high watermark. If the
buffer has, the communication driver is notified, and it resets DTR to indicate to the host
that no more data should be sent.
28-04430
host.
buffer.
Is the
buffer full?
No
Update the buffer
pointers.
Is the buffer
Yes
past the high
watermark?
No
Rev K
®
iTherm
280 Programmer's Guide
Yes
Clear the DTR signal or
transmit XOFF.
Page 283

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Ithaca 280 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents