Read Tag without printing

// Expert user has replied.
S Sonu Kapoor 3 years 7 months ago
29 2 0

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:

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.
Do you have an example on how to read using your iOS SDK?

 
Thanks

Please Register or Login to post a reply

2 Replies

S Sonu Kapoor

Anybody?

M Manuel Caicedo-Rivera

We have developed some pieces of ZPL code for this particular use case. The below ZPL code would allow you to encode a tag and receive back a response with the code for saving it a database.

^XA^MMP^LS0 ^BY3,3,123^FT83,160^B3N,N,,Y,N^FDA11115J^FS ^WVN^RFW,H,1,14,1^FD300030543101DC6823901977360D^FS ^RU ^FN1^FDSerial Number: #Q^FS ^FH^HV1,44,,_0D_0A,L^FS ^PQ1,0,1,Y^XZ

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