跳至主內容

搜尋

搜尋

Rfid Tid

評論

3 條評論

  • Avatar
    Domingo Rodriguez
    版主

    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
    Jose Adam Flores Sr.

    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
    版主

    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. 

     

    0

登入寫評論。