EM220II
Rev. 1.00
- 27 -
Mobile Printer
iOS SDK API Reference Guide
5-3-9 isConnected
Returns the connection state of the printer.
[Return Value]
TRUE if the printer is connected.
FALSE if the printer is not connected.
[Function prototype]
- (BOOL)isConnected
[Availability]
SDK 1.0.0 and later
5-3-10 enableLSB
Enable to Last status back.
[Function prototype]
- (long)enableLSB:(BOOL)bEnable
[Parameters]
bEnable
LSB Enable.
FALSE : LSB Disable
TRUE : LSB Enable
[Return Value]
Refer to 2-16 Result Code
[Availability]
SDK 1.0.0 and later
5-3-11 printText
Print text.
No operation takes place when there is no connected printer.
[Function prototype]
- (long)printText:(NSString *)string
[Parameters]
string
Unicode data with null terminator. Print target text string
[Return Value]
Refer to 2-16 Result Code
[Discussion]
Tex alignment property should be set in advance.
[Availability]
SDK 1.0.0 and later