Zebra Technologies EM220II Printer User Manual


 
EM220II
Rev. 1.00
- 42 -
Mobile Printer
iOS SDK API Reference Guide
6-2-3 didFindPrinter
This method is called for each individual printer when a printer is discovered from the
same network.
[Function prototype]
- (void)didFindPrinter:(BXPrinterController *)controller
printer:(BXPrinter *)printer
[Parameters]
controller
BXPrinterController object that generates events
printer
Information of discovered printer
[Discussion]
If same printer responds multiple time during the printer lookup process, this method is
called only once the first time.
[Availability]
SDK 1.0.0 and late
6-2-4 didConnect
This method is called when connection to printer finished.
[Function prototype]
- (void)didConnect:(BXPrinterController *)controller
[Discussion]
If you need to have more information about target printers, please refer to target
properties in BXPrinterController.
[Availability]
SDK 1.0.0 and later
6-2-5 didNotConnect
This method is called when connection to printer cannot be made.
[Function prototype]
- (void)didNotConnect:(BXPrinterController *)controller
withError:(NSError *)error
[Parameters]
controller
BXPrinterController object that generates events
error
Information of cause of failure
[Discussion]
This can be used when there is error during printer connection stage.
[Availability]
SDK 1.0.0 and later