Communications
iTherm
®
280
Programmer’s Guide
28-04430
Rev K
Page 273
The following figure illustrates the four basic parts of printer flow control.
Data
Getting full/
Data
getting empty
Print buffer
Print control
Serial or parallel
connection
Print head
Status
Data
Status
Printer
ENQ
processor
Data
Com munications
port
Figure 16 Printer Communications Buffer Flow
The communication port is either serial or parallel and is controlled by a software
communication driver. The driver receives data and returns requested status. As
information is received from the host, data is taken from the communication port
hardware by the driver, preprocessed to look for status inquire commands, and placed in
the buffer. When the buffer input function finds that the buffer is getting full, it notifies the
communication driver to implement flow control. Flow control attempts to stop further
information from being sent from the host.
The print control software takes information from the buffer, as it needs it and can use it.
When the buffer output function finds that the buffer is getting low, it notifies the
communication driver that the information flow can be resumed (if it was stopped) and
allows more information to be placed in the buffer.
The iTherm
®
280 printer has a configurable input buffer. The printer can be configured
to allow from 40 to 8196 bytes of input buffer. Consequently, up to 8196 characters (or
control codes) can be sent to the printer before they are interpreted and printed. In
effect, the host computer can get 8196 characters ahead of the printer. In all cases, the
buffer resumes communications when it is half empty. For example, if the buffer is
configured to be 2048, the printer will signal stop when 2048 bytes are in the buffer;
resume will be signaled when 1024 bytes remain. Inquire commands are preprocessed,
which means they are found in the input data stream and acted upon as they are
received. The status returned is valid as of the time the command is received. This is
termed real-time status even though inquire commands are preprocessed and still
placed in the buffer. Real-time status assures that data is not lost when the inquire
sequence is part of another command. However, the buffer may also be filled by inquire
commands if the printer is waiting for some activity.
Содержание Ithaca 280
Страница 1: ...iTherm 280 Programmer s Guide PN 28 04430 Rev K APRIL 2011...
Страница 2: ...Page intentionally left blank...
Страница 12: ...Page x Rev K...
Страница 13: ...28 04430 Rev K Page 1 chapter 1 Introducing your iTherm 280 Printer...
Страница 14: ...Page 2 Rev K...
Страница 20: ......
Страница 21: ...28 04430 Rev K Page 9 chapter 2 iTherm 280 Specifications and Requirements...
Страница 22: ...Page 10 Rev K...
Страница 41: ...28 04430 Rev K Page 29 chapter 3 Setup Procedures...
Страница 42: ...Page 30 Rev K...
Страница 50: ......
Страница 51: ...28 04430 Rev K Page 39 chapter 4 How to Operate the iTherm 280 Printer...
Страница 52: ...Page 40 Rev K...
Страница 60: ......
Страница 61: ...28 04430 Rev K Page 49 chapter 5 Configuring Your iTherm 280 Printer...
Страница 62: ...Page 50 Rev K...
Страница 68: ......
Страница 69: ...28 04430 Rev K Page 57 chapter 6 Programming Codes...
Страница 70: ...Page 58 Rev K...
Страница 250: ......
Страница 251: ...28 04430 Rev K Page 239 chapter 7 iTherm 280 Color Graphics...
Страница 252: ...Page 240 Rev K...
Страница 267: ...28 04430 Rev K Page 255 chapter 8 Unicode...
Страница 268: ...Page 256 Rev K...
Страница 272: ......
Страница 273: ...28 04430 Rev K Page 261 chapter 9 iTherm 280 Extended Printer Control...
Страница 274: ...Page 262 Rev K...
Страница 280: ......
Страница 281: ...28 04430 Rev K Page 269 chapter 10 Communications...
Страница 282: ...Page 270 Rev K...
Страница 306: ......
Страница 310: ......
Страница 312: ......