Zebra CPCL Programming Manual - McR-Query Command
Mobile Printer CPCLProgramming Manual
P10-31
! U1 MCR 80 ECHO T1 T2 ERRORS
Once the card is swiped successfully, the following is
sent to host and printed:
T1:B4000001234562^PUBLIC JR/JOHN
Q.MR^9209101999999999
T2:4000001234562=9209101999999999
If the printer times out before a successful read, it will
send the following message to host and printed on the
printer:
Error:T1:Time-out
Error:T2:Time-out
Example 3: This example illustrates the PREFIX,
EPREFIX, POSTFIX, and DEL (DELimiter) options:
! U1 MCR 80 ECHO T1 T2 ERRORS PREFIX START
EPREFIX ERR POSTFIX END DEL ()
Once the card is swiped successfully, the following is
sent to host and printed:
START(1)B4000001234562^PUBLIC JR/JOHN
Q.MR^9209101999999999END
START(2)4000001234562=9209101999999999END
If the printer times out before a successful read, it will
send the following message to host and printed on the
printer:
ERR(1)Time-out
ERR(2)Time-out
MCR-QUERY Command
The MCR can be put in a query mode by specifying the
“QUERY” option in the MCR command, where it will
report MCR data only when it is asked to via the MCR-