Printronix SL5000e User Manual

Page 34

Advertising
background image

Chapter 2

RFID PGL Commands

34

Example 1

This example requests the printer to send to the host
the content of the RFID tag, in hexadecimal format,
both before and after the RFWTAG command writes
data to the tag. Also, the label is not moved.

~CREATE;VERIFY;432;NOMOTION
RFRTAG;64
64;DF1;H
STOP
VERIFY;DF1;H;*TagBefore=*
RFWTAG; 64
2;B;*01*
6;D;*29*
24;H;*466958*
17;H;*ABC*
15;D;*1234*
STOP
RFRTAG;64
64;DF2;H
STOP
VERIFY;DF2;H;*TagAfter=*
END
~EXECUTE;VERIFY;1
~NORMAL

TagBefore=A5A500005D055E04

<== Whatever data inside
the tag before

TagAfter=5D466958055E04D2

<== Should match with
RFWTAG command

Example 2

This example reads a roll of 1500 pre-programmed
smart labels.

~CREATE;READONLY;432
RFRTAG;64
64;DF1;H
STOP
VERIFY;DF1;H;**
END

Advertising