^RZ
^RZ

^RZ

Use this command to define a password for a tag during writing.

Set RFID Tag Password and Lock Tag

With Gen 2 tags, you can lock a tag’s memory bank with an access password or define a kill password that can be used to permanently disable the tag. If you do not set access or kill passwords for a tag, the tag ignores any read or write commands that try to use these functions.
The printer can set a kill password, but the printer cannot kill a tag.
Format:
^RZp,m,l
Parameters
Details
p
= password
This parameter sets a password for the RFID tag.
For tag types other than Gen 2:
The password is 8 bits. The memory bank and lock style parameters are ignored. The password must be 2 hexadecimal characters long.
Values:
00 to FF (hexadecimal)
Default:
00
For Gen 2 tag type only:
Gen 2 tags use a 32-bit password and specify the memory bank and lock style. The password must be 8 hexadecimal characters long. Use ^RF to read the passwords.
Values:
00000000 to FFFFFFFF (hexadecimal)
Default:
none
m
= memory bank
This parameter applies to Gen 2 tags only.
This parameter specifies the type of RFID tag password.
Values:
K =
kill password
A =
access password
E =
EPC
T =
tag identifier (TID)
U =
user
Default:
none
l
= lock style
This parameter applies to Gen 2 tags only.
This parameter specifies the RFID tag password status.
Values:
U =
unlocked
L =
locked
O =
permanently unlocked (open)
P =
permanently locked (protected)
W =
write value (used only for the kill password memory bank)
Default:
none
Example:
On a tag that is not Gen 2, this example encodes
5A
as the tag password.
^XA ^RZ5A^FS ^XZ
Example:
This example encodes EPC data
112233445566778899001122
to the tag in Hex format, write protects the tag’s EPC data with password
1234ABCD
, and leaves the tag’s access password unlocked.
Example:
On a Gen 2 tag, this example encodes EPC data
112233445566778899001122
to the tag in Hex format, write protects the tag’s EPC data with password
1234ABCD
, and leaves the tag’s access password unlocked.
^XA ^RFW,H^FD112233445566778899001122^FS ^RZ1234ABCD,E,L^FS ^XZ
Example:
This example encodes EPC data
112233445566778899001122
to the tag in Hex format, write protects the tag’s EPC data with password
1234ABCD
, and makes the tag’s access password unreadable.
Example:
On a Gen 2 tag, this example encodes EPC data
112233445566778899001122
to the tag in Hex format, write protects the tag’s EPC data with password
1234ABCD
, and makes the tag’s access password unreadable.
^XA ^RFW,H^FD112233445566778899001122^FS ^RZ1234ABCD,E,L^FS ^RZ1234ABCD,A,L^FS ^XZ
The following code unprotects EPC data
112233445566778899001122
using the password
1234ABCD
, encodes EPC data
newdata
to the tag in ASCII format, and then write protects the tag’s new EPC data. The access password and its lock state are not changed, so the access password remains unreadable.
^XA ^RZ1234ABCD,E,U^FS ^RFW,A^FDnewdata^FS ^RZ1234ABCD,E,L^FS ^xz
Example:
This example unlocks the locked access password from the previous example.
^XA ^RZ1234ABCD,A,U^FS ^XZ