Skip to command documentation
Device onlyrfiddevicesession scope
^RF

Read or Write RFID Format

^RF configures read or Write RFID Format. It applies to the printer session and subsequent formats and controls printer hardware or connectivity rather than label pixels.

ZPLr compatibility note

  • Recognized by the renderer but has no label-raster effect.

These are code examples only. This printer or session command does not produce a standalone label image.

Syntax
^RFo,f,b,n,m
o

Operation

Sets operation. It can be omitted when the documented default is suitable.

Default
W
Required
No
Documented valuesWLLOCKRPS

o variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

o = W

Uses W for operation while the other command values stay at representative defaults.

ZPLcaret-rf-o-1.zpl
^RFW,H,0,1,E

o = L

Uses L for operation while the other command values stay at representative defaults.

ZPLcaret-rf-o-2.zpl
^RFL,H,0,1,E

o = S

Uses S for operation while the other command values stay at representative defaults.

ZPLcaret-rf-o-3.zpl
^RFS,H,0,1,E
f

Format

Sets format. It can be omitted when the documented default is suitable.

Default
H
Required
No
Documented valuesHAEEPC

f variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

f = A

Uses A for format while the other command values stay at representative defaults.

ZPLcaret-rf-f-1.zpl
^RFW,A,0,1,E

f = H

Uses H for format while the other command values stay at representative defaults.

ZPLcaret-rf-f-2.zpl
^RFW,H,0,1,E

f = EPC

Uses EPC for format while the other command values stay at representative defaults.

ZPLcaret-rf-f-3.zpl
^RFW,EPC,0,1,E
b

Password or starting block number

Sets password or starting block number. It can be omitted when the documented default is suitable.

Default
0 R
Required
No
Documented values0EA

b variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

b = 0

Uses 0 for password or starting block number while the other command values stay at representative defaults.

ZPLcaret-rf-b-1.zpl
^RFW,H,0,1,E

b = E

Uses E for password or starting block number while the other command values stay at representative defaults.

ZPLcaret-rf-b-2.zpl
^RFW,H,E,1,E
n

Number of bytes to read or write

Sets number of bytes to read or write. It can be omitted when the documented default is suitable.

Default
1 For Gen 2 tag type only: When E or A is specified for the memory bank parameter, this value is not
Required
No
Documented values1

n variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

n = 1

Uses 1 for number of bytes to read or write while the other command values stay at representative defaults.

ZPLcaret-rf-n-1.zpl
^RFW,H,0,1,E

n = 2

Uses 2 for number of bytes to read or write while the other command values stay at representative defaults.

ZPLcaret-rf-n-2.zpl
^RFW,H,0,2,E
m

Gen 2 memory bank

Sets gen 2 memory bank. It can be omitted when the documented default is suitable.

Default
E
Required
No
Documented valuesEA0123TID

m variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

m = E

Uses E for gen 2 memory bank while the other command values stay at representative defaults.

ZPLcaret-rf-m-1.zpl
^RFW,H,0,1,E

m = A

Uses A for gen 2 memory bank while the other command values stay at representative defaults.

ZPLcaret-rf-m-2.zpl
^RFW,H,0,1,A

m = TID

Uses TID for gen 2 memory bank while the other command values stay at representative defaults.

ZPLcaret-rf-m-3.zpl
^RFW,H,0,1,TID

Primary source

Official Zebra reference

Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.

Open Zebra documentation

ZPLr Command Reference

Independent documentation for the pinned ZPL II 2025 renderer profile. Examples run locally in your browser.

ZPL, ZPL II, Zebra, and Zebra Programming Language are trademarks or registered trademarks of Zebra Technologies Corp. ZPLr is independent and is not affiliated with or endorsed by Zebra Technologies Corp.