Plain English

Reads or writes the Application Family Identifier (AFI) byte on an RFID tag. AFI categorises what the tag is used for (retail, transport, healthcare, etc.).

When to use

When your application needs to set the AFI to identify the tag's purpose — common in library and retail EAS systems.

Syntax

^RAo,f

Parameters

ParameterDescription
oOperation: W (write), R (read)
fFormat: H (hex), A (ASCII)

Example

^XA
^RAW,H^FD07^FS
^XZ

Set AFI to 07 (retail trade)

Try it in the playground View all ZPL commands