Magnetic device control – Compuprint MDP40B Programmer Manual User Manual
Page 202

C-60
M
M
a
a
g
g
n
n
e
e
t
t
i
i
c
c
D
D
e
e
v
v
i
i
c
c
e
e
C
C
o
o
n
n
t
t
r
r
o
o
l
l
ESC ]
Magnetic read of the passbook stripe. (Olivetti PR2, PR40+, 2845)
ASCII Code
ESC ]
Hexadecimal Value
1B 5D
Decimal Value
27 93
Reads the magnetic stripe, if present.
If the document is not inserted, the printer feeds in the document.
The data read is converted into ASCII characters and sent to the central unit in the
following format:
ESC s ........data field............. FS
(1B 73 ........data field............. 1C)
In the case of a magnetic stripe with field duplication:
ESC s ......first data field ...... A ........second data field ...... FS
(1B 73 ......first data field ...... 41 ........second data field ...... 1C)
where A represents the separator between the two fields.
Unrecognized data is replaced with DEL (7F).
Should no data be found during the read operation, the answer will be:
ESC s DEL FS
(1B 73 7F 1C)