EM220II
Rev. 1.00
- 2 -
Mobile Printer
iOS SDK API Reference Guide
Table of Contents
1. Manual Information ...................................................................................................................................... 7
1-1 Supported Platform & Development Environment ................................................................................... 7
1-2 Supported Platform & Supported Devices ............................................................................................... 7
1-3 Supported Properties List ........................................................................................................................ 7
1-4 Supported Properties List ........................................................................................................................ 8
2. Constant Definition ...................................................................................................................................... 9
2-1 Character Set ........................................................................................................................................... 9
2-2 International Character Set .................................................................................................................... 10
2-3 Barcode/Image/Text Alignment .............................................................................................................. 10
2-4 Text Size................................................................................................................................................. 10
2-5 Text Attribute ........................................................................................................................................... 11
2-6 Bar Code Text Position ........................................................................................................................... 11
2-7 Bar Code Symbology ............................................................................................................................. 12
2-8 Image Width ........................................................................................................................................... 12
2-9 Power ..................................................................................................................................................... 13
2-10 State ..................................................................................................................................................... 13
2-11 Connection Control .............................................................................................................................. 13
2-12 Drawer kick-out connector pin ............................................................................................................. 14
2-13 Drawer open level ................................................................................................................................ 14
2-14 Model ID ............................................................................................................................................... 14
2-15 Connection Class ................................................................................................................................. 14
2-16 Result Code ......................................................................................................................................... 15
3. BXBarcode Class Reference .................................................................................................................... 17
3-1 Overview ................................................................................................................................................ 17
3-2 Properties ............................................................................................................................................... 17
3-2-1 barNumber ............................................................................................................................... 17
3-2-2 name ........................................................................................................................................ 17
3-2-3 support ..................................................................................................................................... 17
4. BXPrinter Class Reference ....................................................................................................................... 18
4-1 Overview ................................................................................................................................................ 18
4-2 Properties ............................................................................................................................................... 18
4-2-1 name ........................................................................................................................................ 18
4-2-2 address .................................................................................................................................... 18
4-2-3 port ........................................................................................................................................... 18
4-2-4 modelStr ................................................................................................................................... 19
4-2-5 versionStr ................................................................................................................................. 19
4-2-6 macAddress ............................................................................................................................. 19
4-2-7 connectionClass ...................................................................................................................... 19
5. BXPrinterController Class Reference ...................................................................................................... 20
5-1 Overview ................................................................................................................................................ 20
5-2 Properties ............................................................................................................................................... 20
5-2-1 version ..................................................................................................................................... 20
5-2-2 delegate ................................................................................................................................... 20
5-2-3 target ........................................................................................................................................ 20
5-2-4 lookupDuration ......................................................................................................................... 21
5-2-5 lookupCount ............................................................................................................................. 21
5-2-6 alignment ................................................................................................................................. 21
5-2-7 attribute .................................................................................................................................... 21
5-2-8 textSize .................................................................................................................................... 22
5-2-9 characterSet............................................................................................................................. 22
5-2-10 internationalCharacterSet ...................................................................................................... 22
5-2-11 textEncoding .......................................................................................................................... 22
5-2-12 state ....................................................................................................................................... 23
5-2-13 power ..................................................................................................................................... 23