125
ZPL II Commands for RFID
^WT
11/14/2008 RFID Programming Guide 58978L-008 Rev. A
^WT

Write (Encode) RFID Tag

Description Use this command to encode the current RFID tag. Check the amount of data
memory available for the tag that you will be using. If you send more data than the memory
can hold, the printer truncates the data.
Format ^WTb,r,m,w,f,v
This table identifies the parameters for this format.
Note • The ^WT command is provided only for backward-compatibility with label formats
that were developed for older Zebra RFID printers. Use ^RF onpage 96 instead whenever
possible. See Printer and Firmware Compatibility onpage 82 for the list of printers and
firmware with which you can use this command.
Parameters Details
b=block number Specifies the block number to encode. This parameter is tag-
dependent.
For most tags, use block 0.
For EPC Class 0 Plus, block 0 is EPC data, and block 1 is
user data.
For the R4Mplus, you can encode 12 bytes (96bits) to
block 0, but you can encode only the first byte of block 1.
Accepted values: 0 to n, where n is the maximum number of
blocks for the tag.
Default value: 0
r= number of retries Changes the number of times that the printer attempts to
encode a particular block of a single RFID tag. (Same
function as the ^RR command.)
Accepted values: 0 to 10
Default value: 0
m=motion Enables or disables RFID motion. (Same function as the ^RM
command.)
Accepted values:
0 = Feed label after writing
1 = No feed after writing (other ZPL may cause a feed)
Default value: 0
w= write protect Accepted values:
0 = Not write protected
1 = Write protected
Default value: 0