Zebra Technologies R402 User Manual

Page 39

Advertising
background image

^RT – Read Tag (continued)

Example: This reads a block from a tag, and prints it on a label:

^XA

^FO20,120^A0N,60^FN1^FS

^FO20,100^A0N,20^FN2^FS

^RT1,0,7,3,0,5,0,0^FS

^RT2,0,2,2,0,5,0,0^FS

^XZ

The first ^RT command automatically detects the tag type, starting at block
7, reads three blocks of data in ASCII format. It will retry the command 5
times if necessary. A “void” label will be generated if the read is
unsuccessful after ‘r’ retries. The data read will go into the ^FN1 location
of the recalled format.

The second ^RT command automatically detects the tag type, string at
block 2, reads two blocks of data in ASCII format. It retries up to 5 times.
The data read will go into the ^FN2 location of the recalled format.

The data can be sent back to the host via the ^HV command.

Advertising