Chapter 4:
Querying the Printer
62
O’Neil Programming Language Reference Manual
Magnetic Card Read Query
Magnetic Card Read Reply Explanation
Magnetic Card Read Query
Query Format
ESC{MR?}
Reply Format
{MR!
T1
:x|
T2
:x|
T3
:x|}
Function
Displays the magnetic card reader configuration.
Reply Example
No card read:
{MR!T1:N|T2:N|T3:N}
Card read:
{MR!T1:%B9900 888888 89789^PUBLIC/JOHN Q
^9901960805542?|T2:;373027766473005=9901960805542
?|T3:;1234567890=1234567890=1234567890=
1234567890?}
Reply
Explanation
MR! - Reply to a magnetic card read query.
T1
:;%B9900 888888 89789^PUBLIC/JOHN Q
^9901960805542?| - Returns data read from track one of
magnetic card.
T2
:;373027766473005=9901960805542?| - Returns data
read from track two of magnetic card.
T3
:;1234567890=1234567890=1234567890=
1234567890? - Returns data read from track three of
magnetic card.
Query Reply
Definition
T1
N,xxxxx
N=No data read;
xxxxx
=Returns the data read from
track one of the magnetic card.
Note:
Most encodings (banking specifications), data
begin an percentage mark (%) and end with an question
mark (?
)
.
T2
N,xxxxx
N=No data read;
xxxxx
=Returns the data read from
track two of the magnetic card.
Note:
Most encodings (banking specifications), data
begin an percentage mark (%) and end with an question
mark (?
)
.
T3
N,xxxxx
N=No data read;
xxxxx
=Returns the data read from
track three of the magnetic card.
Note:
Most encodings (banking specifications), data
begin an percentage mark (%) and end with an question
mark (?
)
.
Содержание microFlash2
Страница 3: ......