Read Tag without printing

Hi,

 

I see that there is a way to read the current tag and print the output to a label using the below ZPL.

 

^XA

^RB96,8,3,3,20,24,38^FS

^FO50,50^A0N,40^FN0^FS

^FN0^RFR,E^FS

^XZ

Two questions:

  1. Is there a way to read it through the SDK without printing it? The reason I am asking is, I need to encode and print on the tag. Before encoding though I need to know what the current data is on the tag. After that I can print.
  2. Do you have an example on how to read using your iOS SDK?

 

Thanks