Rfid Tid フォローする

1
Avatar
Legacy Poster

We are expecting to read the chip TID during the printing process. We are calling the printing function using a .NET function, but we havent found any optioin to read the TID. Does anybody knows any alternative to achieve this? 

3 コメント

0
Avatar
Domingo Rodriguez
モデレータ
コメントアクション Permalink

Is it the unique tag ID you're looking to read out from the RFID chip? If yes, this feature isn't directly supported yet by BarTender, but I might have a workaround to suggest to you once you confirm to me it is the unique tag ID you're after.

0
Avatar
Adam Flores Sr
コメントアクション Permalink

Yes That is what I am trying to read, the Unique Tag ID,

Then I would like to append it as a Serial number to the EPC Gen2 Number (MFG) & (ITEMID) and Serial Number Coming from the TID

 

Thank you,

Adam Flores Sr.

 

0
Avatar
Domingo Rodriguez
モデレータ
コメントアクション Permalink

Hello Adam,

BarTender is supplied with a .NET SDK in the Automation Editions of BarTender. I was thinking on making use of a particular method which forms part of the Print Engine API. The method I was thinking on was Printer.ExecuteQueryAndWait().

An example on how this method can be used can be found on the below C# example:

 

 

public void Demo()
{
   // Create a Printer object based on an installed printer's name.
   Printer printer = new Printer("Zebra 140XiIII Plus");

   // Create a query that will be used to request the desired information 
   // according to the printer's programming manual. In this case we'll 
   // request a printer head diagnostic.
   PrinterQueryCommand queryCommand = new PrinterQueryCommand("~HD");

   // Execute the query and wait until it completes.
   PrinterQueryResult result = printer.ExecuteQueryAndWait(queryCommand);

   // Report the query results
   if (result.Succeeded)
   {
      Console.WriteLine(result.ResponseText);
   }
   else
   {
      Console.WriteLine("Query failed.");
   }
}

 

 

However, I'm not sure if this method can be used at all in order to retrieve the current Unique Tag ID, as in the first place the printer would need to support this feature via printer commands. 

 

ログインしてコメントを残してください。