Chapter 6: Commands
7156 Owner’s Guide
September 1997
70
Read from Non-Volatile Memory
Reads a two-byte word from location k in the history EEROM.
Hex
Decimal
ASCII
Value of
k
1B 6A k
27 106 k
ESC j k
0-63
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
STA2
ADDR
6A
N1
N2
Generate Pulse to Open Cash Drawer
Outputs a pulse defined by n1 and n2 to open a cash drawer.
Hex
Decimal
ASCII
Value of
m
Value of
n
1B 70 m n1 n2
27 112 m n1 n2
ESC p m n1 n2
0 = Drawer 1
1 = Drawer 2
0-255
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
Decimal
ASCII
Value of
n
Value of
n
1B 73 n1 n2 k
27 115 n1 n2 k
ESC s n1 n2 k
n1 = First Byte
n2 = Second Byte
16-63*
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
Decimal
ASCII
1B 7A n
27 122 n
ESC z n
Содержание 7156
Страница 1: ...BD20 1436 A Issue B September 1997 NCR 7156 Thermal Receipt and Impact Slip RS232 Owner s Guide...
Страница 6: ...Contents 7156 Owner s Guide September 1997 iv...
Страница 31: ...7156 Owner s Guide Chapter 2 Setting Up and Using the Printer September 1997 25 Sample Print Test...
Страница 38: ...Chapter 3 Solving Problems 7156 Owner s Guide September 1997 32...
Страница 118: ...Chapter 6 Commands 7156 Owner s Guide September 1997 112...
Страница 122: ...Appendix A Specifications 7156 Owner s Guide September 1997 116...
Страница 129: ...7156 Owner s Guide Appendix B Print Characteristics September 1997 123...
Страница 130: ...Appendix B Print Characteristics 7156 Owner s Guide September 1997 124...
Страница 136: ...Index 7156 Owner s Guide September 1997 6...