Zebra Technologies EM220II Printer User Manual


 
EM220II
Rev. 1.00
- 33 -
Mobile Printer
iOS SDK API Reference Guide
[Discussion]
Response carries unallocated NSData *data, and NSData object is allocated inside the
method.
The response is auto release one and users do not have to release it explicitly.
[Availability]
SDK 1.0.0 and later
5-3-24 msrReadFullTrack
Read entire MSR data. It is MSR read mode. If BXLMSR_DATAEMPTY is returned, card
is not read in MSR. Scan the card with MSR again or use the msrReadCancel method to
cancel the read mode.
[Function prototype]
- (long)msrReadFullTrack:(NSData **)response
[Parameters]
response
MSR Data Track value
[Return Value]
Refer to 2-16 Result Code
[Discussion]
Response carries unallocated NSData *data, and NSData object is allocated inside the
method. The response is auto release one and users do not have to release it explicitly.
[Availability]
SDK 1.0.0 and later
5-3-25 directIO
Send or read user defined data.
[Function prototype]
- (long)directIO:(NSData *)request
response:(NSData **)response
[Parameters]
request
Data to be sent to printer, ANSI CODE data
response
response sent from printer is returned
[Return Value]
Refer to 2-16 Result Code
[Availability]
SDK 1.0.0 and later