7197 Series II Owner’s Guide
Chapter 6: Commands
August
2011
142
Real Time Status Transmission
GS
Sequence
Standard/Ethernet
DLE Sequence
Standard/Ethernet
Non ION USB
ASCII
: GS
EOT
n
DLE
EOT
n
DC4 SOH n (bRequest = DC4,
wValue = SOH n)
Hexadecimal
: 1D
04
n
10
04
n
14 01 n (bRequest = 0x14,
wValue = 0x01 n)
Decimal:
29 4
n
16
4
n
20 1 n (bRequest = 20, wValue
= 1 n)
Value of
n
:
GS/DLE Sequence
UDP port
1 = Transmit printer status
3000
2 = Transmit RS-232C busy status
3000
3 = Transmit error status
3000
4 = Transmit receipt paper status
3000
6 = Transmit error other status
3000
20 = Ethernet Information (34bytes)
Serial number (11bytes) + Model number
(17bytes) + MAC address (6bytes)
3001
Ethernet model
only
21 = Serial number (11bytes)
3001
Ethernet model
only
22 = Model number (17bytes)
3001
Ethernet model
only
23 = MAC address (6bytes)
3001
Ethernet model
only
According to “Ethernet RTC Protocol” setting ( 1F 11 ) , the using protocol and port
number are different. When “Ethernet RTC Protocol” setting is TCP, this command ( n = 1
to 6 ) effective in TCP 9100 port. “Ethernet RTC Protocol” setting is UDP, this command
effective in UDP 3000 port.
When send above command to the printer by Ethernet (UDP 3000 port), need to add
Sequence Number of 4 bytes before command.
In case of Transmit printer status command, send xxh xxh xxh xxh 1Dh 04h 01h.
“xxh xxh xxh xxh“ is Sequence Number.
Summary of Contents for 7197 II SERIES
Page 5: ...v EMC 100 240 1 5 0 8 50 60 24 2 3 3 125 NCR NCR EMC 360 NCR EMC A A...
Page 7: ...vii A NCR NCR NCR A...
Page 35: ...7197 Series II Owner s Manual Chapter 2 Setting Up and Using the Printer 21 September 2011...
Page 37: ...7197 Series II Owner s Manual Chapter 2 Setting Up and Using the Printer 23 September 2011...
Page 38: ...7197 Series II Owner s Manual Chapter 2 Setting Up and Using the Printer 24 September 2011...
Page 253: ...7197 Series II Owner s Guide Appendix B Print Characteristics 228 Februrary 2012 Code Page 932...
Page 272: ...7197 Series II Owner s Guide Appendix B Print Characteristics 247 Februrary 2012...