beautypg.com

Printronix SL5000r MP User Manual

Page 62

background image

Chapter 2

RFID PPI/ZGL Commands

62

^WT0^FH^FD_87_D0_03_45_67_AB_CD_EF^FS

//Write Tag with data = “87D0034567ABCDEF”
//(hex format).

^RT1,0,1,1^FS

//Read Tag into data element 1, 8–byte (16 characters)
//long (hex format).

^FO100,100^A0N,60^FN1^FS

//Print data in element 1.

^XZ

//End and print label.

Example 2

Same as Example 1, except an alternative PPI/ZGL
syntax that does not require underscores between the
hex characters is used.

^XA

//Begin ZPL form.

^WT0,,,,1FDN^FD87D0034567ABCDEF^FS

//Write Tag with data = “87D0034567ABCDEF”
//(hex format).

^RT1,0,1,1^FS

//Read Tag into data element 1, 8–byte (16 characters)
//long (hex format).

^FO100,100^A0N,60^FN1^FS

//Print data in element 1.

^XZ

//End and print label.

Example 3

This example uses the ^RF command to write and read
the tag.

^XA

//Begin ZPL form.

^RFW,H,0^FD31323334^FS

//Write tag data 31323334 in hex.

^FO100,100^A0N,60,60^FN1^FS

//Print tag data in FN1.