Programmers Guide
TH320/420
146
Batch mode
For RS-232c printers, these commands enable the printer to communicate with the host computer
following the selected handshaking protocol, either DTR/DSR or XON/XOFF. They are stored in the
printer’s data buffer as they are received, and are handled by the firmware in the order in which they
are received.
When a fault occurs, the printer will go busy at the RS-232c interface and not respond to any of the
batch mode printer status commands. If the fault causing the busy condition can be cleared, such as
by loading paper, or letting the thermal printhead cool down, the printer will resume processing the
data in its receive buffer.
Request alternate status (parallel only)
ASCII
ESC u
n
Hexadecimal
1B 75
n
Decimal
27 117
n
Value and Range of
n:
Value of
n
Function
Description
00
Drawer 1
High = Open
Low = Closed or Not
Present
01
Drawer 2
High = Open
Low = Closed or Not
Present
02
Paper Low
High = Paper Out
(Not Implemented.
Low = Paper Present
Interpreted as
Paper Out.)
03
Paper Out
(Default) High = Paper Out
Low = Paper Present
>03
Ignored, No Change
Printer Does
Not Stay BUSY1
1PAPER EXHAUST LINE is valid to indicate previously requested status.
This command allows the printer to inform the host when the data in the buffer has been processed,
when the IEEE 1284 interface is in unidirectional mode. When this command is send to the printer, the
printer goes “Busy” unit all data which has been sent to the print has been processed.. The PAPER
EXHAUST line shows the status for the cash drawer or receipt paper as shown in the table
.
Status information is limited to what can be sent by the dedicated lines: BUSY, ACK, PAPER
EXHAUST, and FAULT.
Preferred implementation
For a new application the GS (1D) sequences are recommended to avoid possible misinterpretation of
a DLE (0x10) sequence as a clear printer (0x10 0, ASCII DLE NUL) command.
An application using these GS (1D) sequences does not need to distinguish for the printer between
the new real time commands and the clear printer command. This implementation is ideal for an
existing A756 application that already uses the clear printer command or for a new application being
developed.
Содержание TH320
Страница 1: ...TH320 TH420 Two Color Thermal Impact Hybrid Printer Programmers Guide ...
Страница 75: ...TH320 TH420 Programmers Guide 67 ...
Страница 121: ...TH320 TH420 Programmers Guide 113 Character Sets Character code 437 USA Standard Europe ...
Страница 122: ...Programmers Guide TH320 420 114 Codepage 737 Greek ...
Страница 123: ...TH320 TH420 Programmers Guide 115 Codepage 850 Multilingual ...
Страница 124: ...Programmers Guide TH320 420 116 Codepage 852 Slavic ...
Страница 125: ...TH320 TH420 Programmers Guide 117 Codepage 857 Turkish ...
Страница 126: ...Programmers Guide TH320 420 118 Codepage 858 with Euro symbol ...
Страница 127: ...TH320 TH420 Programmers Guide 119 Codepage 860 Portuguese ...
Страница 128: ...Programmers Guide TH320 420 120 Codepage 862 Hebrew ...
Страница 129: ...TH320 TH420 Programmers Guide 121 Codepage 863 French Canadian ...
Страница 130: ...Programmers Guide TH320 420 122 Codepage 865 Nordic ...
Страница 131: ...TH320 TH420 Programmers Guide 123 Codepage 866 Cyrillic ...
Страница 132: ...Programmers Guide TH320 420 124 Codepage 1252 Windows Latin 1 ...
Страница 134: ...Programmers Guide TH320 420 126 Codepage 1255 Hebrew ...
Страница 142: ...Programmers Guide TH320 420 134 TH420 Additional Features ...
Страница 156: ......
Страница 157: ...TH320 TH420 Programmers Guide Wincor Nixdorf International GmbH D 33094 Paderborn ...