A SERVICE OF

logo

68 RXiIIIPlus User Guide 6/21/2004 23063L-001 Rev. 2
RFID Guidelines
^RT
^RT
Read Tag
Description The ^RT command tells the printer to read the current RFID tag data. The data
can be sent back to the host via the
^HV command.
Format
^RT#,b,n,f,r,m,s
The following table identifies the parameters for this format.
Parameters Details
# = number to be
assigned to the field
Accepted values: 0 to 9999
Default value: 0
b = starting block number Accepted values: 0 to n, where n is the maximum number of blocks for the tag.
Default value: 0
n = number of blocks
to read*
Accepted values: 1 to n, where n is the maximum number of blocks minus the
starting block number. For example, if the tag has 8 blocks (starting with
block 0) and you start with block 6, n can be 2. This would give you block 6 and
block 7 information.
Default value: 1
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
s = special mode For EPC Class 1 (Alien reader) only. Not applicable for EPC class 0.
Default value: 0 (Do not read if mismatched checksum.)
Accepted values: 1 (Read even if mismatched checksum.)
*Not applicable for R110XiIIIplus
Example • This sample reads a tag, prints the data on a label, and sends the string
Tag Data:xxxxxxxx back to the host. The data read will go into the ^FN1 location of the
format. The printer will retry the command five times, if necessary.
^XA
^FO20,120^A0N,60^FN1^FS
^RT1,,,,5^FS
^HV1,,Tag Data:^FS
^XZ