Tally Genicom T5023+ Printer User Manual


 
Controlling the MSR / MICR functions Additional commands (Printer)
212
T5023/5023+ - Programming Guide
Reading a MSR track
Command:
Response:
Meaning of parameter n4 = reading error:
0 = no error
1 = LRC error
2 = parity error
3 = no data found
4 = no start character found
5 = incorrect flux change distance
6 = no end character found
7 = magnetic track interruption
CSI
ESC
27
1B
[
91
5B
"
"
34
22
r
r
114
72
Name
ASCII character
Decimal
Hexadecimal
CSI
ESC
27
1B
[
91
5B
n1;...;n4
n1;...;n4
n1;...;n4
n1;...;n4
"
"
34
22
r
r
114
72
STX...ETX
STX...ETX
2...3
02..03
Name
ASCII character
Decimal
Hexadecimal
n1 =
number of required reading attempts
n2 =
reading threshold (always = 2)
n3 =
horizontal reading block number
n4 =
reading error (0 = without error; > 0 = error)
STX (02h) = start of the read data area
Read data = in the range of 30h-3Fh (ASCII)
ETX (03h) = end of the read data area