Printronix SL5000e Benutzerhandbuch

Seite von 52
PPI1 EPC Programming Examples
43
PPI1 EPC Programming Examples
IMPORTANT
For all examples make sure Label Length in the QUICK SETUP 
menu matches the physical length of the installed media.
Example 1
This programming example programs data into an 
RFID tag and prints the encodation onto a smart label.
^XA
//Begin ZPL form.
^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 PPI1 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.