Get TID into SGTIN96 string

// Expert user has replied. //Solved
S St Th 1 year ago
134 2 0

Hello,
I'm trying to get the TID into the SGTIN96 since we don't have our own serial number.

If I enter the number firmly into the ^FD, it works, but in the ^FD it doesn't resolve any other commands.

How do I do this so that each label has its own serial number, even with multiple copies?

I pass the data from List&Label through the driver.
Do I need a stored format in the printer that I call or can it be done in one call?

What does the code have to look like for this?

Does the new ^FE command mentioned in the latest firmware help?


Best regards
Stefan

My try:

"${^RU" + chr$(13) + "^FN1^FH\^CI28^FD#S^FS^CI27" + chr$(13) + "^RB96,8,3,3,24,20,38^FS" + chr$(13) + "^RFW,E^FD48,1,5," + Left$(@MyBarcode,7,False) + "," + Right$(@MyBarcode,6,False) + "," + "^FN1^FS}$"

Please Register or Login to post a reply

Accepted Solution

S St Th

Hello, 

so after a lot of attempts I think it should now work so that you can integrate the TID as a serial number into the SGTIN-96:

"${^SLT" + chr$(13) +"^RB96,8,3,3,24,20,38^FS" + chr$(13) + "^RFW,E^RU^FH\^CI28^FD48,1,5," + Left$(@MeinBarcode,7,False) + "," + Right$(@MeinBarcode,6,False) + ",#S^CI27^FS}$"

 

Best regards
Stefan

2 Replies

S Steven Si

Here is an example ZPL to read the TID from the tag, create a serial number based on the tag type, write serial number to the 96-bit EPC field, and print the serial number (in hex format) on
the label. Copied from the RFID Programming Guide 3.

^XA
^RU
^FO10,10^A0N,50,50^FDSerial Number: #H^FS
^RFW,H^FD12#H^FS
^XZ
S St Th

Hello, 

so after a lot of attempts I think it should now work so that you can integrate the TID as a serial number into the SGTIN-96:

"${^SLT" + chr$(13) +"^RB96,8,3,3,24,20,38^FS" + chr$(13) + "^RFW,E^RU^FH\^CI28^FD48,1,5," + Left$(@MeinBarcode,7,False) + "," + Right$(@MeinBarcode,6,False) + ",#S^CI27^FS}$"

 

Best regards
Stefan

CONTACT
Can’t find what you’re looking for?