Chapter 6: Commands
Read from Non-Volatile Memory
Reads a two-byte word from location k in the history EEROM.
Hex
1B 6A k
With LCSIO (RS-485), the printer returns the word in response to a subsequent poll. The
word is be appended to the normal three-byte response as shown.
STA1
Generate Pulse to Open Cash Drawer
Outputs a pulse defined by n1 and n2 to open a cash drawer.
Hex
1B 70 m n1 n2
n1 = (Pulse Ontime)
n2 = (Pulse Offtime)
The pulse is measured as 2 ms. x n (1 or 2).
Write to Non-Volatile Memory
Writes two-byte word n1:n2 to location k in history EEROM.
Hex
1B 73 n1 n2 k
Locations 00-15 (Hex) are reserved.
Set or Cancel Parallel Journal Printing
Because there is no journal station on the 7156, this command is not implemented and is
ignored if received.
Hex
1B 7A n
70
Decimal
ASCII
27 106 k
ESC j k
STA2
ADDR
6A
Decimal
27 112 m n1 n2
Decimal
27 115 n1 n2 k
Decimal
ASCII
27 122 n
ESC z n
Value of
k
0-63
N1
N2
ASCII
Value of m
0 = Drawer 1
ESC p m n1 n2
1 = Drawer 2
Value of n
ASCII
ESC s n1 n2 k
n1 = First Byte
n2 = Second Byte
September 1997
7156 Owner's Guide
Value of
n
0-255
Value of
n
16-63*