Printronix T5000 Printer User Manual


 
Chapter 3 RFID PGL Commands
58
Read Tag
Read Tag is not a command, but an element of the ALPHA and
BARCODE commands. See Alphanumericsand Bar Codesin
the
IGP/PGL Programmers Reference Manual
for more
information.
Purpose Embed RFID data into an ALPHA or BARCODE data
field.
Format <RDI>
position,length[,format];
<RDI> The RFID Data Indicator character, as
defined by the RFREAD parameter in the
ALPHA or BARCODE commands. See
the ALPHA and/or BARCODE command
description for details.
position
The decimal number that specifies the
starting position of the data inside the
transponder.
length
The decimal number that specifies the
length of the data to be read.
format
Replace the optional
format
parameter
with any non-zero number to convert the
data to hexadecimal format.
Example
Write tag contents, then read and insert the tag contents into an
ALPHA field.
~CREATE;READTAG
// Create the READTAG form.
RFWRITE;AT1;*HELLOTAG*
// Program the string HELLOTAGinto the tag
ALPHA
// The following ALPHA element is defined below:
RFREAD@;AF1;27;3;5;0;0
// RFID Data Indicator character is @.
// Dynamic field number of this ALPHA element is 1.
STOP
// Terminate the ALPHA element definition.