Zebra Technologies EM220II Printer User Manual


 
EM220II
Rev. 1.00
- 44 -
Mobile Printer
iOS SDK API Reference Guide
6-2-9 didBeBrokenConnection
This method is called when the connection to printer is broken.
[Function prototype]
- (void)didBeBrokenConnection:(BXPrinterController *)controller
withError:(NSError *)error
[Parameters]
controller
BXPrinterController object that generates events
error
Information of cause of failure
[Discussion]
This is not called when user breaks the connection by calling the close method of
BXPrinterController explicitly. This method is called only when the connection is
interrupted by external problem other than user intervention.
Refer to the target property of BXPrinterController for the information of target printer.
[Availability]
SDK 1.0.0 and later
6-2-10 msrArrived
This method is called when MSR data arrives correctly in MSR Read mode.
[Function prototype]
- (void)msrArrived:(BXPrinterController *)controller
track:(NSNumber *)track
[Parameters]
controller
BXPrinterController object that generates events
track
Track number 1 ~ 3 for MSR data
[Discussion]
After this method is called, the MSR data of the corresponding track can be obtained
through the getTrack: method of BXPrinterController.
[Availability]
SDK 1.0.0 and later