Hi, Need Help
Currently Working on Zebra ZT411 Printer, I need help on RFID command that only reads the TID without feeding the label,I am using Zebra.Printer.SDK Below is C# Code
string readCommand = "^XA" +
"^RFR,H,0,12,2^FN1^FS^HV1,,Tag ID Data:^FS" +
"^XZ";
byte[] readTIDByte = Encoding.UTF8.GetBytes(readCommand);
connection.Write(readTIDByte);
System.Threading.Thread.Sleep(500);
byte[] response = connection.Read();
string result = Encoding.UTF8.GetString(response);
After Execute of connection.Write(readTIDByte); Statement ,Printer feeding the Label and response data will be null
1 Replies
When using the ZPL for the RFID read, the printer will feed one RFID tag at the end of the execution. This is because the ZPL (^XA....^XZ) also represents a label. If we only want to read the RFID without feeding an RFID tag, we have to use the RFID SGD commands, e.g., a few sample commands below. Please refer to the RFID Programming Guide 3 for details.