Encoding of UHFRFID When Printing

M Marius Celliers 3 years 7 months ago
17 1 0

Hi.
I see that the page link to RFID ENCODING GUIDES is not working.
https://developer.zebra.com/community/technologies/printers
I need to develop an app that can print a serial number and encode the EPC section in a Gen2 Tag at the same time.
Is there any sample code for this? I am using a Zebra ZD500R

Please Register or Login to post a reply

1 Replies

M Marius Celliers

Ok So I've Downloaded the Zebra SDK nuGet package to My C# Application and created a helper class to encapsulate all the Functions of the Printer.
I can Communicate with the printer via USB/Network and create a connection to the printer. I am using a mix of ZPL ( For the Label Layout ) and SGD commands.
I have an issue with the SGD commands when doing a read on the ZD500R.
I use the following commands :
try
{
SGD.SET("rfid.tag.read.content", "epc", PrinterConn); // Set The Content for EPC
SGD.SET("rfid.tag.read.execute", "", PrinterConn); // Execute the operation
EpcValue = SGD.GET("rfid.tag.read.result_line1", PrinterConn); // Read the Contents
}
When I Read the EPC, the It Sometimes doe not work. When U use the read Function on the Printer display it works. Thereafter, the SGD command works again on the same tag.
Should I rather stay away from SGD commands and only use ZPL?
Also Does the Printer know when it could not write correctly to the Label? Or should I do a Read to confirm.
I would like to ensure that the Label has programmed correctly before i start to print on it.

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