7167 Owner’s Manual
Chapter 6: Commands
November 2002
164
In this case the sequence will also be handled correctly as the graphics data it is intended
to be when the graphics command is executed from the buffer.
Third, care must be taken not to insert a Real Time command into the data sequence of
another command that consists of two or more bytes.
In this case the printer will use the real time command sequence bytes instead of the other
command’s parameter bytes when finally executing that other command from the buffer;
the other command will NOT be executed correctly.
These three situations generally preclude use of standard DOS drivers for the serial
communication ports when using real time commands.
Moving Data Through the Buffer
Another consideration is that an application should take care not to let the buffer fill up
with real time commands when the printer is busy at the RS-232C interface. A busy
condition at the RS-232C interface can be determined by bit 3 of the response to 1D 05 or
1D 04 1 or 10 04 1. The reason for a particular busy condition can be determined by other
responses to 1D 04 n or 10 04 n.
Although the printer responds to Real Time commands when it is busy, it will place them
into the buffer behind any other data there, and flush them out in the order in which they
were received. When the printer is busy due simply to buffer full (that is, it can’t print data
as fast as it can receive it), then data continues to be processed out of the buffer at
approximately print speed and the Real Time commands will eventually get flushed out.
When the printer is busy due to an error condition, then data stops being processed out of
the buffer until the condition clears one way or another. In either case, but more quickly in
the case of an error condition, the buffer can fill with real time commands.
When the DLE sequences are being used, the last byte stored when the buffer fills up
could be the DLE code, with no room for the subsequent EOT or ENQ. When this lone
DLE byte is finally processed out of the buffer it will be interpreted as a Clear Printer
command.
Similarly, when the GS sequences are being used, the last byte stored when the buffer fills
up could be the GS code, with no room for the subsequent EOT or ETX or ENQ. When this
lone GS byte is finally processed out of the buffer it will use the next byte, whatever it is,
as the second byte in its GS sequence.
To guard against this situation, an application should determine the cause of a busy
condition and take appropriate action or pace further real time commands to avoid filling
the buffer. There are a minimum of 256 bytes available in the printer’s buffer when it goes
busy.
Содержание 7167
Страница 1: ...NCR 7167 Two Station POS Printer Release 1 0 Owner s Manual B005 000 1406 Revision C November 2002...
Страница 26: ...7167 Owner s Manual Chapter 2 Setting Up and Using the Printer November 2002 16 Bottom of the Printer...
Страница 34: ...7167 Owner s Manual Chapter 2 Setting Up and Using the Printer November 2002 24...
Страница 39: ...7167 Owner s Manual Chapter 2 Setting Up and Using the Printer November 2002 29...
Страница 41: ...7167 Owner s Manual Chapter 2 Setting Up and Using the Printer November 2002 31...
Страница 57: ...7167 Owner s Manual Chapter 2 Setting Up and Using the Printer November 2002 47 Guide Extended Slip Table LED...
Страница 59: ...7167 Owner s Manual Chapter 2 Setting Up and Using the Printer November 2002 49 LED Guide Extended Slip Table...
Страница 244: ...7167 Owner s Manual Appendix A Specifications November 2002 214...
Страница 256: ...7167 Owner s Manual Appendix C November 2002 226 Code Page 950 Code Page 437 850 852 and 858...
Страница 257: ...7167 Owner s Manual Appendix C November 2002 227 Code Page 860 862 863 and 864...
Страница 258: ...7167 Owner s Manual Appendix C November 2002 228 Code Page 865 866 874 and 1252...
Страница 259: ...7167 Owner s Manual Appendix C November 2002 229 Code Page Katakana...
Страница 260: ...7167 Owner s Manual Appendix C November 2002 230 Code Page 932...
Страница 261: ...7167 Owner s Manual Appendix C November 2002 231 Code Page 932 Cont...
Страница 262: ...7167 Owner s Manual Appendix C November 2002 232 Code Page 932 Cont...
Страница 263: ...7167 Owner s Manual Appendix C November 2002 233 Code Page 932 Cont...
Страница 264: ...7167 Owner s Manual Appendix C November 2002 234 Code Page 932 Cont...
Страница 265: ...7167 Owner s Manual Appendix C November 2002 235 Code Page 932 Cont...
Страница 266: ...7167 Owner s Manual Appendix C November 2002 236 Code Page 932 Cont...
Страница 267: ...7167 Owner s Manual Appendix C November 2002 237 Code Page 932 Cont...
Страница 268: ...7167 Owner s Manual Appendix C November 2002 238 Code Page 932 Cont...
Страница 269: ...7167 Owner s Manual Appendix C November 2002 239 Code Page 936 Simple Chinese...
Страница 270: ...7167 Owner s Manual Appendix C November 2002 240 Code Page 936 Simple Chines1e Cont...
Страница 271: ...7167 Owner s Manual Appendix C November 2002 241 Code Page 936 Simple Chinese Cont...
Страница 272: ...7167 Owner s Manual Appendix C November 2002 242 Code Page 936 Simple Chinese Cont...
Страница 273: ...7167 Owner s Manual Appendix C November 2002 243 Code Page 936 Simple Chinese Cont...
Страница 274: ...7167 Owner s Manual Appendix C November 2002 244 Code Page 936 Simple Chinese Cont...
Страница 275: ...7167 Owner s Manual Appendix C November 2002 245 Code Page 936 Simple Chinese Cont...
Страница 276: ...7167 Owner s Manual Appendix C November 2002 246 Code Page 936 Simple Chinese Cont...
Страница 277: ...7167 Owner s Manual Appendix C November 2002 247 Code Page 936 Simple Chinese Cont...
Страница 278: ...7167 Owner s Manual Appendix C November 2002 248 Code Page 936 Simple Chinese Cont...
Страница 279: ...7167 Owner s Manual Appendix C November 2002 249...
Страница 280: ...7167 Owner s Manual Appendix C November 2002 250 Code Page 936 Simple Chinese Cont...
Страница 281: ...7167 Owner s Manual Appendix C November 2002 251 Code Page 949 Korean...
Страница 282: ...7167 Owner s Manual Appendix C November 2002 252 Code Page 949 Korean Cont...
Страница 283: ...7167 Owner s Manual Appendix C November 2002 253 Code Page 949 Korean Cont...
Страница 284: ...7167 Owner s Manual Appendix C November 2002 254 Code Page 949 Korean Cont...
Страница 285: ...7167 Owner s Manual Appendix C November 2002 255 Code Page 949 Korean Cont...
Страница 286: ...7167 Owner s Manual Appendix C November 2002 256 Code Page 949 Korean Cont...
Страница 287: ...7167 Owner s Manual Appendix C November 2002 257 Code Page 949 Korean Cont...
Страница 288: ...7167 Owner s Manual Appendix C November 2002 258 Code Page 949 Korean Cont...
Страница 289: ...7167 Owner s Manual Appendix C November 2002 259 Code Page 949 Korean Cont...
Страница 290: ...7167 Owner s Manual Appendix C November 2002 260 Code Page 949 Korean Cont...
Страница 291: ...7167 Owner s Manual Appendix C November 2002 261 Code Page 949 Korean Cont...
Страница 292: ...7167 Owner s Manual Appendix C November 2002 262 Code Page 949 Korean Cont...
Страница 293: ...7167 Owner s Manual Appendix C November 2002 263 Code Page 949 Korean Cont...
Страница 294: ...7167 Owner s Manual Appendix C November 2002 264 Code Page 949 Korean Cont...
Страница 295: ...7167 Owner s Manual Appendix C November 2002 265 Code Page Traditional Chinese Cont...
Страница 296: ...7167 Owner s Manual Appendix C November 2002 266 Code Page 949 Korean Cont...
Страница 297: ...7167 Owner s Manual Appendix C November 2002 267 Code Page 950 Traditional Chinese...
Страница 298: ...7167 Owner s Manual Appendix C November 2002 268 Code Pare 949 Traditional Chinese Cont...
Страница 299: ...7167 Owner s Manual Appendix C November 2002 269 Code Pare 980 Traditional Chinese Cont...
Страница 300: ...7167 Owner s Manual Appendix C November 2002 270 Code Pare 950 Traditional Chinese Cont...
Страница 301: ...7167 Owner s Manual Appendix C November 2002 271 Code Pare 949 Traditional Chinese Cont...
Страница 302: ...7167 Owner s Manual Appendix C November 2002 272 Code Pare 980 Traditional Chinese Cont...
Страница 303: ...7167 Owner s Manual Appendix C November 2002 273 Code Pare 980 Traditional Chinese Cont...
Страница 304: ...7167 Owner s Manual Appendix C November 2002 274 Code Pare 950 Traditional Chinese Cont...
Страница 305: ...7167 Owner s Manual Appendix C November 2002 275 Code Pare 950 Traditional Chinese Cont...
Страница 306: ...7167 Owner s Manual Appendix C November 2002 276 Code Pare 950 Traditional Chinese Cont...
Страница 307: ...7167 Owner s Manual Appendix C November 2002 277 Code Pare 950 Traditional Chinese Cont...
Страница 308: ...7167 Owner s Manual Appendix C November 2002 278 Code Pare 950 Traditional Chinese Cont...