Zebra Technologies radio frequency identification (rfid) Photo Scanner User Manual


 
91
ZPL II Commands for RFID
^RA
11/14/2008 RFID Programming Guide 58978L-008 Rev. A
^RA
Read AFI or DSFID Byte
Description Use this command to read the AFI or DSFID byte. The data can be returned to
the host via the
^HV command.
Format ^RA#,f,r,m,b
This table identifies the parameters for this format.
Important • This command is not supported by all printers or firmware. See Printer and
Firmware Compatibility on page 82 for the list of printers and firmware with which you can
use this command.
Parameters Details
# =field number
specified with
another command
The value assigned to this parameter should be the same as
the one used in the
^RT command.
Accepted values: 0 to 9999
Default value: 0
f = format
Accepted values:
0 = ASCII
1 = Hexadecimal
Default value: 0
r = number of retries
Accepted values: 0 to 10
Default value: 0
m = motion
Accepted values:
0 = Feed label after writing.
1 = No Feed after writing. Other ZPL may cause a feed.
Default value: 0
b = type of byte to read
Accepted values:
A = AFI byte
D = DSFID byte
Default value: A
Example 1 •This example reads the AFI byte in ASCII format and returns AFI Byte:x
to the host. The printer will retry the command five times if necessary. A voided label is
generated if the read is unsuccessful after these retries. The data read will go into the
^FN1
location of the recalled format.
^XA
^FO20,120^A0N,60^FN1^FS
^RA1,0,5,0^FS
^HV1,,AFI Byte:^FS
^XZ