Zebra Technologies R2844-Z User Manual

Page 47

Advertising
background image

^RT – Read Tag (continued)

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

^XA

^RS1,0^FS

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

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

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

^RT2,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, starting at
block 2, and 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.

You can send data back to the host with the Host Verification command
(^HV). Refer to the ZPL II manual to learn about this command.

980476-001A

39

Advertising