zpl.tools
RFID

^RL - Lock or Unlock RFID Tag Memory

Locks, unlocks or permanently locks a tag's passwords, memory banks or user-memory sections.

^RL changes the operations that a Gen 2 tag accepts later. The command has two forms. ^RLM locks or unlocks the passwords and the complete EPC and user memory banks. ^RLB permanently locks a sequence of user-memory sections. The permanent settings are truly permanent. No later command can undo O and P, and an error here makes the tag unusable.

Syntax

^RLM,k,a,e,u or ^RLB,s,n

Support

Recognised, deliberately skippedparsed: none · state: none · rendered: none

Accepted and skipped, because it configures the printer rather than the label. It cannot change the rendered output, and Labelary skips it too.

Changes the write protection inside the transponder, with an access password that ^RF set earlier. It has no printed form. The renderer does not parse this command. It reports IGNORED_COMMAND at info severity, which does not reach X-Warnings. Labelary is also silent, so the rendered label is identical in both engines and with or without the command. The 2006 ZPL II Programming Guide does not document this command, and the parameters below come from Zebra's later RFID documentation for Gen 2 printers. — not pinned by a test

Labelary renders this command.

Parameters

kKill passwordoptional · one of a set

^RLM form. Locks or unlocks the kill password.

Default
omitted, which leaves the kill password's lock state unchanged
Invalid value
not documented, and we have not measured it. The renderer does not parse this command or validate its arguments. The guide does not state what a printer does with an out-of-range value.
Test coverage
No documented value is exercised by a test (U, L, O, P).
U
Unlock. Requires an access password other than the default 00000000.
L
Lock. Requires an access password other than the default 00000000.
O
Permanently unlock, or open.
P
Permanently lock, or protect.
aAccess passwordoptional · one of a set

^RLM form. Locks or unlocks the access password.

Default
omitted, which leaves the access password's lock state unchanged
Invalid value
not documented, and we have not measured it. The renderer does not parse this command or validate its arguments. The guide does not state what a printer does with an out-of-range value.
Test coverage
No documented value is exercised by a test (U, L, O, P).
U
Unlock. Requires an access password other than the default 00000000.
L
Lock. Requires an access password other than the default 00000000.
O
Permanently unlock, or open.
P
Permanently lock, or protect.
eEPC memory bankoptional · one of a set

^RLM form. Locks or unlocks the EPC memory bank.

Default
omitted, which leaves the EPC bank's lock state unchanged
Invalid value
not documented, and we have not measured it. The renderer does not parse this command or validate its arguments. The guide does not state what a printer does with an out-of-range value.
Test coverage
No documented value is exercised by a test (U, L, O, P).
U
Unlock. Requires an access password other than the default 00000000.
L
Lock. Requires an access password other than the default 00000000.
O
Permanently unlock, or open.
P
Permanently lock, or protect.
uUser memory bankoptional · one of a set

^RLM form. Locks or unlocks the user memory bank.

Default
omitted, which leaves the user bank's lock state unchanged
Invalid value
not documented, and we have not measured it. The renderer does not parse this command or validate its arguments. The guide does not state what a printer does with an out-of-range value.
Test coverage
No documented value is exercised by a test (U, L, O, P).
U
Unlock. Requires an access password other than the default 00000000.
L
Lock. Requires an access password other than the default 00000000.
O
Permanently unlock, or open.
P
Permanently lock, or protect.
sStarting sectionrequired · integer

^RLB form. The first section of user memory to permanently lock. The tag manufacturer sets the section sizes.

Invalid value
not documented, and we have not measured it. The renderer does not parse this command or validate its arguments. The guide does not state what a printer does with an out-of-range value.
Test coverage
nSection countrequired · integer

^RLB form. How many consecutive sections to permanently lock.

Invalid value
not documented, and we have not measured it. The renderer does not parse this command or validate its arguments. The guide does not state what a printer does with an out-of-range value.
Test coverage

Behavior

The access password comes from an earlier ^RF with the S operation. The usual lock and unlock styles need a password other than the factory default 00000000. The tag manufacturer sets the section sizes for the ^RLB form, and the printer does not, so s and n count sections and not bytes or bits.

An omitted ^RLM argument keeps the lock state of that item. ^RLM,,L is therefore the usual form. It locks the access password and changes nothing else. The renderer prints nothing for a lock operation.

Example

Locking the access password on a Gen 2 tag, under a line of text:

^XA
^RLM,,L^FS
^FO50,50^A0N,30,30^FDaccess password locked^FS
^XZ

Open in viewer