Specifications

RFID Commands
^RA
292
45541L-004 Rev. A ZPL II Programming Guide 9/15/06
^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 Table 13
on page 287 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