Communications
iTherm
®
280
Programmer’s Guide
Page 284
Rev K
Flow Chart 2 illustrates how the print control software takes data from the buffer and
controls flow. At the top of the chart, the print control software asks for data. If there is
no data in the buffer, a
―no data flag‖ is returned. The print software must then wait for
data. If there is data in the buffer, it is read, and the pointers are updated. The buffer is
then checked to see how much information is left. If the buffer is below a low watermark
(about 100 bytes left), the communication driver is notified, and DTR is reasserted.
When XON/XOFF flow control is used, the flow is similar to DTR flow except that DTR is
not used and XON/XOFF control characters are transmitted back to the host on the
serial link. The XON/XOFF advantage is that only three wires are required to
interconnect to a printer. The disadvantage is that a serial-port receiver driver must be
written for the host.
Flow Chart 2 Print Controller Using Data
Return data to print
controller.
Is the buffer
below the low
watermark?
No
Set DTR or transmit
XON.
Yes
The print controller needs
data to print or a
command to decode.
Return to print controller
with no data available.
Acquire data from the
buffer.
Is there any
data in the
buffer?
Move buffer pointers to
the next data byte.
Yes
Loop through idle
task, and then look
for more data.
No
Summary of Contents for Ithaca 280
Page 1: ...iTherm 280 Programmer s Guide PN 28 04430 Rev K APRIL 2011...
Page 2: ...Page intentionally left blank...
Page 12: ...Page x Rev K...
Page 13: ...28 04430 Rev K Page 1 chapter 1 Introducing your iTherm 280 Printer...
Page 14: ...Page 2 Rev K...
Page 20: ......
Page 21: ...28 04430 Rev K Page 9 chapter 2 iTherm 280 Specifications and Requirements...
Page 22: ...Page 10 Rev K...
Page 41: ...28 04430 Rev K Page 29 chapter 3 Setup Procedures...
Page 42: ...Page 30 Rev K...
Page 50: ......
Page 51: ...28 04430 Rev K Page 39 chapter 4 How to Operate the iTherm 280 Printer...
Page 52: ...Page 40 Rev K...
Page 60: ......
Page 61: ...28 04430 Rev K Page 49 chapter 5 Configuring Your iTherm 280 Printer...
Page 62: ...Page 50 Rev K...
Page 68: ......
Page 69: ...28 04430 Rev K Page 57 chapter 6 Programming Codes...
Page 70: ...Page 58 Rev K...
Page 250: ......
Page 251: ...28 04430 Rev K Page 239 chapter 7 iTherm 280 Color Graphics...
Page 252: ...Page 240 Rev K...
Page 267: ...28 04430 Rev K Page 255 chapter 8 Unicode...
Page 268: ...Page 256 Rev K...
Page 272: ......
Page 273: ...28 04430 Rev K Page 261 chapter 9 iTherm 280 Extended Printer Control...
Page 274: ...Page 262 Rev K...
Page 280: ......
Page 281: ...28 04430 Rev K Page 269 chapter 10 Communications...
Page 282: ...Page 270 Rev K...
Page 306: ......
Page 310: ......
Page 312: ......