@munchi_oy/react-native-epson-printer 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +223 -0
- package/android/build.gradle +34 -0
- package/android/consumer-rules.pro +0 -0
- package/android/libs/ePOS2.jar +0 -0
- package/android/src/main/AndroidManifest.xml +17 -0
- package/android/src/main/java/com/munchiepsonprinter/MunchiEpsonModule.java +1212 -0
- package/android/src/main/java/com/munchiepsonprinter/MunchiPrinterPackage.java +24 -0
- package/android/src/main/jniLibs/arm64-v8a/libepos2.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libepos2.so +0 -0
- package/android/src/main/jniLibs/x86/libepos2.so +0 -0
- package/android/src/main/jniLibs/x86_64/libepos2.so +0 -0
- package/dist/config.d.ts +14 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/epson/constants.d.ts +124 -0
- package/dist/epson/constants.d.ts.map +1 -0
- package/dist/epson/discovery.d.ts +14 -0
- package/dist/epson/discovery.d.ts.map +1 -0
- package/dist/epson/driver.d.ts +26 -0
- package/dist/epson/driver.d.ts.map +1 -0
- package/dist/epson/errors.d.ts +8 -0
- package/dist/epson/errors.d.ts.map +1 -0
- package/dist/epson/eventRouter.d.ts +23 -0
- package/dist/epson/eventRouter.d.ts.map +1 -0
- package/dist/epson/mapper.d.ts +22 -0
- package/dist/epson/mapper.d.ts.map +1 -0
- package/dist/epson/modelUtils.d.ts +16 -0
- package/dist/epson/modelUtils.d.ts.map +1 -0
- package/dist/epson/native.d.ts +21 -0
- package/dist/epson/native.d.ts.map +1 -0
- package/dist/epson/payloadMapper.d.ts +7 -0
- package/dist/epson/payloadMapper.d.ts.map +1 -0
- package/dist/epson/queueController.d.ts +15 -0
- package/dist/epson/queueController.d.ts.map +1 -0
- package/dist/epson/recoveryController.d.ts +15 -0
- package/dist/epson/recoveryController.d.ts.map +1 -0
- package/dist/epson/sessionManager.d.ts +11 -0
- package/dist/epson/sessionManager.d.ts.map +1 -0
- package/dist/errorResolver.d.ts +15 -0
- package/dist/errorResolver.d.ts.map +1 -0
- package/dist/errors.d.ts +23 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.mjs +11 -0
- package/dist/react/PrinterProvider.d.ts +19 -0
- package/dist/react/PrinterProvider.d.ts.map +1 -0
- package/dist/react/usePrinterStatus.d.ts +12 -0
- package/dist/react/usePrinterStatus.d.ts.map +1 -0
- package/dist/types.d.ts +123 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/errorUtils.d.ts +3 -0
- package/dist/utils/errorUtils.d.ts.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/ios/MunchiPrinter-Bridging-Header.h +4 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/Info.plist +48 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/_CodeSignature/CodeRequirements +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/_CodeSignature/CodeResources +398 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/dSYMs/libepos2.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/dSYMs/libepos2.framework.dSYM/Contents/Resources/DWARF/libepos2 +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/dSYMs/libepos2.framework.dSYM/Contents/Resources/Relocations/aarch64/libepos2.yml +5177 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/libepos2.framework/Headers/ePOS2.h +1809 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/libepos2.framework/Headers/libepos2.h +13 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/libepos2.framework/Info.plist +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/libepos2.framework/Modules/module.modulemap +6 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/libepos2.framework/PrivacyInfo.xcprivacy +31 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64/libepos2.framework/libepos2 +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/dSYMs/libepos2.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/dSYMs/libepos2.framework.dSYM/Contents/Resources/DWARF/libepos2 +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/dSYMs/libepos2.framework.dSYM/Contents/Resources/Relocations/aarch64/libepos2.yml +5177 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/dSYMs/libepos2.framework.dSYM/Contents/Resources/Relocations/x86_64/libepos2.yml +5062 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/libepos2.framework/Headers/ePOS2.h +1809 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/libepos2.framework/Headers/libepos2.h +13 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/libepos2.framework/Info.plist +0 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/libepos2.framework/Modules/module.modulemap +6 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/libepos2.framework/PrivacyInfo.xcprivacy +31 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/libepos2.framework/_CodeSignature/CodeResources +146 -0
- package/ios/Vendors/Epson/Frameworks/libepos2.xcframework/ios-arm64_x86_64-simulator/libepos2.framework/libepos2 +0 -0
- package/ios/Vendors/Epson/MunchiEpsonModule.m +35 -0
- package/ios/Vendors/Epson/MunchiEpsonModule.swift +455 -0
- package/munchi-printer.podspec +22 -0
- package/package.json +59 -0
- package/react-native.config.js +12 -0
|
@@ -0,0 +1,1809 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright (C) Seiko Epson Corporation 2016 - 2025. All rights reserved.
|
|
3
|
+
//
|
|
4
|
+
// ePOS SDK Ver.2.36.0
|
|
5
|
+
|
|
6
|
+
#ifdef __OBJC__
|
|
7
|
+
#import <Foundation/Foundation.h>
|
|
8
|
+
#import <UIKit/UIKit.h>
|
|
9
|
+
#endif /*__OBJC__*/
|
|
10
|
+
|
|
11
|
+
#define EPOS2_FALSE (0)
|
|
12
|
+
#define EPOS2_TRUE (1)
|
|
13
|
+
#define EPOS2_PARAM_UNSPECIFIED (-1)
|
|
14
|
+
#define EPOS2_PARAM_DEFAULT (-2)
|
|
15
|
+
#define EPOS2_UNKNOWN (-3)
|
|
16
|
+
#define EPOS2_PARAM_UNUSE (-4)
|
|
17
|
+
|
|
18
|
+
// virtual keycode
|
|
19
|
+
#define EPOS2_VK_BACK (0x08)
|
|
20
|
+
#define EPOS2_VK_TAB (0x09)
|
|
21
|
+
#define EPOS2_VK_RETURN (0x0D)
|
|
22
|
+
#define EPOS2_VK_SHIFT (0x10)
|
|
23
|
+
#define EPOS2_VK_CONTROL (0x11)
|
|
24
|
+
#define EPOS2_VK_MENU (0x12)
|
|
25
|
+
#define EPOS2_VK_CAPITAL (0x14)
|
|
26
|
+
#define EPOS2_VK_ESCAPE (0x1B)
|
|
27
|
+
#define EPOS2_VK_CONVERT (0x1C)
|
|
28
|
+
#define EPOS2_VK_NONCONVERT (0x1D)
|
|
29
|
+
#define EPOS2_VK_SPACE (0x20)
|
|
30
|
+
#define EPOS2_VK_PRIOR (0x21)
|
|
31
|
+
#define EPOS2_VK_NEXT (0x22)
|
|
32
|
+
#define EPOS2_VK_END (0x23)
|
|
33
|
+
#define EPOS2_VK_HOME (0x24)
|
|
34
|
+
#define EPOS2_VK_LEFT (0x25)
|
|
35
|
+
#define EPOS2_VK_UP (0x26)
|
|
36
|
+
#define EPOS2_VK_RIGHT (0x27)
|
|
37
|
+
#define EPOS2_VK_DOWN (0x28)
|
|
38
|
+
#define EPOS2_VK_INSERT (0x2D)
|
|
39
|
+
#define EPOS2_VK_DELETE (0x2E)
|
|
40
|
+
#define EPOS2_VK_0 (0x30)
|
|
41
|
+
#define EPOS2_VK_1 (0x31)
|
|
42
|
+
#define EPOS2_VK_2 (0x32)
|
|
43
|
+
#define EPOS2_VK_3 (0x33)
|
|
44
|
+
#define EPOS2_VK_4 (0x34)
|
|
45
|
+
#define EPOS2_VK_5 (0x35)
|
|
46
|
+
#define EPOS2_VK_6 (0x36)
|
|
47
|
+
#define EPOS2_VK_7 (0x37)
|
|
48
|
+
#define EPOS2_VK_8 (0x38)
|
|
49
|
+
#define EPOS2_VK_9 (0x39)
|
|
50
|
+
#define EPOS2_VK_A (0x41)
|
|
51
|
+
#define EPOS2_VK_B (0x42)
|
|
52
|
+
#define EPOS2_VK_C (0x43)
|
|
53
|
+
#define EPOS2_VK_D (0x44)
|
|
54
|
+
#define EPOS2_VK_E (0x45)
|
|
55
|
+
#define EPOS2_VK_F (0x46)
|
|
56
|
+
#define EPOS2_VK_G (0x47)
|
|
57
|
+
#define EPOS2_VK_H (0x48)
|
|
58
|
+
#define EPOS2_VK_I (0x49)
|
|
59
|
+
#define EPOS2_VK_J (0x4A)
|
|
60
|
+
#define EPOS2_VK_K (0x4B)
|
|
61
|
+
#define EPOS2_VK_L (0x4C)
|
|
62
|
+
#define EPOS2_VK_M (0x4D)
|
|
63
|
+
#define EPOS2_VK_N (0x4E)
|
|
64
|
+
#define EPOS2_VK_O (0x4F)
|
|
65
|
+
#define EPOS2_VK_P (0x50)
|
|
66
|
+
#define EPOS2_VK_Q (0x51)
|
|
67
|
+
#define EPOS2_VK_R (0x52)
|
|
68
|
+
#define EPOS2_VK_S (0x53)
|
|
69
|
+
#define EPOS2_VK_T (0x54)
|
|
70
|
+
#define EPOS2_VK_U (0x55)
|
|
71
|
+
#define EPOS2_VK_V (0x56)
|
|
72
|
+
#define EPOS2_VK_W (0x57)
|
|
73
|
+
#define EPOS2_VK_X (0x58)
|
|
74
|
+
#define EPOS2_VK_Y (0x59)
|
|
75
|
+
#define EPOS2_VK_Z (0x5A)
|
|
76
|
+
#define EPOS2_VK_MULTIPLY (0x6A)
|
|
77
|
+
#define EPOS2_VK_ADD (0x6B)
|
|
78
|
+
#define EPOS2_VK_SUBTRACT (0x6D)
|
|
79
|
+
#define EPOS2_VK_F1 (0x70)
|
|
80
|
+
#define EPOS2_VK_F2 (0x71)
|
|
81
|
+
#define EPOS2_VK_F3 (0x72)
|
|
82
|
+
#define EPOS2_VK_F4 (0x73)
|
|
83
|
+
#define EPOS2_VK_F5 (0x74)
|
|
84
|
+
#define EPOS2_VK_F6 (0x75)
|
|
85
|
+
#define EPOS2_VK_F7 (0x76)
|
|
86
|
+
#define EPOS2_VK_F8 (0x77)
|
|
87
|
+
#define EPOS2_VK_F9 (0x78)
|
|
88
|
+
#define EPOS2_VK_F10 (0x79)
|
|
89
|
+
#define EPOS2_VK_F11 (0x7A)
|
|
90
|
+
#define EPOS2_VK_F12 (0x7B)
|
|
91
|
+
#define EPOS2_VK_OEM_1 (0xBA)
|
|
92
|
+
#define EPOS2_VK_OEM_PLUS (0xBB)
|
|
93
|
+
#define EPOS2_VK_OEM_COMMA (0xBC)
|
|
94
|
+
#define EPOS2_VK_OEM_MINUS (0xBD)
|
|
95
|
+
#define EPOS2_VK_OEM_PERIOD (0xBE)
|
|
96
|
+
#define EPOS2_VK_OEM_2 (0xBF)
|
|
97
|
+
#define EPOS2_VK_OEM_3 (0xC0)
|
|
98
|
+
#define EPOS2_VK_OEM_4 (0xDB)
|
|
99
|
+
#define EPOS2_VK_OEM_5 (0xDC)
|
|
100
|
+
#define EPOS2_VK_OEM_6 (0xDD)
|
|
101
|
+
#define EPOS2_VK_OEM_7 (0xDE)
|
|
102
|
+
#define EPOS2_VK_OEM_ATTN (0xF0)
|
|
103
|
+
|
|
104
|
+
/* getCommand option */
|
|
105
|
+
//#define EPOS2_GET_COMMAND_BODY (0x00000000) /* only body command */
|
|
106
|
+
|
|
107
|
+
enum Epos2ErrorStatus : int {
|
|
108
|
+
EPOS2_SUCCESS = 0,
|
|
109
|
+
EPOS2_ERR_PARAM,
|
|
110
|
+
EPOS2_ERR_CONNECT,
|
|
111
|
+
EPOS2_ERR_TIMEOUT,
|
|
112
|
+
EPOS2_ERR_MEMORY,
|
|
113
|
+
EPOS2_ERR_ILLEGAL,
|
|
114
|
+
EPOS2_ERR_PROCESSING,
|
|
115
|
+
EPOS2_ERR_NOT_FOUND,
|
|
116
|
+
EPOS2_ERR_IN_USE,
|
|
117
|
+
EPOS2_ERR_TYPE_INVALID,
|
|
118
|
+
EPOS2_ERR_DISCONNECT,
|
|
119
|
+
EPOS2_ERR_ALREADY_OPENED,
|
|
120
|
+
EPOS2_ERR_ALREADY_USED,
|
|
121
|
+
EPOS2_ERR_BOX_COUNT_OVER,
|
|
122
|
+
EPOS2_ERR_BOX_CLIENT_OVER,
|
|
123
|
+
EPOS2_ERR_UNSUPPORTED,
|
|
124
|
+
EPOS2_ERR_DEVICE_BUSY,
|
|
125
|
+
EPOS2_ERR_RECOVERY_FAILURE,
|
|
126
|
+
EPOS2_ERR_FAILURE = 255
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
enum Epos2CallbackCode : int {
|
|
130
|
+
EPOS2_CODE_SUCCESS = 0,
|
|
131
|
+
EPOS2_CODE_ERR_TIMEOUT,
|
|
132
|
+
EPOS2_CODE_ERR_NOT_FOUND,
|
|
133
|
+
EPOS2_CODE_ERR_AUTORECOVER,
|
|
134
|
+
EPOS2_CODE_ERR_COVER_OPEN,
|
|
135
|
+
EPOS2_CODE_ERR_CUTTER,
|
|
136
|
+
EPOS2_CODE_ERR_MECHANICAL,
|
|
137
|
+
EPOS2_CODE_ERR_EMPTY,
|
|
138
|
+
EPOS2_CODE_ERR_UNRECOVERABLE,
|
|
139
|
+
EPOS2_CODE_ERR_SYSTEM,
|
|
140
|
+
EPOS2_CODE_ERR_PORT,
|
|
141
|
+
EPOS2_CODE_ERR_INVALID_WINDOW,
|
|
142
|
+
EPOS2_CODE_ERR_JOB_NOT_FOUND,
|
|
143
|
+
EPOS2_CODE_PRINTING,
|
|
144
|
+
EPOS2_CODE_ERR_SPOOLER,
|
|
145
|
+
EPOS2_CODE_ERR_BATTERY_LOW,
|
|
146
|
+
EPOS2_CODE_ERR_TOO_MANY_REQUESTS,
|
|
147
|
+
EPOS2_CODE_ERR_REQUEST_ENTITY_TOO_LARGE,
|
|
148
|
+
EPOS2_CODE_CANCELED,
|
|
149
|
+
EPOS2_CODE_ERR_NO_MICR_DATA,
|
|
150
|
+
EPOS2_CODE_ERR_ILLEGAL_LENGTH,
|
|
151
|
+
EPOS2_CODE_ERR_NO_MAGNETIC_DATA,
|
|
152
|
+
EPOS2_CODE_ERR_RECOGNITION,
|
|
153
|
+
EPOS2_CODE_ERR_READ,
|
|
154
|
+
EPOS2_CODE_ERR_NOISE_DETECTED,
|
|
155
|
+
EPOS2_CODE_ERR_PAPER_JAM,
|
|
156
|
+
EPOS2_CODE_ERR_PAPER_PULLED_OUT,
|
|
157
|
+
EPOS2_CODE_ERR_CANCEL_FAILED,
|
|
158
|
+
EPOS2_CODE_ERR_PAPER_TYPE,
|
|
159
|
+
EPOS2_CODE_ERR_WAIT_INSERTION,
|
|
160
|
+
EPOS2_CODE_ERR_ILLEGAL,
|
|
161
|
+
EPOS2_CODE_ERR_INSERTED,
|
|
162
|
+
EPOS2_CODE_ERR_WAIT_REMOVAL,
|
|
163
|
+
EPOS2_CODE_ERR_DEVICE_BUSY,
|
|
164
|
+
EPOS2_CODE_ERR_GET_JSON_SIZE,
|
|
165
|
+
EPOS2_CODE_ERR_IN_USE,
|
|
166
|
+
EPOS2_CODE_ERR_CONNECT,
|
|
167
|
+
EPOS2_CODE_ERR_DISCONNECT,
|
|
168
|
+
EPOS2_CODE_ERR_DIFFERENT_MODEL,
|
|
169
|
+
EPOS2_CODE_ERR_DIFFERENT_VERSION,
|
|
170
|
+
EPOS2_CODE_ERR_MEMORY,
|
|
171
|
+
EPOS2_CODE_ERR_PROCESSING,
|
|
172
|
+
EPOS2_CODE_ERR_DATA_CORRUPTED,
|
|
173
|
+
EPOS2_CODE_ERR_PARAM,
|
|
174
|
+
EPOS2_CODE_RETRY,
|
|
175
|
+
EPOS2_CODE_ERR_RECOVERY_FAILURE,
|
|
176
|
+
EPOS2_CODE_ERR_JSON_FORMAT,
|
|
177
|
+
EPOS2_CODE_NO_PASSWORD,
|
|
178
|
+
EPOS2_CODE_ERR_INVALID_PASSWORD,
|
|
179
|
+
EPOS2_CODE_ERR_INVALID_FIRM_VERSION,
|
|
180
|
+
EPOS2_CODE_ERR_SSL_CERTIFICATION,
|
|
181
|
+
EPOS2_CODE_ERR_FAILURE = 255
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
enum Epos2PrinterSeries : int {
|
|
185
|
+
EPOS2_TM_M10 = 0,
|
|
186
|
+
EPOS2_TM_M30,
|
|
187
|
+
EPOS2_TM_P20,
|
|
188
|
+
EPOS2_TM_P60,
|
|
189
|
+
EPOS2_TM_P60II,
|
|
190
|
+
EPOS2_TM_P80,
|
|
191
|
+
EPOS2_TM_T20,
|
|
192
|
+
EPOS2_TM_T60,
|
|
193
|
+
EPOS2_TM_T70,
|
|
194
|
+
EPOS2_TM_T81,
|
|
195
|
+
EPOS2_TM_T82,
|
|
196
|
+
EPOS2_TM_T83,
|
|
197
|
+
EPOS2_TM_T88,
|
|
198
|
+
EPOS2_TM_T90,
|
|
199
|
+
EPOS2_TM_T90KP,
|
|
200
|
+
EPOS2_TM_U220,
|
|
201
|
+
EPOS2_TM_U330,
|
|
202
|
+
EPOS2_TM_L90,
|
|
203
|
+
EPOS2_TM_H6000,
|
|
204
|
+
EPOS2_TM_T83III,
|
|
205
|
+
EPOS2_TM_T100,
|
|
206
|
+
EPOS2_TM_M30II,
|
|
207
|
+
EPOS2_TS_100,
|
|
208
|
+
EPOS2_TM_M50,
|
|
209
|
+
EPOS2_TM_T88VII,
|
|
210
|
+
EPOS2_TM_L90LFC,
|
|
211
|
+
EPOS2_TM_L100,
|
|
212
|
+
EPOS2_TM_P20II,
|
|
213
|
+
EPOS2_TM_P80II,
|
|
214
|
+
EPOS2_TM_M30III,
|
|
215
|
+
EPOS2_TM_M50II,
|
|
216
|
+
EPOS2_TM_M55,
|
|
217
|
+
EPOS2_TM_U220II,
|
|
218
|
+
EPOS2_SB_H50,
|
|
219
|
+
EPOS2_SB_M30,
|
|
220
|
+
};
|
|
221
|
+
enum Epos2DisplayModel : int {
|
|
222
|
+
EPOS2_DM_D30 = 0,
|
|
223
|
+
EPOS2_DM_D110,
|
|
224
|
+
EPOS2_DM_D210,
|
|
225
|
+
EPOS2_DM_D70,
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
enum Epos2ModelLang : int {
|
|
229
|
+
EPOS2_MODEL_ANK = 0,
|
|
230
|
+
EPOS2_MODEL_JAPANESE,
|
|
231
|
+
EPOS2_MODEL_CHINESE,
|
|
232
|
+
EPOS2_MODEL_TAIWAN,
|
|
233
|
+
EPOS2_MODEL_KOREAN,
|
|
234
|
+
EPOS2_MODEL_THAI,
|
|
235
|
+
EPOS2_MODEL_SOUTHASIA,
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
enum Epos2DeviceModel : int {
|
|
239
|
+
EPOS2_MODEL_ALL = 0,
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
enum Epos2PortType : int {
|
|
243
|
+
EPOS2_PORTTYPE_ALL = 0,
|
|
244
|
+
EPOS2_PORTTYPE_TCP,
|
|
245
|
+
EPOS2_PORTTYPE_BLUETOOTH,
|
|
246
|
+
EPOS2_PORTTYPE_USB,
|
|
247
|
+
EPOS2_PORTTYPE_BLUETOOTH_LE,
|
|
248
|
+
};
|
|
249
|
+
enum Epos2StatusPaper : int {
|
|
250
|
+
EPOS2_PAPER_OK = 0,
|
|
251
|
+
EPOS2_PAPER_NEAR_END,
|
|
252
|
+
EPOS2_PAPER_EMPTY,
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
enum Epos2PanelSwitch : int {
|
|
256
|
+
EPOS2_SWITCH_OFF = 0,
|
|
257
|
+
EPOS2_SWITCH_ON,
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
enum Epos2StatusDrawer : int {
|
|
261
|
+
EPOS2_DRAWER_HIGH = 0,
|
|
262
|
+
EPOS2_DRAWER_LOW,
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
enum Epos2PrinterError : int {
|
|
266
|
+
EPOS2_NO_ERR = 0,
|
|
267
|
+
EPOS2_MECHANICAL_ERR,
|
|
268
|
+
EPOS2_AUTOCUTTER_ERR,
|
|
269
|
+
EPOS2_UNRECOVER_ERR,
|
|
270
|
+
EPOS2_AUTORECOVER_ERR,
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
enum Epos2AutoRecoverError : int {
|
|
274
|
+
EPOS2_HEAD_OVERHEAT = 0,
|
|
275
|
+
EPOS2_MOTOR_OVERHEAT,
|
|
276
|
+
EPOS2_BATTERY_OVERHEAT,
|
|
277
|
+
EPOS2_WRONG_PAPER,
|
|
278
|
+
EPOS2_COVER_OPEN,
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
enum Epos2BatteryLevel : int {
|
|
282
|
+
EPOS2_BATTERY_LEVEL_0 = 0,
|
|
283
|
+
EPOS2_BATTERY_LEVEL_1,
|
|
284
|
+
EPOS2_BATTERY_LEVEL_2,
|
|
285
|
+
EPOS2_BATTERY_LEVEL_3,
|
|
286
|
+
EPOS2_BATTERY_LEVEL_4,
|
|
287
|
+
EPOS2_BATTERY_LEVEL_5,
|
|
288
|
+
EPOS2_BATTERY_LEVEL_6,
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
enum Epos2UnrecoverError : int {
|
|
292
|
+
EPOS2_HIGH_VOLTAGE_ERR,
|
|
293
|
+
EPOS2_LOW_VOLTAGE_ERR,
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
enum Epos2InsertionWaiting : int {
|
|
297
|
+
EPOS2_INSERTION_WAIT_SLIP = 0,
|
|
298
|
+
EPOS2_INSERTION_WAIT_VALIDATION,
|
|
299
|
+
EPOS2_INSERTION_WAIT_MICR,
|
|
300
|
+
EPOS2_INSERTION_WAIT_NONE,
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
enum Epos2RemovalWaiting : int {
|
|
304
|
+
EPOS2_REMOVAL_WAIT_PAPER = 0,
|
|
305
|
+
EPOS2_REMOVAL_WAIT_NONE,
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
enum Epos2PaperTakenSensor : int {
|
|
309
|
+
EPOS2_REMOVAL_DETECT_PAPER = 0,
|
|
310
|
+
EPOS2_REMOVAL_DETECT_PAPER_NONE,
|
|
311
|
+
EPOS2_REMOVAL_DETECT_UNKNOWN
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
enum Epos2WifiSignal : int {
|
|
315
|
+
EPOS2_WIFI_SIGNAL_NO = 0,
|
|
316
|
+
EPOS2_WIFI_SIGNAL_FAIL,
|
|
317
|
+
EPOS2_WIFI_SIGNAL_GOOD,
|
|
318
|
+
EPOS2_WIFI_SIGNAL_EXCELLENT
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
enum Epos2StatusSlipPaper : int {
|
|
322
|
+
EPOS2_SLIP_PAPER_OK = 0,
|
|
323
|
+
EPOS2_SLIP_PAPER_EMPTY,
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
enum Epos2StatusEvent : int {
|
|
327
|
+
EPOS2_EVENT_ONLINE = 0,
|
|
328
|
+
EPOS2_EVENT_OFFLINE,
|
|
329
|
+
EPOS2_EVENT_POWER_OFF,
|
|
330
|
+
EPOS2_EVENT_COVER_CLOSE,
|
|
331
|
+
EPOS2_EVENT_COVER_OPEN,
|
|
332
|
+
EPOS2_EVENT_PAPER_OK,
|
|
333
|
+
EPOS2_EVENT_PAPER_NEAR_END,
|
|
334
|
+
EPOS2_EVENT_PAPER_EMPTY,
|
|
335
|
+
EPOS2_EVENT_DRAWER_HIGH,
|
|
336
|
+
EPOS2_EVENT_DRAWER_LOW,
|
|
337
|
+
EPOS2_EVENT_BATTERY_ENOUGH,
|
|
338
|
+
EPOS2_EVENT_BATTERY_EMPTY,
|
|
339
|
+
EPOS2_EVENT_INSERTION_WAIT_SLIP,
|
|
340
|
+
EPOS2_EVENT_INSERTION_WAIT_VALIDATION,
|
|
341
|
+
EPOS2_EVENT_INSERTION_WAIT_MICR,
|
|
342
|
+
EPOS2_EVENT_INSERTION_WAIT_NONE,
|
|
343
|
+
EPOS2_EVENT_REMOVAL_WAIT_PAPER,
|
|
344
|
+
EPOS2_EVENT_REMOVAL_WAIT_NONE,
|
|
345
|
+
EPOS2_EVENT_SLIP_PAPER_OK,
|
|
346
|
+
EPOS2_EVENT_SLIP_PAPER_EMPTY,
|
|
347
|
+
EPOS2_EVENT_AUTO_RECOVER_ERROR,
|
|
348
|
+
EPOS2_EVENT_AUTO_RECOVER_OK,
|
|
349
|
+
EPOS2_EVENT_UNRECOVERABLE_ERROR,
|
|
350
|
+
EPOS2_EVENT_REMOVAL_DETECT_PAPER,
|
|
351
|
+
EPOS2_EVENT_REMOVAL_DETECT_PAPER_NONE,
|
|
352
|
+
EPOS2_EVENT_REMOVAL_DETECT_UNKOWN,
|
|
353
|
+
};
|
|
354
|
+
|
|
355
|
+
enum Epos2ConnectionEvent : int {
|
|
356
|
+
EPOS2_EVENT_RECONNECTING = 0,
|
|
357
|
+
EPOS2_EVENT_RECONNECT,
|
|
358
|
+
EPOS2_EVENT_DISCONNECT,
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
enum Epos2DeviceType : int {
|
|
362
|
+
EPOS2_TYPE_ALL = 0,
|
|
363
|
+
EPOS2_TYPE_PRINTER,
|
|
364
|
+
EPOS2_TYPE_HYBRID_PRINTER,
|
|
365
|
+
EPOS2_TYPE_DISPLAY,
|
|
366
|
+
EPOS2_TYPE_KEYBOARD,
|
|
367
|
+
EPOS2_TYPE_SCANNER,
|
|
368
|
+
EPOS2_TYPE_SERIAL,
|
|
369
|
+
EPOS2_TYPE_CCHANGER,
|
|
370
|
+
EPOS2_TYPE_POS_KEYBOARD,
|
|
371
|
+
EPOS2_TYPE_CAT,
|
|
372
|
+
EPOS2_TYPE_MSR,
|
|
373
|
+
EPOS2_TYPE_OTHER_PERIPHERAL,
|
|
374
|
+
EPOS2_TYPE_GFE
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
enum Epos2Align : int {
|
|
378
|
+
EPOS2_ALIGN_LEFT = 0,
|
|
379
|
+
EPOS2_ALIGN_CENTER,
|
|
380
|
+
EPOS2_ALIGN_RIGHT
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
enum Epos2Lang : int {
|
|
384
|
+
EPOS2_LANG_EN = 0,
|
|
385
|
+
EPOS2_LANG_JA,
|
|
386
|
+
EPOS2_LANG_ZH_CN,
|
|
387
|
+
EPOS2_LANG_ZH_TW,
|
|
388
|
+
EPOS2_LANG_KO,
|
|
389
|
+
EPOS2_LANG_TH,
|
|
390
|
+
EPOS2_LANG_VI,
|
|
391
|
+
EPOS2_LANG_MULTI
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
enum Epos2Font : int {
|
|
395
|
+
EPOS2_FONT_A = 0,
|
|
396
|
+
EPOS2_FONT_B,
|
|
397
|
+
EPOS2_FONT_C,
|
|
398
|
+
EPOS2_FONT_D,
|
|
399
|
+
EPOS2_FONT_E
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
enum Epos2Color : int {
|
|
403
|
+
EPOS2_COLOR_NONE = 0,
|
|
404
|
+
EPOS2_COLOR_1,
|
|
405
|
+
EPOS2_COLOR_2,
|
|
406
|
+
EPOS2_COLOR_3,
|
|
407
|
+
EPOS2_COLOR_4
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
enum Epos2Mode : int {
|
|
411
|
+
EPOS2_MODE_MONO = 0,
|
|
412
|
+
EPOS2_MODE_GRAY16,
|
|
413
|
+
EPOS2_MODE_MONO_HIGH_DENSITY
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
enum Epos2Halftone : int {
|
|
417
|
+
EPOS2_HALFTONE_DITHER = 0,
|
|
418
|
+
EPOS2_HALFTONE_ERROR_DIFFUSION,
|
|
419
|
+
EPOS2_HALFTONE_THRESHOLD
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
enum Epos2Compress : int {
|
|
423
|
+
EPOS2_COMPRESS_DEFLATE = 0,
|
|
424
|
+
EPOS2_COMPRESS_NONE,
|
|
425
|
+
EPOS2_COMPRESS_AUTO
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
enum Epos2Barcode : int {
|
|
429
|
+
EPOS2_BARCODE_UPC_A = 0,
|
|
430
|
+
EPOS2_BARCODE_UPC_E,
|
|
431
|
+
EPOS2_BARCODE_EAN13,
|
|
432
|
+
EPOS2_BARCODE_JAN13,
|
|
433
|
+
EPOS2_BARCODE_EAN8,
|
|
434
|
+
EPOS2_BARCODE_JAN8,
|
|
435
|
+
EPOS2_BARCODE_CODE39,
|
|
436
|
+
EPOS2_BARCODE_ITF,
|
|
437
|
+
EPOS2_BARCODE_CODABAR,
|
|
438
|
+
EPOS2_BARCODE_CODE93,
|
|
439
|
+
EPOS2_BARCODE_CODE128,
|
|
440
|
+
EPOS2_BARCODE_GS1_128,
|
|
441
|
+
EPOS2_BARCODE_GS1_DATABAR_OMNIDIRECTIONAL,
|
|
442
|
+
EPOS2_BARCODE_GS1_DATABAR_TRUNCATED,
|
|
443
|
+
EPOS2_BARCODE_GS1_DATABAR_LIMITED,
|
|
444
|
+
EPOS2_BARCODE_GS1_DATABAR_EXPANDED,
|
|
445
|
+
EPOS2_BARCODE_CODE128_AUTO
|
|
446
|
+
};
|
|
447
|
+
|
|
448
|
+
enum Epos2Hri : int {
|
|
449
|
+
EPOS2_HRI_NONE = 0,
|
|
450
|
+
EPOS2_HRI_ABOVE,
|
|
451
|
+
EPOS2_HRI_BELOW,
|
|
452
|
+
EPOS2_HRI_BOTH
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
enum Epos2Symbol : int {
|
|
456
|
+
EPOS2_SYMBOL_PDF417_STANDARD = 0,
|
|
457
|
+
EPOS2_SYMBOL_PDF417_TRUNCATED,
|
|
458
|
+
EPOS2_SYMBOL_QRCODE_MODEL_1,
|
|
459
|
+
EPOS2_SYMBOL_QRCODE_MODEL_2,
|
|
460
|
+
EPOS2_SYMBOL_QRCODE_MICRO,
|
|
461
|
+
EPOS2_SYMBOL_MAXICODE_MODE_2,
|
|
462
|
+
EPOS2_SYMBOL_MAXICODE_MODE_3,
|
|
463
|
+
EPOS2_SYMBOL_MAXICODE_MODE_4,
|
|
464
|
+
EPOS2_SYMBOL_MAXICODE_MODE_5,
|
|
465
|
+
EPOS2_SYMBOL_MAXICODE_MODE_6,
|
|
466
|
+
EPOS2_SYMBOL_GS1_DATABAR_STACKED,
|
|
467
|
+
EPOS2_SYMBOL_GS1_DATABAR_STACKED_OMNIDIRECTIONAL,
|
|
468
|
+
EPOS2_SYMBOL_GS1_DATABAR_EXPANDED_STACKED,
|
|
469
|
+
EPOS2_SYMBOL_AZTECCODE_FULLRANGE,
|
|
470
|
+
EPOS2_SYMBOL_AZTECCODE_COMPACT,
|
|
471
|
+
EPOS2_SYMBOL_DATAMATRIX_SQUARE,
|
|
472
|
+
EPOS2_SYMBOL_DATAMATRIX_RECTANGLE_8,
|
|
473
|
+
EPOS2_SYMBOL_DATAMATRIX_RECTANGLE_12,
|
|
474
|
+
EPOS2_SYMBOL_DATAMATRIX_RECTANGLE_16
|
|
475
|
+
};
|
|
476
|
+
|
|
477
|
+
enum Epos2Level : int {
|
|
478
|
+
EPOS2_LEVEL_0 = 0,
|
|
479
|
+
EPOS2_LEVEL_1,
|
|
480
|
+
EPOS2_LEVEL_2,
|
|
481
|
+
EPOS2_LEVEL_3,
|
|
482
|
+
EPOS2_LEVEL_4,
|
|
483
|
+
EPOS2_LEVEL_5,
|
|
484
|
+
EPOS2_LEVEL_6,
|
|
485
|
+
EPOS2_LEVEL_7,
|
|
486
|
+
EPOS2_LEVEL_8,
|
|
487
|
+
EPOS2_LEVEL_L,
|
|
488
|
+
EPOS2_LEVEL_M,
|
|
489
|
+
EPOS2_LEVEL_Q,
|
|
490
|
+
EPOS2_LEVEL_H
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
enum Epos2Line : int {
|
|
494
|
+
EPOS2_LINE_THIN = 0,
|
|
495
|
+
EPOS2_LINE_MEDIUM,
|
|
496
|
+
EPOS2_LINE_THICK,
|
|
497
|
+
EPOS2_LINE_THIN_DOUBLE,
|
|
498
|
+
EPOS2_LINE_MEDIUM_DOUBLE,
|
|
499
|
+
EPOS2_LINE_THICK_DOUBLE
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
enum Epos2Direction : int {
|
|
503
|
+
EPOS2_DIRECTION_LEFT_TO_RIGHT = 0,
|
|
504
|
+
EPOS2_DIRECTION_BOTTOM_TO_TOP,
|
|
505
|
+
EPOS2_DIRECTION_RIGHT_TO_LEFT,
|
|
506
|
+
EPOS2_DIRECTION_TOP_TO_BOTTOM
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
enum Epos2Cut : int {
|
|
510
|
+
EPOS2_CUT_FEED = 0,
|
|
511
|
+
EPOS2_CUT_NO_FEED,
|
|
512
|
+
EPOS2_CUT_RESERVE,
|
|
513
|
+
EPOS2_FULL_CUT_FEED,
|
|
514
|
+
EPOS2_FULL_CUT_NO_FEED,
|
|
515
|
+
EPOS2_FULL_CUT_RESERVE
|
|
516
|
+
};
|
|
517
|
+
|
|
518
|
+
enum Epos2Drawer : int {
|
|
519
|
+
EPOS2_DRAWER_2PIN = 0,
|
|
520
|
+
EPOS2_DRAWER_5PIN
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
enum Epos2Pulse : int {
|
|
524
|
+
EPOS2_PULSE_100 = 0,
|
|
525
|
+
EPOS2_PULSE_200,
|
|
526
|
+
EPOS2_PULSE_300,
|
|
527
|
+
EPOS2_PULSE_400,
|
|
528
|
+
EPOS2_PULSE_500
|
|
529
|
+
};
|
|
530
|
+
|
|
531
|
+
enum Epos2Pattern : int {
|
|
532
|
+
EPOS2_PATTERN_NONE = 0,
|
|
533
|
+
EPOS2_PATTERN_A,
|
|
534
|
+
EPOS2_PATTERN_B,
|
|
535
|
+
EPOS2_PATTERN_C,
|
|
536
|
+
EPOS2_PATTERN_D,
|
|
537
|
+
EPOS2_PATTERN_E,
|
|
538
|
+
EPOS2_PATTERN_ERROR,
|
|
539
|
+
EPOS2_PATTERN_PAPER_EMPTY,
|
|
540
|
+
EPOS2_PATTERN_1,
|
|
541
|
+
EPOS2_PATTERN_2,
|
|
542
|
+
EPOS2_PATTERN_3,
|
|
543
|
+
EPOS2_PATTERN_4,
|
|
544
|
+
EPOS2_PATTERN_5,
|
|
545
|
+
EPOS2_PATTERN_6,
|
|
546
|
+
EPOS2_PATTERN_7,
|
|
547
|
+
EPOS2_PATTERN_8,
|
|
548
|
+
EPOS2_PATTERN_9,
|
|
549
|
+
EPOS2_PATTERN_10
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
enum Epos2FeedPosition : int {
|
|
553
|
+
EPOS2_FEED_PEELING = 0,
|
|
554
|
+
EPOS2_FEED_CUTTING,
|
|
555
|
+
EPOS2_FEED_CURRENT_TOF,
|
|
556
|
+
EPOS2_FEED_NEXT_TOF
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
enum Epos2Layout : int {
|
|
560
|
+
EPOS2_LAYOUT_RECEIPT = 0,
|
|
561
|
+
EPOS2_LAYOUT_RECEIPT_BM,
|
|
562
|
+
EPOS2_LAYOUT_LABEL,
|
|
563
|
+
EPOS2_LAYOUT_LABEL_BM
|
|
564
|
+
};
|
|
565
|
+
|
|
566
|
+
enum Epos2Papertype : int {
|
|
567
|
+
EPOS2_PAPER_TYPE_RECEIPT = 0,
|
|
568
|
+
EPOS2_PAPER_TYPE_SLIP,
|
|
569
|
+
EPOS2_PAPER_TYPE_ENDORSE,
|
|
570
|
+
EPOS2_PAPER_TYPE_VALIDATION
|
|
571
|
+
};
|
|
572
|
+
|
|
573
|
+
enum Epos2MicrFont : int {
|
|
574
|
+
EPOS2_MICR_FONT_E13B = 0,
|
|
575
|
+
EPOS2_MICR_FONT_CMC7
|
|
576
|
+
};
|
|
577
|
+
|
|
578
|
+
enum Epos2HybridPrinterMethod : int {
|
|
579
|
+
EPOS2_METHOD_WAITINSERTION = 0,
|
|
580
|
+
EPOS2_METHOD_SENDDATA,
|
|
581
|
+
EPOS2_METHOD_CANCELINSERTION,
|
|
582
|
+
EPOS2_METHOD_EJECTPAPER,
|
|
583
|
+
EPOS2_METHOD_READMICRDATA,
|
|
584
|
+
EPOS2_METHOD_CLEANMICRREADER
|
|
585
|
+
};
|
|
586
|
+
|
|
587
|
+
enum Epos2Scroll : int {
|
|
588
|
+
EPOS2_SCROLL_OVERWRITE = 0,
|
|
589
|
+
EPOS2_SCROLL_VERTICAL,
|
|
590
|
+
EPOS2_SCROLL_HORIZONTAL
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
enum Epos2Format : int {
|
|
594
|
+
EPOS2_MARQUEE_WALK = 0,
|
|
595
|
+
EPOS2_MARQUEE_PLACE
|
|
596
|
+
};
|
|
597
|
+
|
|
598
|
+
enum Epos2Brightness : int {
|
|
599
|
+
EPOS2_BRIGHTNESS_20 = 0,
|
|
600
|
+
EPOS2_BRIGHTNESS_40,
|
|
601
|
+
EPOS2_BRIGHTNESS_60,
|
|
602
|
+
EPOS2_BRIGHTNESS_100
|
|
603
|
+
};
|
|
604
|
+
|
|
605
|
+
enum Epos2CursorPosition : int {
|
|
606
|
+
EPOS2_MOVE_TOP_LEFT = 0,
|
|
607
|
+
EPOS2_MOVE_TOP_RIGHT,
|
|
608
|
+
EPOS2_MOVE_BOTTOM_LEFT,
|
|
609
|
+
EPOS2_MOVE_BOTTOM_RIGHT
|
|
610
|
+
};
|
|
611
|
+
|
|
612
|
+
enum Epos2CursorType : int {
|
|
613
|
+
EPOS2_CURSOR_NONE = 0,
|
|
614
|
+
EPOS2_CURSOR_UNDERLINE
|
|
615
|
+
};
|
|
616
|
+
|
|
617
|
+
enum Epos2LayoutMode : int {
|
|
618
|
+
EPOS2_LAYOUT_MODE_1 = 0,
|
|
619
|
+
EPOS2_LAYOUT_MODE_2,
|
|
620
|
+
EPOS2_LAYOUT_MODE_3,
|
|
621
|
+
EPOS2_LAYOUT_MODE_4,
|
|
622
|
+
EPOS2_LAYOUT_MODE_5,
|
|
623
|
+
EPOS2_LAYOUT_MODE_6,
|
|
624
|
+
EPOS2_LAYOUT_MODE_7,
|
|
625
|
+
EPOS2_LAYOUT_MODE_8,
|
|
626
|
+
EPOS2_LAYOUT_MODE_9,
|
|
627
|
+
EPOS2_LAYOUT_MODE_10,
|
|
628
|
+
EPOS2_LAYOUT_MODE_11,
|
|
629
|
+
EPOS2_LAYOUT_MODE_12,
|
|
630
|
+
EPOS2_LAYOUT_MODE_13,
|
|
631
|
+
EPOS2_LAYOUT_MODE_14,
|
|
632
|
+
EPOS2_LAYOUT_MODE_15,
|
|
633
|
+
EPOS2_LANDSCAPE_LAYOUT_MODE_1,
|
|
634
|
+
EPOS2_LANDSCAPE_LAYOUT_MODE_2,
|
|
635
|
+
EPOS2_LANDSCAPE_LAYOUT_MODE_3,
|
|
636
|
+
EPOS2_LANDSCAPE_LAYOUT_MODE_4,
|
|
637
|
+
EPOS2_LANDSCAPE_LAYOUT_MODE_5,
|
|
638
|
+
EPOS2_PORTRAIT_LAYOUT_MODE_1,
|
|
639
|
+
EPOS2_PORTRAIT_LAYOUT_MODE_2,
|
|
640
|
+
EPOS2_PORTRAIT_LAYOUT_MODE_3,
|
|
641
|
+
EPOS2_PORTRAIT_LAYOUT_MODE_4,
|
|
642
|
+
EPOS2_PORTRAIT_LAYOUT_MODE_5,
|
|
643
|
+
EPOS2_PORTRAIT_LAYOUT_MODE_6,
|
|
644
|
+
EPOS2_PORTRAIT_LAYOUT_MODE_7
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
enum Epos2RowType : int {
|
|
648
|
+
EPOS2_EVEN_ROWS = -10,
|
|
649
|
+
EPOS2_ODD_ROWS = -11,
|
|
650
|
+
EPOS2_ALL_ROWS = -12
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
enum Epos2CountMode : int {
|
|
654
|
+
EPOS2_COUNT_MODE_MANUAL_INPUT = 0,
|
|
655
|
+
EPOS2_COUNT_MODE_AUTO_COUNT
|
|
656
|
+
};
|
|
657
|
+
|
|
658
|
+
enum Epos2Deposit : int {
|
|
659
|
+
EPOS2_DEPOSIT_CHANGE = 0,
|
|
660
|
+
EPOS2_DEPOSIT_NOCHANGE,
|
|
661
|
+
EPOS2_DEPOSIT_REPAY
|
|
662
|
+
};
|
|
663
|
+
|
|
664
|
+
enum Epos2Collect : int {
|
|
665
|
+
EPOS2_COLLECT_ALL_CASH = 0,
|
|
666
|
+
EPOS2_COLLECT_PART_OF_CASH
|
|
667
|
+
};
|
|
668
|
+
|
|
669
|
+
enum Epos2CChangerStatus : int {
|
|
670
|
+
EPOS2_CCHANGER_STATUS_BUSY = 0,
|
|
671
|
+
EPOS2_CCHANGER_STATUS_PAUSE,
|
|
672
|
+
EPOS2_CCHANGER_STATUS_END,
|
|
673
|
+
EPOS2_CCHANGER_STATUS_ERR
|
|
674
|
+
};
|
|
675
|
+
|
|
676
|
+
enum Epos2CashStatus : int {
|
|
677
|
+
EPOS2_ST_EMPTY = 0,
|
|
678
|
+
EPOS2_ST_NEAR_EMPTY,
|
|
679
|
+
EPOS2_ST_OK,
|
|
680
|
+
EPOS2_ST_NEAR_FULL,
|
|
681
|
+
EPOS2_ST_FULL
|
|
682
|
+
};
|
|
683
|
+
|
|
684
|
+
enum Epos2CChangerCallbackCode : int {
|
|
685
|
+
EPOS2_CCHANGER_CODE_SUCCESS = 0,
|
|
686
|
+
EPOS2_CCHANGER_CODE_BUSY,
|
|
687
|
+
EPOS2_CCHANGER_CODE_DISCREPANCY,
|
|
688
|
+
EPOS2_CCHANGER_CODE_ERR_CASH_IN_TRAY,
|
|
689
|
+
EPOS2_CCHANGER_CODE_ERR_SHORTAGE,
|
|
690
|
+
EPOS2_CCHANGER_CODE_ERR_REJECT_UNIT,
|
|
691
|
+
EPOS2_CCHANGER_CODE_ERR_OPOSCODE,
|
|
692
|
+
EPOS2_CCHANGER_CODE_ERR_UNSUPPORTED,
|
|
693
|
+
EPOS2_CCHANGER_CODE_ERR_PARAM,
|
|
694
|
+
EPOS2_CCHANGER_CODE_ERR_COMMAND,
|
|
695
|
+
EPOS2_CCHANGER_CODE_ERR_DEVICE,
|
|
696
|
+
EPOS2_CCHANGER_CODE_ERR_SYSTEM,
|
|
697
|
+
EPOS2_CCHANGER_CODE_ERR_FAILURE
|
|
698
|
+
};
|
|
699
|
+
|
|
700
|
+
enum Epos2CChangerStatusUpdateEvent : int {
|
|
701
|
+
EPOS2_CCHANGER_SUE_POWER_ONLINE = 2001,
|
|
702
|
+
EPOS2_CCHANGER_SUE_POWER_OFF = 2002,
|
|
703
|
+
EPOS2_CCHANGER_SUE_POWER_OFFLINE = 2003,
|
|
704
|
+
EPOS2_CCHANGER_SUE_POWER_OFF_OFFLINE = 2004,
|
|
705
|
+
EPOS2_CCHANGER_SUE_STATUS_EMPTY = 11,
|
|
706
|
+
EPOS2_CCHANGER_SUE_STATUS_NEAREMPTY = 12,
|
|
707
|
+
EPOS2_CCHANGER_SUE_STATUS_EMPTYOK = 13,
|
|
708
|
+
EPOS2_CCHANGER_SUE_STATUS_FULL = 21,
|
|
709
|
+
EPOS2_CCHANGER_SUE_STATUS_NEARFULL = 22,
|
|
710
|
+
EPOS2_CCHANGER_SUE_STATUS_FULLOK = 23,
|
|
711
|
+
EPOS2_CCHANGER_SUE_STATUS_JAM = 31,
|
|
712
|
+
EPOS2_CCHANGER_SUE_STATUS_JAMOK = 32
|
|
713
|
+
};
|
|
714
|
+
|
|
715
|
+
enum Epos2CATCallbackCode : int {
|
|
716
|
+
EPOS2_CAT_CODE_SUCCESS = 0,
|
|
717
|
+
EPOS2_CAT_CODE_BUSY,
|
|
718
|
+
EPOS2_CAT_CODE_EXCEEDING_LIMIT,
|
|
719
|
+
EPOS2_CAT_CODE_DISAGREEMENT,
|
|
720
|
+
EPOS2_CAT_CODE_INVALID_CARD,
|
|
721
|
+
EPOS2_CAT_CODE_RESET,
|
|
722
|
+
EPOS2_CAT_CODE_ERR_CENTER,
|
|
723
|
+
EPOS2_CAT_CODE_ERR_OPOSCODE,
|
|
724
|
+
EPOS2_CAT_CODE_ERR_PARAM,
|
|
725
|
+
EPOS2_CAT_CODE_ERR_DEVICE,
|
|
726
|
+
EPOS2_CAT_CODE_ERR_SYSTEM,
|
|
727
|
+
EPOS2_CAT_CODE_ERR_TIMEOUT,
|
|
728
|
+
EPOS2_CAT_CODE_ERR_FAILURE,
|
|
729
|
+
EPOS2_CAT_CODE_ERR_COMMAND,
|
|
730
|
+
EPOS2_CAT_CODE_ABORT_FAILURE
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
enum Epos2CATService : int {
|
|
734
|
+
EPOS2_SERVICE_CREDIT = 0,
|
|
735
|
+
EPOS2_SERVICE_DEBIT,
|
|
736
|
+
EPOS2_SERVICE_UNIONPAY,
|
|
737
|
+
EPOS2_SERVICE_EDY,
|
|
738
|
+
EPOS2_SERVICE_ID,
|
|
739
|
+
EPOS2_SERVICE_NANACO,
|
|
740
|
+
EPOS2_SERVICE_QUICPAY,
|
|
741
|
+
EPOS2_SERVICE_SUICA,
|
|
742
|
+
EPOS2_SERVICE_WAON,
|
|
743
|
+
EPOS2_SERVICE_POINT,
|
|
744
|
+
EPOS2_SERVICE_COMMON,
|
|
745
|
+
EPOS2_SERVICE_NFCPAYMENT,
|
|
746
|
+
EPOS2_SERVICE_PITAPA,
|
|
747
|
+
EPOS2_SERVICE_FISC,
|
|
748
|
+
EPOS2_SERVICE_QR,
|
|
749
|
+
EPOS2_SERVICE_CREDIT_DEBIT,
|
|
750
|
+
EPOS2_SERVICE_MULTI,
|
|
751
|
+
};
|
|
752
|
+
|
|
753
|
+
enum Epos2CATPaymentCondition : int {
|
|
754
|
+
EPOS2_PAYMENT_CONDITION_LUMP_SUM = 0,
|
|
755
|
+
EPOS2_PAYMENT_CONDITION_BONUS_1,
|
|
756
|
+
EPOS2_PAYMENT_CONDITION_BONUS_2,
|
|
757
|
+
EPOS2_PAYMENT_CONDITION_BONUS_3,
|
|
758
|
+
EPOS2_PAYMENT_CONDITION_INSTALLMENT_1,
|
|
759
|
+
EPOS2_PAYMENT_CONDITION_INSTALLMENT_2,
|
|
760
|
+
EPOS2_PAYMENT_CONDITION_REVOLVING,
|
|
761
|
+
EPOS2_PAYMENT_CONDITION_COMBINATION_1,
|
|
762
|
+
EPOS2_PAYMENT_CONDITION_COMBINATION_2,
|
|
763
|
+
EPOS2_PAYMENT_CONDITION_DEBIT,
|
|
764
|
+
EPOS2_PAYMENT_CONDITION_ELECTRONIC_MONEY,
|
|
765
|
+
EPOS2_PAYMENT_CONDITION_OTHER,
|
|
766
|
+
EPOS2_PAYMENT_CONDITION_BONUS_4,
|
|
767
|
+
EPOS2_PAYMENT_CONDITION_BONUS_5,
|
|
768
|
+
EPOS2_PAYMENT_CONDITION_INSTALLMENT_3,
|
|
769
|
+
EPOS2_PAYMENT_CONDITION_COMBINATION_3,
|
|
770
|
+
EPOS2_PAYMENT_CONDITION_COMBINATION_4,
|
|
771
|
+
};
|
|
772
|
+
|
|
773
|
+
enum Epos2CATStatusUpdateEvent : int {
|
|
774
|
+
EPOS2_CAT_SUE_POWER_ONLINE = 2001,
|
|
775
|
+
EPOS2_CAT_SUE_POWER_OFF_OFFLINE = 2004,
|
|
776
|
+
EPOS2_CAT_SUE_LOGSTATUS_OK = 0,
|
|
777
|
+
EPOS2_CAT_SUE_LOGSTATUS_NEARFULL = 1,
|
|
778
|
+
EPOS2_CAT_SUE_LOGSTATUS_FULL = 2
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
enum Epos2LogPeriod : int {
|
|
782
|
+
EPOS2_PERIOD_TEMPORARY = 0,
|
|
783
|
+
EPOS2_PERIOD_PERMANENT
|
|
784
|
+
};
|
|
785
|
+
|
|
786
|
+
enum Epos2LogOutput : int {
|
|
787
|
+
EPOS2_OUTPUT_DISABLE = 0,
|
|
788
|
+
EPOS2_OUTPUT_STORAGE,
|
|
789
|
+
EPOS2_OUTPUT_TCP
|
|
790
|
+
};
|
|
791
|
+
|
|
792
|
+
enum Epos2LogLevel : int {
|
|
793
|
+
EPOS2_LOGLEVEL_LOW = 0
|
|
794
|
+
};
|
|
795
|
+
|
|
796
|
+
enum Epos2MaintenanceCounterType : int {
|
|
797
|
+
EPOS2_MAINTENANCE_COUNTER_PAPERFEED = 0,
|
|
798
|
+
EPOS2_MAINTENANCE_COUNTER_AUTOCUTTER
|
|
799
|
+
};
|
|
800
|
+
|
|
801
|
+
enum Epos2PrinterSettingType : int {
|
|
802
|
+
EPOS2_PRINTER_SETTING_PAPERWIDTH = 0,
|
|
803
|
+
EPOS2_PRINTER_SETTING_PRINTDENSITY,
|
|
804
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED
|
|
805
|
+
};
|
|
806
|
+
|
|
807
|
+
enum Epos2PrinterSettingPaperWidth : int {
|
|
808
|
+
EPOS2_PRINTER_SETTING_PAPERWIDTH_58_0 = 2,
|
|
809
|
+
EPOS2_PRINTER_SETTING_PAPERWIDTH_60_0 = 3,
|
|
810
|
+
EPOS2_PRINTER_SETTING_PAPERWIDTH_70_0 = 4,
|
|
811
|
+
EPOS2_PRINTER_SETTING_PAPERWIDTH_76_0 = 5,
|
|
812
|
+
EPOS2_PRINTER_SETTING_PAPERWIDTH_80_0 = 6
|
|
813
|
+
};
|
|
814
|
+
|
|
815
|
+
enum Epos2PrinterSettingPrintDensity : int {
|
|
816
|
+
EPOS2_PRINTER_SETTING_PRINTDENSITY_DIP = 100,
|
|
817
|
+
EPOS2_PRINTER_SETTING_PRINTDENSITY_70 = 65530,
|
|
818
|
+
EPOS2_PRINTER_SETTING_PRINTDENSITY_75 = 65531,
|
|
819
|
+
EPOS2_PRINTER_SETTING_PRINTDENSITY_80 = 65532,
|
|
820
|
+
EPOS2_PRINTER_SETTING_PRINTDENSITY_85 = 65533,
|
|
821
|
+
EPOS2_PRINTER_SETTING_PRINTDENSITY_90 = 65534,
|
|
822
|
+
EPOS2_PRINTER_SETTING_PRINTDENSITY_95 = 65535,
|
|
823
|
+
EPOS2_PRINTER_SETTING_PRINTDENSITY_100 = 0,
|
|
824
|
+
EPOS2_PRINTER_SETTING_PRINTDENSITY_105 = 1,
|
|
825
|
+
EPOS2_PRINTER_SETTING_PRINTDENSITY_110 = 2,
|
|
826
|
+
EPOS2_PRINTER_SETTING_PRINTDENSITY_115 = 3,
|
|
827
|
+
EPOS2_PRINTER_SETTING_PRINTDENSITY_120 = 4,
|
|
828
|
+
EPOS2_PRINTER_SETTING_PRINTDENSITY_125 = 5,
|
|
829
|
+
EPOS2_PRINTER_SETTING_PRINTDENSITY_130 = 6
|
|
830
|
+
};
|
|
831
|
+
|
|
832
|
+
enum Epos2PrinterSettingPrintSpeed : int {
|
|
833
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_1 = 1,
|
|
834
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_2 = 2,
|
|
835
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_3 = 3,
|
|
836
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_4 = 4,
|
|
837
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_5 = 5,
|
|
838
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_6 = 6,
|
|
839
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_7 = 7,
|
|
840
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_8 = 8,
|
|
841
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_9 = 9,
|
|
842
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_10 = 10,
|
|
843
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_11 = 11,
|
|
844
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_12 = 12,
|
|
845
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_13 = 13,
|
|
846
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_14 = 14,
|
|
847
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_15 = 15,
|
|
848
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_16 = 16,
|
|
849
|
+
EPOS2_PRINTER_SETTING_PRINTSPEED_17 = 17
|
|
850
|
+
};
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
#ifdef __OBJC__
|
|
854
|
+
|
|
855
|
+
@class Epos2CommonPrinter;
|
|
856
|
+
@class Epos2Printer;
|
|
857
|
+
@class Epos2LFCPrinter;
|
|
858
|
+
@class Epos2HybridPrinter;
|
|
859
|
+
@class Epos2LineDisplay;
|
|
860
|
+
@class Epos2Keyboard;
|
|
861
|
+
@class Epos2BarcodeScanner;
|
|
862
|
+
@class Epos2SimpleSerial;
|
|
863
|
+
@class Epos2CommBox;
|
|
864
|
+
@class Epos2CashChanger;
|
|
865
|
+
@class Epos2POSKeyboard;
|
|
866
|
+
@class Epos2CAT;
|
|
867
|
+
@class Epos2MSR;
|
|
868
|
+
@class Epos2OtherPeripheral;
|
|
869
|
+
@class Epos2GermanyFiscalElement;
|
|
870
|
+
|
|
871
|
+
@class Epos2PrinterStatusInfo;
|
|
872
|
+
@class Epos2LFCPrinterStatusInfo;
|
|
873
|
+
@class Epos2HybridPrinterStatusInfo;
|
|
874
|
+
@class Epos2CATAuthorizeResult;
|
|
875
|
+
@class Epos2CATDirectIOResult;
|
|
876
|
+
@class Epos2CATCashDepositResult;
|
|
877
|
+
@class Epos2MSRData;
|
|
878
|
+
@class Epos2DeviceInfo;
|
|
879
|
+
@class Epos2FirmwareInfo;
|
|
880
|
+
@class Epos2FirmwareOption;
|
|
881
|
+
@class Epos2PrinterNetworkStatusInfo;
|
|
882
|
+
|
|
883
|
+
@protocol Epos2ConnectionDelegate <NSObject>
|
|
884
|
+
@required
|
|
885
|
+
- (void) onConnection:(id)deviceObj eventType:(int)eventType;
|
|
886
|
+
@end
|
|
887
|
+
|
|
888
|
+
@protocol Epos2PtrStatusChangeDelegate <NSObject>
|
|
889
|
+
@required
|
|
890
|
+
- (void) onPtrStatusChange:(Epos2Printer *)printerObj eventType:(int)eventType;
|
|
891
|
+
@end
|
|
892
|
+
|
|
893
|
+
@protocol Epos2PtrReceiveDelegate <NSObject>
|
|
894
|
+
@required
|
|
895
|
+
- (void) onPtrReceive:(Epos2Printer *)printerObj code:(int)code status:(Epos2PrinterStatusInfo *)status printJobId:(NSString *)printJobId;
|
|
896
|
+
@end
|
|
897
|
+
|
|
898
|
+
@protocol Epos2LFCStatusChangeDelegate <NSObject>
|
|
899
|
+
@required
|
|
900
|
+
- (void) onLFCStatusChange:(Epos2LFCPrinter *)lfcPrinterObj eventType:(int)eventType;
|
|
901
|
+
@end
|
|
902
|
+
|
|
903
|
+
@protocol Epos2LFCSendCompleteDelegate <NSObject>
|
|
904
|
+
@required
|
|
905
|
+
- (void) onSendComplete:(Epos2LFCPrinter *)lfcPrinterObj jobNumber:(long)jobNumber code:(int)code status:(Epos2LFCPrinterStatusInfo *)status;
|
|
906
|
+
@end
|
|
907
|
+
|
|
908
|
+
@protocol Epos2LFCPrintCompleteDelegate <NSObject>
|
|
909
|
+
@required
|
|
910
|
+
- (void) onPrintComplete:(Epos2LFCPrinter *)lfcPrinterObj jobNumber:(long)jobNumber;
|
|
911
|
+
@end
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
@protocol Epos2HybdStatusChangeDelegate <NSObject>
|
|
915
|
+
@required
|
|
916
|
+
- (void) onHybdStatusChange:(Epos2HybridPrinter *)hybridPrinterObj eventType:(int)eventType;
|
|
917
|
+
@end
|
|
918
|
+
|
|
919
|
+
@protocol Epos2HybdReceiveDelegate <NSObject>
|
|
920
|
+
@required
|
|
921
|
+
- (void) onHybdReceive:(Epos2HybridPrinter *)hybridPrinterObj method:(int)method code:(int)code micrData:(NSString *)micrData status:(Epos2HybridPrinterStatusInfo *)status;
|
|
922
|
+
@end
|
|
923
|
+
|
|
924
|
+
@protocol Epos2DispReceiveDelegate <NSObject>
|
|
925
|
+
@required
|
|
926
|
+
- (void) onDispReceive:(Epos2LineDisplay *)displayObj code:(int)code;
|
|
927
|
+
@end
|
|
928
|
+
|
|
929
|
+
@protocol Epos2KbdKeyPressDelegate <NSObject>
|
|
930
|
+
@required
|
|
931
|
+
- (void) onKbdKeyPress:(Epos2Keyboard *)keyboardObj keyCode:(int)keyCode ascii:(NSString *)ascii;
|
|
932
|
+
@end
|
|
933
|
+
|
|
934
|
+
@protocol Epos2KbdReadStringDelegate <NSObject>
|
|
935
|
+
@required
|
|
936
|
+
- (void) onKbdReadString:(Epos2Keyboard *)keyboardObj readString:(NSString *)readString prefix:(int)prefix;
|
|
937
|
+
@end
|
|
938
|
+
|
|
939
|
+
@protocol Epos2ScanDelegate <NSObject>
|
|
940
|
+
@required
|
|
941
|
+
- (void) onScanData:(Epos2BarcodeScanner *)scannerObj scanData:(NSString *)scanData;
|
|
942
|
+
@end
|
|
943
|
+
|
|
944
|
+
@protocol Epos2SimpleSerialReceiveDelegate <NSObject>
|
|
945
|
+
@required
|
|
946
|
+
- (void) onSimpleSerialReceive:(Epos2SimpleSerial *)serialObj data:(NSData *)data;
|
|
947
|
+
@end
|
|
948
|
+
|
|
949
|
+
@protocol Epos2GetCommHistoryDelegate <NSObject>
|
|
950
|
+
@required
|
|
951
|
+
- (void) onGetCommHistory:(Epos2CommBox *)commBoxObj code:(int)code historyList:(NSArray *)historyList;
|
|
952
|
+
@end
|
|
953
|
+
|
|
954
|
+
@protocol Epos2CommBoxSendMessageDelegate <NSObject>
|
|
955
|
+
@required
|
|
956
|
+
- (void) onCommBoxSendMessage:(Epos2CommBox *)commBoxObj code:(int)code count:(long)count;
|
|
957
|
+
@end
|
|
958
|
+
|
|
959
|
+
@protocol Epos2CommBoxReceiveDelegate <NSObject>
|
|
960
|
+
@required
|
|
961
|
+
- (void) onCommBoxReceive:(Epos2CommBox *)commBoxObj senderId:(NSString *)senderId receiverId:(NSString *)receiverId message:(NSString *)message;
|
|
962
|
+
@end
|
|
963
|
+
|
|
964
|
+
@protocol Epos2POSKbdKeyPressDelegate <NSObject>
|
|
965
|
+
@required
|
|
966
|
+
- (void) onPOSKbdKeyPress:(Epos2POSKeyboard *)poskeyboardObj posKeyCode:(int)posKeyCode;
|
|
967
|
+
@end
|
|
968
|
+
|
|
969
|
+
@protocol Epos2CChangerConfigChangeDelegate <NSObject>
|
|
970
|
+
@required
|
|
971
|
+
- (void) onCChangerConfigChange:(Epos2CashChanger *)cchangerObj code:(int)code;
|
|
972
|
+
@end
|
|
973
|
+
|
|
974
|
+
@protocol Epos2CChangerCashCountDelegate <NSObject>
|
|
975
|
+
@required
|
|
976
|
+
- (void) onCChangerCashCount:(Epos2CashChanger *)cchangerObj code:(int)code data:(NSDictionary *)data;
|
|
977
|
+
@end
|
|
978
|
+
|
|
979
|
+
@protocol Epos2CChangerDepositDelegate <NSObject>
|
|
980
|
+
@required
|
|
981
|
+
- (void) onCChangerDeposit:(Epos2CashChanger *)cchangerObj code:(int)code status:(int)status amount:(long)amount data:(NSDictionary *)data;
|
|
982
|
+
@end
|
|
983
|
+
|
|
984
|
+
@protocol Epos2CChangerDispenseDelegate <NSObject>
|
|
985
|
+
@required
|
|
986
|
+
- (void) onCChangerDispense:(Epos2CashChanger *)cchangerObj code:(int)code;
|
|
987
|
+
@end
|
|
988
|
+
|
|
989
|
+
@protocol Epos2CChangerCollectDelegate <NSObject>
|
|
990
|
+
@required
|
|
991
|
+
- (void) onCChangerCollect:(Epos2CashChanger *)cchangerObj code:(int)code;
|
|
992
|
+
@end
|
|
993
|
+
|
|
994
|
+
@protocol Epos2CChangerCommandReplyDelegate <NSObject>
|
|
995
|
+
@required
|
|
996
|
+
- (void) onCChangerCommandReply:(Epos2CashChanger *)cchangerObj code:(int)code data:(NSData *)data;
|
|
997
|
+
@end
|
|
998
|
+
|
|
999
|
+
@protocol Epos2CChangerDirectIOCommandReplyDelegate <NSObject>
|
|
1000
|
+
@required
|
|
1001
|
+
- (void) onCChangerDirectIOCommandReply:(Epos2CashChanger *)cchangerObj code:(int)code command:(long)command data:(long)data string:(NSString *)string;
|
|
1002
|
+
@end
|
|
1003
|
+
|
|
1004
|
+
@protocol Epos2CChangerStatusChangeDelegate <NSObject>
|
|
1005
|
+
@required
|
|
1006
|
+
- (void) onCChangerStatusChange:(Epos2CashChanger *)cchangerObj code:(int)code status:(NSDictionary *)status;
|
|
1007
|
+
@end
|
|
1008
|
+
|
|
1009
|
+
@protocol Epos2CChangerDirectIODelegate <NSObject>
|
|
1010
|
+
@required
|
|
1011
|
+
- (void) onCChangerDirectIO:(Epos2CashChanger *)cchangerObj eventnumber:(long)eventnumber data:(long)data string:(NSString *)string;
|
|
1012
|
+
@end
|
|
1013
|
+
|
|
1014
|
+
@protocol Epos2CChangerStatusUpdateDelegate <NSObject>
|
|
1015
|
+
@required
|
|
1016
|
+
- (void) onCChangerStatusUpdate:(Epos2CashChanger *)cchangerObj status:(long)status;
|
|
1017
|
+
@end
|
|
1018
|
+
|
|
1019
|
+
@protocol Epos2CATAuthorizeSalesDelegate <NSObject>
|
|
1020
|
+
@required
|
|
1021
|
+
- (void) onCATAuthorizeSales:(Epos2CAT *)catObj code:(int)code sequence:(long)sequence service:(int)service result:(Epos2CATAuthorizeResult *)result;
|
|
1022
|
+
@end;
|
|
1023
|
+
|
|
1024
|
+
@protocol Epos2CATAuthorizeVoidDelegate <NSObject>
|
|
1025
|
+
@required
|
|
1026
|
+
- (void) onCATAuthorizeVoid:(Epos2CAT *)catObj code:(int)code sequence:(long)sequence service:(int)service result:(Epos2CATAuthorizeResult *)result;
|
|
1027
|
+
@end;
|
|
1028
|
+
|
|
1029
|
+
@protocol Epos2CATAuthorizeRefundDelegate <NSObject>
|
|
1030
|
+
@required
|
|
1031
|
+
- (void) onCATAuthorizeRefund:(Epos2CAT *)catObj code:(int)code sequence:(long)sequence service:(int)service result:(Epos2CATAuthorizeResult *)result;
|
|
1032
|
+
@end;
|
|
1033
|
+
|
|
1034
|
+
@protocol Epos2CATAuthorizeCompletionDelegate <NSObject>
|
|
1035
|
+
@required
|
|
1036
|
+
- (void) onCATAuthorizeCompletion:(Epos2CAT *)catObj code:(int)code sequence:(long)sequence service:(int)service result:(Epos2CATAuthorizeResult *)result;
|
|
1037
|
+
@end;
|
|
1038
|
+
|
|
1039
|
+
@protocol Epos2CATAccessDailyLogDelegate <NSObject>
|
|
1040
|
+
@required
|
|
1041
|
+
- (void) onCATAccessDailyLog:(Epos2CAT *)catObj code:(int)code sequence:(long)sequence service:(int)service dailyLog:(NSArray *)dailyLog;
|
|
1042
|
+
@end;
|
|
1043
|
+
|
|
1044
|
+
@protocol Epos2CATDirectIOCommandReplyDelegate <NSObject>
|
|
1045
|
+
@required
|
|
1046
|
+
- (void) onCATDirectIOCommandReply:(Epos2CAT *)catObj code:(int)code command:(long)command data:(long)data string:(NSString *)string sequence:(long)sequence service:(int)service result:(Epos2CATDirectIOResult *)result;
|
|
1047
|
+
@end
|
|
1048
|
+
|
|
1049
|
+
@protocol Epos2CATStatusUpdateDelegate <NSObject>
|
|
1050
|
+
@required
|
|
1051
|
+
- (void) onCATStatusUpdate:(Epos2CAT *)catObj status:(long)status;
|
|
1052
|
+
@end
|
|
1053
|
+
|
|
1054
|
+
@protocol Epos2CATDirectIODelegate <NSObject>
|
|
1055
|
+
@required
|
|
1056
|
+
- (void) onCATDirectIO:(Epos2CAT *)catObj eventNumber:(long)eventNumber data:(long)data string:(NSString *)string;
|
|
1057
|
+
@end
|
|
1058
|
+
|
|
1059
|
+
@protocol Epos2CATCheckConnectionDelegate <NSObject>
|
|
1060
|
+
@required
|
|
1061
|
+
- (void) onCATCheckConnection:(Epos2CAT *)catObj code:(int)code additionalSecurityInformation:(NSString *)asi;
|
|
1062
|
+
@end
|
|
1063
|
+
|
|
1064
|
+
@protocol Epos2CATClearOutputDelegate <NSObject>
|
|
1065
|
+
@required
|
|
1066
|
+
- (void) onCATClearOutput:(Epos2CAT *)catObj code:(int)code abortCode:(long)abortCode;
|
|
1067
|
+
@end
|
|
1068
|
+
|
|
1069
|
+
@protocol Epos2CATScanCodeDelegate <NSObject>
|
|
1070
|
+
@required
|
|
1071
|
+
- (void) onCATScanCode:(Epos2CAT *)catObj code:(int)code additionalSecurityInformation:(NSString *)asi;
|
|
1072
|
+
@end
|
|
1073
|
+
|
|
1074
|
+
@protocol Epos2CATScanDataDelegate <NSObject>
|
|
1075
|
+
@required
|
|
1076
|
+
- (void) onCATScanData:(Epos2CAT *)catObj code:(int)code additionalSecurityInformation:(NSString *)asi;
|
|
1077
|
+
@end
|
|
1078
|
+
|
|
1079
|
+
@protocol Epos2CATCashDepositDelegate <NSObject>
|
|
1080
|
+
@required
|
|
1081
|
+
- (void) onCATCashDeposit:(Epos2CAT *)catObj code:(int)code sequence:(long)sequence service:(int)service result:(Epos2CATCashDepositResult *)result;
|
|
1082
|
+
@end
|
|
1083
|
+
|
|
1084
|
+
@protocol Epos2MSRDataDelegate <NSObject>
|
|
1085
|
+
@required
|
|
1086
|
+
- (void) onMSRData:(Epos2MSR *)msrObj data:(Epos2MSRData *)data;
|
|
1087
|
+
@end;
|
|
1088
|
+
|
|
1089
|
+
@protocol Epos2OtherReceiveDelegate <NSObject>
|
|
1090
|
+
@required
|
|
1091
|
+
- (void) onOtherReceive:(Epos2OtherPeripheral *)otherObj eventName:(NSString *)eventName data:(NSString *)data;
|
|
1092
|
+
@end
|
|
1093
|
+
|
|
1094
|
+
@protocol Epos2GermanyFiscalElementReceiveDelegate <NSObject>
|
|
1095
|
+
@required
|
|
1096
|
+
- (void) onGfeReceive:(Epos2GermanyFiscalElement *)germanyFiscalObj code:(int)code data:(NSString *)data;
|
|
1097
|
+
@end
|
|
1098
|
+
|
|
1099
|
+
@protocol Epos2DiscoveryDelegate <NSObject>
|
|
1100
|
+
@required
|
|
1101
|
+
- (void) onDiscovery:(Epos2DeviceInfo *)deviceInfo;
|
|
1102
|
+
@end
|
|
1103
|
+
|
|
1104
|
+
@protocol Epos2FirmwareListDownloadDelegate <NSObject>
|
|
1105
|
+
@required
|
|
1106
|
+
- (void) onFirmwareListDownload:(int)code firmwareList:(NSMutableArray<Epos2FirmwareInfo *> *)firmwareList;
|
|
1107
|
+
@end
|
|
1108
|
+
|
|
1109
|
+
@protocol Epos2FirmwareInformationDelegate <NSObject>
|
|
1110
|
+
@required
|
|
1111
|
+
- (void) onFirmwareInformationReceive:(int)code firmwareInfo:(Epos2FirmwareInfo *)firmwareInfo;
|
|
1112
|
+
@end
|
|
1113
|
+
|
|
1114
|
+
@protocol Epos2FirmwareUpdateDelegate <NSObject>
|
|
1115
|
+
@required
|
|
1116
|
+
- (void) onFirmwareUpdateProgress:(NSString *)task progress:(float)progress;
|
|
1117
|
+
- (void) onFirmwareUpdate:(int)code maxWaitTime:(int)maxWaitTime;
|
|
1118
|
+
@end
|
|
1119
|
+
|
|
1120
|
+
@protocol Epos2VerifyeUpdateDelegate <NSObject>
|
|
1121
|
+
@required
|
|
1122
|
+
- (void) onUpdateVerify:(int)code;
|
|
1123
|
+
@end
|
|
1124
|
+
@protocol Epos2MaintenanceCounterDelegate <NSObject>
|
|
1125
|
+
@required
|
|
1126
|
+
- (void) onGetMaintenanceCounter:(int)code type:(int)type value:(int)value;
|
|
1127
|
+
- (void) onResetMaintenanceCounter:(int)code type:(int)type;
|
|
1128
|
+
@end
|
|
1129
|
+
|
|
1130
|
+
@protocol Epos2PrinterSettingDelegate <NSObject>
|
|
1131
|
+
@required
|
|
1132
|
+
- (void) onGetPrinterSetting:(int)code type:(int)type value:(int)value;
|
|
1133
|
+
- (void) onSetPrinterSetting:(int)code;
|
|
1134
|
+
@end
|
|
1135
|
+
|
|
1136
|
+
@protocol Epos2PrinterVerifyPasswordDelegate <NSObject>
|
|
1137
|
+
@required
|
|
1138
|
+
- (void) onVerifyPassword:(Epos2Printer *)printerObj code:(int)code;
|
|
1139
|
+
@end
|
|
1140
|
+
|
|
1141
|
+
@protocol Epos2PrinterGetPrinterSettingExDelegate <NSObject>
|
|
1142
|
+
@required
|
|
1143
|
+
- (void) onGetPrinterSettingEx:(Epos2Printer *)printerObj code:(int)code jsonString:(NSString *)jsonString;
|
|
1144
|
+
@end
|
|
1145
|
+
|
|
1146
|
+
@protocol Epos2PrinterInformationDelegate <NSObject>
|
|
1147
|
+
@required
|
|
1148
|
+
- (void) onGetPrinterInformation:(int)code jsonString:(NSString *)jsonString;
|
|
1149
|
+
@end
|
|
1150
|
+
|
|
1151
|
+
@protocol Epos2PrinterSetPrinterSettingExDelegate <NSObject>
|
|
1152
|
+
@required
|
|
1153
|
+
- (void) onSetPrinterSettingEx:(Epos2Printer *)printerObj code:(int)code;
|
|
1154
|
+
@end
|
|
1155
|
+
|
|
1156
|
+
@interface Epos2CommonPrinter : NSObject
|
|
1157
|
+
- (int) startMonitor;
|
|
1158
|
+
- (int) stopMonitor;
|
|
1159
|
+
- (int) beginTransaction;
|
|
1160
|
+
- (int) endTransaction;
|
|
1161
|
+
- (int) clearCommandBuffer;
|
|
1162
|
+
- (int) addTextAlign:(int)align;
|
|
1163
|
+
- (int) addLineSpace:(long)linespc;
|
|
1164
|
+
- (int) addTextRotate:(int)rotate;
|
|
1165
|
+
- (int) addText:(NSString *)data;
|
|
1166
|
+
- (int) addTextLang:(int)lang;
|
|
1167
|
+
- (int) addTextFont:(int)font;
|
|
1168
|
+
- (int) addTextSmooth:(int)smooth;
|
|
1169
|
+
- (int) addTextSize:(long)width height:(long)height;
|
|
1170
|
+
- (int) addTextStyle:(int)reverse ul:(int)ul em:(int)em color:(int)color;
|
|
1171
|
+
- (int) addHPosition:(long)x;
|
|
1172
|
+
- (int) addFeedUnit:(long)unit;
|
|
1173
|
+
- (int) addFeedLine:(long)line;
|
|
1174
|
+
- (int) addImage:(UIImage *)data x:(long)x y:(long)y width:(long)width height:(long)height color:(int)color mode:(int)mode halftone:(int)halftone brightness:(double)brightness compress:(int)compress;
|
|
1175
|
+
- (int) addLogo:(long)key1 key2:(long)key2;
|
|
1176
|
+
- (int) addBarcode:(NSString *)data type:(int)type hri:(int)hri font:(int)font width:(long)width height:(long)height;
|
|
1177
|
+
- (int) addSymbol:(NSString *)data type:(int)type level:(int)level width:(long)width height:(long)height size:(long)size;
|
|
1178
|
+
- (int) addPageBegin;
|
|
1179
|
+
- (int) addPageEnd;
|
|
1180
|
+
- (int) addPageArea:(long)x y:(long)y width:(long)width height:(long)height;
|
|
1181
|
+
- (int) addPageDirection:(int)direction;
|
|
1182
|
+
- (int) addPagePosition:(long)x y:(long)y;
|
|
1183
|
+
- (int) addPageLine:(long)x1 y1:(long)y1 x2:(long)x2 y2:(long)y2 style:(int)style;
|
|
1184
|
+
- (int) addPageRectangle:(long)x1 y1:(long)y1 x2:(long)x2 y2:(long)y2 style:(int)style;
|
|
1185
|
+
- (int) addCut:(int)type;
|
|
1186
|
+
- (int) addPulse:(int)drawer time:(int)time;
|
|
1187
|
+
- (int) addSound:(int)pattern repeat:(long)repeat cycle:(long)cycle;
|
|
1188
|
+
- (int) addFeedPosition:(int)position;
|
|
1189
|
+
- (int) addRotateBegin;
|
|
1190
|
+
- (int) addRotateEnd;
|
|
1191
|
+
- (int) addCommand:(NSData *)data;
|
|
1192
|
+
|
|
1193
|
+
- (int) forceRecover:(long)timeout;
|
|
1194
|
+
- (int) forcePulse:(int)drawer pulseTime:(int)time timeout:(long)timeout;
|
|
1195
|
+
- (int) forceReset:(long)timeout;
|
|
1196
|
+
//- (int) getCommandBuffer:(NSMutableData *)commandData Flag:(unsigned long)flag;
|
|
1197
|
+
@end
|
|
1198
|
+
|
|
1199
|
+
@interface Epos2PrinterStatusInfo : NSObject
|
|
1200
|
+
@property(readonly, getter=getConnection) int connection;
|
|
1201
|
+
@property(readonly, getter=getOnline) int online;
|
|
1202
|
+
@property(readonly, getter=getCoverOpen) int coverOpen;
|
|
1203
|
+
@property(readonly, getter=getPaper) int paper;
|
|
1204
|
+
@property(readonly, getter=getPaperFeed) int paperFeed;
|
|
1205
|
+
@property(readonly, getter=getPanelSwitch) int panelSwitch;
|
|
1206
|
+
@property(readonly, getter=getWaitOnline) int waitOnline;
|
|
1207
|
+
@property(readonly, getter=getDrawer) int drawer;
|
|
1208
|
+
@property(readonly, getter=getErrorStatus) int errorStatus;
|
|
1209
|
+
@property(readonly, getter=getAutoRecoverError) int autoRecoverError;
|
|
1210
|
+
@property(readonly, getter=getBuzzer) int buzzer;
|
|
1211
|
+
@property(readonly, getter=getAdapter) int adapter;
|
|
1212
|
+
@property(readonly, getter=getBatteryLevel) int batteryLevel;
|
|
1213
|
+
@property(readonly, getter=getRemovalWaiting) int removalWaiting;
|
|
1214
|
+
@property(readonly, getter=getPaperTakenSensor) int paperTakenSensor;
|
|
1215
|
+
@property(readonly, getter=getUnrecoverError) int unrecoverError;
|
|
1216
|
+
@end
|
|
1217
|
+
|
|
1218
|
+
@interface Epos2PrinterNetworkStatusInfo : NSObject
|
|
1219
|
+
@property(readonly, getter=getConnection) int connection;
|
|
1220
|
+
@property(readonly, getter=getWifiSignalStatus) int wifiSignalStatus;
|
|
1221
|
+
@property(nonatomic, readonly, copy, getter=getConnectApMacAddress) NSString * connectApMacAddress;
|
|
1222
|
+
@property(nonatomic, readonly, copy, getter=getSsid) NSString * ssid;
|
|
1223
|
+
@end
|
|
1224
|
+
|
|
1225
|
+
@interface Epos2SecureOption : NSObject
|
|
1226
|
+
@property(strong, nonatomic, readwrite, getter=getPrinterPassword, setter=setPrinterPassword:) NSString *printerPassword;
|
|
1227
|
+
@property(assign, nonatomic, readwrite, getter=getDoVerification, setter=setDoVerification:) BOOL doVerification;
|
|
1228
|
+
@end
|
|
1229
|
+
|
|
1230
|
+
@interface Epos2Printer : Epos2CommonPrinter
|
|
1231
|
+
- (id) initWithPrinterSeries:(int)printerSeries lang:(int)lang;
|
|
1232
|
+
- (void) dealloc;
|
|
1233
|
+
|
|
1234
|
+
- (int) connect:(NSString *) target timeout:(long)timeout;
|
|
1235
|
+
- (int) disconnect;
|
|
1236
|
+
- (Epos2PrinterStatusInfo *) getStatus;
|
|
1237
|
+
- (int) sendData:(long)timeout;
|
|
1238
|
+
- (int) requestPrintJobStatus:(NSString *)printJobId;
|
|
1239
|
+
- (int) addHLine:(long)x1 x2:(long)x2 style:(int)style;
|
|
1240
|
+
- (int) addVLineBegin:(long)x style:(int)style lineId:(int *)lineId;
|
|
1241
|
+
- (int) addVLineEnd:(int)lineId;
|
|
1242
|
+
- (int) addLayout:(int)type width:(long)width height:(long)height marginTop:(long)marginTop marginBottom:(long)marginBottom offsetCut:(long)offsetCut offsetLabel:(long)offsetLabel;
|
|
1243
|
+
- (int) forceStopSound:(long)timeout;
|
|
1244
|
+
- (int) forceCommand:(NSData *)data timeout:(long)timeout;
|
|
1245
|
+
|
|
1246
|
+
- (void) setStatusChangeEventDelegate:(id<Epos2PtrStatusChangeDelegate>)delegate;
|
|
1247
|
+
- (void) setReceiveEventDelegate:(id<Epos2PtrReceiveDelegate>)delegate;
|
|
1248
|
+
- (void) setVerifyPasswordDelegate:(id<Epos2PrinterVerifyPasswordDelegate>)delegate;
|
|
1249
|
+
- (void) setGetPrinterSettingExDelegate:(id<Epos2PrinterGetPrinterSettingExDelegate>)delegate;
|
|
1250
|
+
- (void) setSetPrinterSettingExDelegate:(id<Epos2PrinterSetPrinterSettingExDelegate>)delegate;
|
|
1251
|
+
- (Epos2PrinterNetworkStatusInfo *) getNetworkStatus:(long)timeout;
|
|
1252
|
+
|
|
1253
|
+
- (int) setInterval:(long)interval;
|
|
1254
|
+
- (long) getInterval;
|
|
1255
|
+
|
|
1256
|
+
- (void) setConnectionEventDelegate:(id<Epos2ConnectionDelegate>)delegate;
|
|
1257
|
+
- (NSString *) getAdmin;
|
|
1258
|
+
- (NSString *) getLocation;
|
|
1259
|
+
|
|
1260
|
+
- (int) setBufferingEnabled:(int)enabled;
|
|
1261
|
+
|
|
1262
|
+
- (int) downloadFirmwareList:(NSString *)printerModel delegate:(id<Epos2FirmwareListDownloadDelegate>)delegate;
|
|
1263
|
+
- (int) downloadFirmwareList:(NSString *)printerModel option:(NSString *)option delegate:(id<Epos2FirmwareListDownloadDelegate>)delegate;
|
|
1264
|
+
- (int) getPrinterFirmwareInfo:(long)timeout delegate:(id<Epos2FirmwareInformationDelegate>)delegate;
|
|
1265
|
+
- (int) updateFirmware:(Epos2FirmwareInfo *)targetFirmwareInfo delegate:(id<Epos2FirmwareUpdateDelegate>)delegate;
|
|
1266
|
+
- (int) updateFirmware:(Epos2FirmwareInfo *)targetFirmwareInfo option:(Epos2FirmwareOption *)option delegate:(id<Epos2FirmwareUpdateDelegate>)delegate;
|
|
1267
|
+
- (int) updateFirmware:(Epos2FirmwareInfo *)targetFirmwareInfo secureOption:(Epos2SecureOption *)secureOption delegate:(id<Epos2FirmwareUpdateDelegate>)delegate;
|
|
1268
|
+
- (int) verifyUpdate:(Epos2FirmwareInfo *)targetFirmwareInfo delegate:(id<Epos2VerifyeUpdateDelegate>)delegate;
|
|
1269
|
+
- (int) verifyUpdate:(Epos2FirmwareInfo *)targetFirmwareInfo secureOption:(Epos2SecureOption *)secureOption delegate:(id<Epos2VerifyeUpdateDelegate>)delegate;
|
|
1270
|
+
|
|
1271
|
+
- (int) getMaintenanceCounter:(long)timeout type:(int)Type delegate:(id<Epos2MaintenanceCounterDelegate>)delegate;
|
|
1272
|
+
- (int) resetMaintenanceCounter:(long)timeout type:(int)Type delegate:(id<Epos2MaintenanceCounterDelegate>)delegate;
|
|
1273
|
+
- (int) getPrinterSetting:(long)timeout type:(int)Type delegate:(id<Epos2PrinterSettingDelegate>)delegate;
|
|
1274
|
+
- (int) setPrinterSetting:(long)timeout setttingList:(NSDictionary *)list delegate:(id<Epos2PrinterSettingDelegate>)delegate;
|
|
1275
|
+
- (int) verifyPassword:(long)timeout administratorPassword:(NSString *)administratorPassword;
|
|
1276
|
+
- (int) verifyPassword:(long)timeout secureOption:(Epos2SecureOption *)secureOption;
|
|
1277
|
+
- (int) getPrinterSettingEx:(long)timeout;
|
|
1278
|
+
- (int) getPrinterSettingEx:(long)timeout secureOption:(Epos2SecureOption *)secureOption;
|
|
1279
|
+
- (int) setPrinterSettingEx:(long)timeout jsonString:(NSString *)jsonString;
|
|
1280
|
+
- (int) setPrinterSettingEx:(long)timeout jsonString:(NSString *)jsonString administratorPassword:(NSString *)administratorPassword;
|
|
1281
|
+
- (int) setPrinterSettingEx:(long)timeout jsonString:(NSString *)jsonString secureOption:(Epos2SecureOption *)secureOption;
|
|
1282
|
+
- (int) getPrinterInformation:(long)timeout delegate:(id<Epos2PrinterInformationDelegate>)delegate;
|
|
1283
|
+
@end
|
|
1284
|
+
|
|
1285
|
+
@interface Epos2LFCPrinterStatusInfo : NSObject
|
|
1286
|
+
@property(readonly, getter=getConnection) int connection;
|
|
1287
|
+
@property(readonly, getter=getOnline) int online;
|
|
1288
|
+
@property(readonly, getter=getCoverOpen) int coverOpen;
|
|
1289
|
+
@property(readonly, getter=getPaper) int paper;
|
|
1290
|
+
@property(readonly, getter=getPaperFeed) int paperFeed;
|
|
1291
|
+
@property(readonly, getter=getPanelSwitch) int panelSwitch;
|
|
1292
|
+
@property(readonly, getter=getWaitOnline) int waitOnline;
|
|
1293
|
+
@property(readonly, getter=getDrawer) int drawer;
|
|
1294
|
+
@property(readonly, getter=getErrorStatus) int errorStatus;
|
|
1295
|
+
@property(readonly, getter=getAutoRecoverError) int autoRecoverError;
|
|
1296
|
+
@property(readonly, getter=getBuzzer) int buzzer;
|
|
1297
|
+
@property(readonly, getter=getAdapter) int adapter;
|
|
1298
|
+
@property(readonly, getter=getBatteryLevel) int batteryLevel;
|
|
1299
|
+
@property(readonly, getter=getRemovalWaiting) int removalWaiting;
|
|
1300
|
+
@end
|
|
1301
|
+
|
|
1302
|
+
@interface Epos2LFCPrinter : Epos2CommonPrinter
|
|
1303
|
+
- (id) initWithPrinterSeries:(int)printerSeries lang:(int)lang;
|
|
1304
|
+
- (void) dealloc;
|
|
1305
|
+
|
|
1306
|
+
- (int) connect:(NSString *) target timeout:(long)timeout;
|
|
1307
|
+
- (int) disconnect;
|
|
1308
|
+
- (Epos2LFCPrinterStatusInfo *) getStatus;
|
|
1309
|
+
- (int) sendLFCData:(long)timeout jobNumber:(long)jobNumber;
|
|
1310
|
+
|
|
1311
|
+
- (void) setStatusChangeEventDelegate:(id<Epos2LFCStatusChangeDelegate>)delegate;
|
|
1312
|
+
- (void) setSendCompleteEventDelegate:(id<Epos2LFCSendCompleteDelegate>)delegate;
|
|
1313
|
+
- (void) setPrintCompleteEventDelegate:(id<Epos2LFCPrintCompleteDelegate>)delegate;
|
|
1314
|
+
@end
|
|
1315
|
+
|
|
1316
|
+
@interface Epos2HybridPrinterStatusInfo : NSObject
|
|
1317
|
+
@property(readonly, getter=getConnection) int connection;
|
|
1318
|
+
@property(readonly, getter=getOnline) int online;
|
|
1319
|
+
@property(readonly, getter=getCoverOpen) int coverOpen;
|
|
1320
|
+
@property(readonly, getter=getPaper) int paper;
|
|
1321
|
+
@property(readonly, getter=getPaperFeed) int paperFeed;
|
|
1322
|
+
@property(readonly, getter=getPanelSwitch) int panelSwitch;
|
|
1323
|
+
@property(readonly, getter=getWaitOnline) int waitOnline;
|
|
1324
|
+
@property(readonly, getter=getDrawer) int drawer;
|
|
1325
|
+
@property(readonly, getter=getErrorStatus) int errorStatus;
|
|
1326
|
+
@property(readonly, getter=getAutoRecoverError) int autoRecoverError;
|
|
1327
|
+
@property(readonly, getter=getInsertionWaiting) int insertionWaiting;
|
|
1328
|
+
@property(readonly, getter=getRemovalWaiting) int removalWaiting;
|
|
1329
|
+
@property(readonly, getter=getSlipPaper) int slipPaper;
|
|
1330
|
+
@end
|
|
1331
|
+
|
|
1332
|
+
@interface Epos2HybridPrinter : Epos2CommonPrinter
|
|
1333
|
+
- (id) initWithLang:(int)lang;
|
|
1334
|
+
- (void) dealloc;
|
|
1335
|
+
|
|
1336
|
+
- (int) connect:(NSString *)target timeout:(long)timeout;
|
|
1337
|
+
- (int) disconnect;
|
|
1338
|
+
- (Epos2HybridPrinterStatusInfo *) getStatus;
|
|
1339
|
+
- (int) selectPaperType:(int)paperType;
|
|
1340
|
+
- (int) waitInsertion:(long)timeout;
|
|
1341
|
+
- (int) sendData:(long)timeout;
|
|
1342
|
+
- (int) cancelInsertion;
|
|
1343
|
+
- (int) ejectPaper;
|
|
1344
|
+
- (int) readMicrData:(int)micrFont timeout:(long)timeout;
|
|
1345
|
+
- (int) cleanMicrReader:(long)timeout;
|
|
1346
|
+
- (int) forceCommand:(NSData *)data timeout:(long)timeout;
|
|
1347
|
+
|
|
1348
|
+
- (void) setStatusChangeEventDelegate:(id<Epos2HybdStatusChangeDelegate>)delegate;
|
|
1349
|
+
- (void) setReceiveEventDelegate:(id<Epos2HybdReceiveDelegate>)delegate;
|
|
1350
|
+
|
|
1351
|
+
- (int) getPaperType;
|
|
1352
|
+
- (int) setInterval:(long)interval;
|
|
1353
|
+
- (long) getInterval;
|
|
1354
|
+
- (int) setWaitTime:(long)waitTime;
|
|
1355
|
+
- (long) getWaitTime;
|
|
1356
|
+
- (int) setMode40Cpl:(int)mode40Cpl;
|
|
1357
|
+
- (int) getMode40Cpl;
|
|
1358
|
+
|
|
1359
|
+
- (void) setConnectionEventDelegate:(id<Epos2ConnectionDelegate>)delegate;
|
|
1360
|
+
- (NSString *) getAdmin;
|
|
1361
|
+
- (NSString *) getLocation;
|
|
1362
|
+
|
|
1363
|
+
- (int) setBufferingEnabled:(int)enabled;
|
|
1364
|
+
@end
|
|
1365
|
+
|
|
1366
|
+
@interface Epos2DisplayStatusInfo : NSObject
|
|
1367
|
+
@property(readonly, getter=getConnection) int connection;
|
|
1368
|
+
@end
|
|
1369
|
+
|
|
1370
|
+
@interface Epos2LineDisplay : NSObject
|
|
1371
|
+
- (id) initWithDisplayModel:(int)displayModel;
|
|
1372
|
+
- (void) dealloc;
|
|
1373
|
+
|
|
1374
|
+
- (int) connect:(NSString *) target timeout:(long)timeout;
|
|
1375
|
+
- (int) disconnect;
|
|
1376
|
+
|
|
1377
|
+
- (Epos2DisplayStatusInfo *) getStatus;
|
|
1378
|
+
- (int) sendData;
|
|
1379
|
+
- (int) clearCommandBuffer;
|
|
1380
|
+
- (int) addInitialize;
|
|
1381
|
+
- (int) addCreateWindow:(long)number x:(long)x y:(long)y width:(long)width height:(long)height scrollMode:(int)scrollMode;
|
|
1382
|
+
- (int) addDestroyWindow:(long)number;
|
|
1383
|
+
- (int) addSetCurrentWindow:(long)number;
|
|
1384
|
+
- (int) addClearCurrentWindow;
|
|
1385
|
+
- (int) addSetCursorPosition:(long)x y:(long)y;
|
|
1386
|
+
- (int) addMoveCursorPosition:(int)position;
|
|
1387
|
+
- (int) addSetCursorType:(int)type;
|
|
1388
|
+
- (int) addText:(NSString *)data;
|
|
1389
|
+
- (int) addText:(NSString *)data lang:(int)lang;
|
|
1390
|
+
- (int) addText:(NSString *)data x:(long)x y:(long)y;
|
|
1391
|
+
- (int) addText:(NSString *)data x:(long)x y:(long)y lang:(int)lang;
|
|
1392
|
+
- (int) addText:(NSString *)data x:(long)x y:(long)y lang:(int)lang r:(long)r g:(long)g b:(long)b;
|
|
1393
|
+
- (int) addReverseText:(NSString *)data;
|
|
1394
|
+
- (int) addReverseText:(NSString *)data lang:(int)lang;
|
|
1395
|
+
- (int) addReverseText:(NSString *)data x:(long)x y:(long)y;
|
|
1396
|
+
- (int) addReverseText:(NSString *)data x:(long)x y:(long)y lang:(int)lang;
|
|
1397
|
+
- (int) addMarqueeText:(NSString *)data format:(int)format unitWait:(long)unitWait repeatWait:(long)repeatWait repeatCount:(long)repeatCount lang:(int)lang;
|
|
1398
|
+
- (int) addSetBlink:(long)interval;
|
|
1399
|
+
- (int) addSetBrightness:(int)brightness;
|
|
1400
|
+
- (int) addShowClock;
|
|
1401
|
+
- (int) addCommand:(NSData *)data;
|
|
1402
|
+
- (int) addCreateScreen:(int)mode;
|
|
1403
|
+
- (int) addCreateScreenCustom:(int)mode column:(long)column row:(long)row;
|
|
1404
|
+
- (int) addBackgroundColor:(int)row r:(long)r g:(long)g b:(long)b;
|
|
1405
|
+
- (int) addStartSlideShow:(long)interval;
|
|
1406
|
+
- (int) addStopSlideShow;
|
|
1407
|
+
- (int) addSymbol:(NSString *)data type:(int)type level:(int)level width:(long)width height:(long)height dotX:(long)dotX dotY:(long)dotY quietZone:(int)quietZone;
|
|
1408
|
+
- (int) addDownloadImage:(long)key1 key2:(long)key2 dotX:(long)dotX dotY:(long)dotY width:(long)width height:(long)height;
|
|
1409
|
+
- (int) addRegisterDownloadImage:(NSData*) data key1:(long)key1 key2:(long)key2;
|
|
1410
|
+
- (int) addNVImage:(long)key1 key2:(long)key2 dotX:(long)dotX dotY:(long)dotY width:(long)width height:(long)height;
|
|
1411
|
+
- (int) addClearImage;
|
|
1412
|
+
- (int) addClearSymbol;
|
|
1413
|
+
- (int) addCreateTextArea:(long)number x:(long)x y:(long)y width:(long)width height:(long)height scrollMode:(int)scrollMode;
|
|
1414
|
+
- (int) addDestroyTextArea:(long)number;
|
|
1415
|
+
- (int) addSetCurrentTextArea:(long)number;
|
|
1416
|
+
- (int) addClearCurrentTextArea;
|
|
1417
|
+
|
|
1418
|
+
- (void) setReceiveEventDelegate:(id<Epos2DispReceiveDelegate>)delegate;
|
|
1419
|
+
|
|
1420
|
+
- (void) setConnectionEventDelegate:(id<Epos2ConnectionDelegate>)delegate;
|
|
1421
|
+
- (NSString *) getAdmin;
|
|
1422
|
+
- (NSString *) getLocation;
|
|
1423
|
+
|
|
1424
|
+
- (int) setBufferingEnabled:(int)enabled;
|
|
1425
|
+
@end
|
|
1426
|
+
|
|
1427
|
+
@interface Epos2KeyboardStatusInfo : NSObject
|
|
1428
|
+
@property(readonly, getter=getConnection) int connection;
|
|
1429
|
+
@end
|
|
1430
|
+
|
|
1431
|
+
@interface Epos2Keyboard : NSObject
|
|
1432
|
+
- (id) init;
|
|
1433
|
+
- (void) dealloc;
|
|
1434
|
+
|
|
1435
|
+
- (int) connect:(NSString *) target timeout:(long)timeout;
|
|
1436
|
+
- (int) disconnect;
|
|
1437
|
+
- (Epos2KeyboardStatusInfo *) getStatus;
|
|
1438
|
+
|
|
1439
|
+
- (int) setPrefix:(NSData *)data;
|
|
1440
|
+
- (NSData *) getPrefix;
|
|
1441
|
+
- (void) setKeyPressEventDelegate:(id<Epos2KbdKeyPressDelegate>)delegate;
|
|
1442
|
+
- (void) setReadStringEventDelegate:(id<Epos2KbdReadStringDelegate>)delegate;
|
|
1443
|
+
|
|
1444
|
+
- (void) setConnectionEventDelegate:(id<Epos2ConnectionDelegate>)delegate;
|
|
1445
|
+
- (NSString *) getAdmin;
|
|
1446
|
+
- (NSString *) getLocation;
|
|
1447
|
+
|
|
1448
|
+
- (int) setBufferingEnabled:(int)enabled;
|
|
1449
|
+
@end
|
|
1450
|
+
|
|
1451
|
+
@interface Epos2ScannerStatusInfo : NSObject
|
|
1452
|
+
@property(readonly, getter=getConnection) int connection;
|
|
1453
|
+
@end
|
|
1454
|
+
|
|
1455
|
+
@interface Epos2BarcodeScanner : NSObject
|
|
1456
|
+
- (id) init;
|
|
1457
|
+
- (void) dealloc;
|
|
1458
|
+
|
|
1459
|
+
- (int) connect:(NSString *) target timeout:(long)timeout;
|
|
1460
|
+
- (int) disconnect;
|
|
1461
|
+
- (Epos2ScannerStatusInfo *) getStatus;
|
|
1462
|
+
|
|
1463
|
+
- (void) setScanEventDelegate:(id<Epos2ScanDelegate>)delegate;
|
|
1464
|
+
|
|
1465
|
+
- (void) setConnectionEventDelegate:(id<Epos2ConnectionDelegate>)delegate;
|
|
1466
|
+
- (NSString *) getAdmin;
|
|
1467
|
+
- (NSString *) getLocation;
|
|
1468
|
+
|
|
1469
|
+
- (int) setBufferingEnabled:(int)enabled;
|
|
1470
|
+
@end
|
|
1471
|
+
|
|
1472
|
+
@interface Epos2SimpleSerialStatusInfo : NSObject
|
|
1473
|
+
@property(readonly, getter=getConnection) int connection;
|
|
1474
|
+
@end
|
|
1475
|
+
|
|
1476
|
+
@interface Epos2SimpleSerial : NSObject
|
|
1477
|
+
- (id) init;
|
|
1478
|
+
- (void) dealloc;
|
|
1479
|
+
- (int) connect:(NSString *) target timeout:(long)timeout;
|
|
1480
|
+
- (int) disconnect;
|
|
1481
|
+
- (Epos2SimpleSerialStatusInfo *) getStatus;
|
|
1482
|
+
|
|
1483
|
+
- (int) sendCommand:(NSData *)data;
|
|
1484
|
+
- (void) setReceiveEventDelegate:(id<Epos2SimpleSerialReceiveDelegate>)delegate;
|
|
1485
|
+
|
|
1486
|
+
- (void) setConnectionEventDelegate:(id<Epos2ConnectionDelegate>)delegate;
|
|
1487
|
+
- (NSString *) getAdmin;
|
|
1488
|
+
- (NSString *) getLocation;
|
|
1489
|
+
|
|
1490
|
+
- (int) setBufferingEnabled:(int)enabled;
|
|
1491
|
+
@end
|
|
1492
|
+
|
|
1493
|
+
@interface Epos2CommBoxStatusInfo : NSObject
|
|
1494
|
+
@property(readonly, getter=getConnection) int connection;
|
|
1495
|
+
@end
|
|
1496
|
+
|
|
1497
|
+
@interface Epos2CommBox : NSObject
|
|
1498
|
+
- (id) init;
|
|
1499
|
+
- (void) dealloc;
|
|
1500
|
+
- (int) connect:(NSString *)target timeout:(long)timeout myId:(NSString *)myId;
|
|
1501
|
+
- (int) disconnect;
|
|
1502
|
+
- (Epos2CommBoxStatusInfo *) getStatus;
|
|
1503
|
+
|
|
1504
|
+
- (int) getCommHistory:(id<Epos2GetCommHistoryDelegate>)delegate;
|
|
1505
|
+
- (int) sendMessage:(NSString *)message targetId:(NSString *)targetId delegate:(id<Epos2CommBoxSendMessageDelegate>)delegate;
|
|
1506
|
+
- (void) setReceiveEventDelegate:(id<Epos2CommBoxReceiveDelegate>)delegate;
|
|
1507
|
+
|
|
1508
|
+
- (void) setConnectionEventDelegate:(id<Epos2ConnectionDelegate>)delegate;
|
|
1509
|
+
- (NSString *) getAdmin;
|
|
1510
|
+
- (NSString *) getLocation;
|
|
1511
|
+
@end
|
|
1512
|
+
|
|
1513
|
+
@interface Epos2CashChangerStatusInfo : NSObject
|
|
1514
|
+
@property(readonly, getter=getConnection) int connection;
|
|
1515
|
+
@end
|
|
1516
|
+
|
|
1517
|
+
@interface Epos2CashChanger : NSObject
|
|
1518
|
+
- (id) init;
|
|
1519
|
+
- (void) dealloc;
|
|
1520
|
+
|
|
1521
|
+
- (int) connect:(NSString *) target timeout:(long)timeout;
|
|
1522
|
+
- (int) disconnect;
|
|
1523
|
+
- (Epos2CashChangerStatusInfo *) getStatus;
|
|
1524
|
+
|
|
1525
|
+
- (int) getOposErrorCode;
|
|
1526
|
+
- (int) setConfigCountMode:(int)countMode;
|
|
1527
|
+
- (int) setConfigLeftCash:(long)coins bills:(long)bills;
|
|
1528
|
+
- (int) readCashCount;
|
|
1529
|
+
- (int) beginDeposit;
|
|
1530
|
+
- (int) pauseDeposit;
|
|
1531
|
+
- (int) restartDeposit;
|
|
1532
|
+
- (int) endDeposit:(int)config;
|
|
1533
|
+
- (int) dispenseChange:(long)cash;
|
|
1534
|
+
- (int) dispenseCash:(NSDictionary *)data;
|
|
1535
|
+
- (int) collectCash:(int)type;
|
|
1536
|
+
- (int) openDrawer;
|
|
1537
|
+
- (int) sendCommand:(NSData *)data;
|
|
1538
|
+
- (int) sendDirectIOCommand:(long)command data:(long)data string:(NSString *)string;
|
|
1539
|
+
|
|
1540
|
+
- (void) setConfigChangeEventDelegate:(id<Epos2CChangerConfigChangeDelegate>)delegate;
|
|
1541
|
+
- (void) setCashCountEventDelegate:(id<Epos2CChangerCashCountDelegate>)delegate;
|
|
1542
|
+
- (void) setDepositEventDelegate:(id<Epos2CChangerDepositDelegate>)delegate;
|
|
1543
|
+
- (void) setDispenseEventDelegate:(id<Epos2CChangerDispenseDelegate>)delegate;
|
|
1544
|
+
- (void) setCollectEventDelegate:(id<Epos2CChangerCollectDelegate>)delegate;
|
|
1545
|
+
- (void) setCommandReplyEventDelegate:(id<Epos2CChangerCommandReplyDelegate>)delegate;
|
|
1546
|
+
- (void) setDirectIOCommandReplyEventDelegate:(id<Epos2CChangerDirectIOCommandReplyDelegate>)delegate;
|
|
1547
|
+
- (void) setStatusChangeEventDelegate:(id<Epos2CChangerStatusChangeDelegate>)delegate;
|
|
1548
|
+
- (void) setDirectIOEventDelegate:(id<Epos2CChangerDirectIODelegate>)delegate;
|
|
1549
|
+
- (void) setStatusUpdateEventDelegate:(id<Epos2CChangerStatusUpdateDelegate>)delegate;
|
|
1550
|
+
|
|
1551
|
+
- (void) setConnectionEventDelegate:(id<Epos2ConnectionDelegate>)delegate;
|
|
1552
|
+
- (NSString *) getAdmin;
|
|
1553
|
+
- (NSString *) getLocation;
|
|
1554
|
+
|
|
1555
|
+
- (int) setBufferingEnabled:(int)enabled;
|
|
1556
|
+
@end
|
|
1557
|
+
|
|
1558
|
+
@interface Epos2POSKeyboardStatusInfo : NSObject
|
|
1559
|
+
@property(readonly, getter=getConnection) int connection;
|
|
1560
|
+
@end
|
|
1561
|
+
|
|
1562
|
+
@interface Epos2POSKeyboard : NSObject
|
|
1563
|
+
- (id) init;
|
|
1564
|
+
- (void) dealloc;
|
|
1565
|
+
|
|
1566
|
+
- (int) connect:(NSString *) target timeout:(long)timeout;
|
|
1567
|
+
- (int) disconnect;
|
|
1568
|
+
- (Epos2POSKeyboardStatusInfo *) getStatus;
|
|
1569
|
+
|
|
1570
|
+
- (void) setKeyPressEventDelegate:(id<Epos2POSKbdKeyPressDelegate>)delegate;
|
|
1571
|
+
|
|
1572
|
+
- (void) setConnectionEventDelegate:(id<Epos2ConnectionDelegate>)delegate;
|
|
1573
|
+
- (NSString *) getAdmin;
|
|
1574
|
+
- (NSString *) getLocation;
|
|
1575
|
+
|
|
1576
|
+
- (int) setBufferingEnabled:(int)enabled;
|
|
1577
|
+
@end
|
|
1578
|
+
|
|
1579
|
+
@interface Epos2CATStatusInfo : NSObject
|
|
1580
|
+
@property(readonly, getter=getConnection) int connection;
|
|
1581
|
+
@end
|
|
1582
|
+
|
|
1583
|
+
@interface Epos2CATAuthorizeResult : NSObject
|
|
1584
|
+
@property(nonatomic, readonly, copy, getter=getAccountNumber) NSString * accountNumber;
|
|
1585
|
+
@property(nonatomic, readonly, getter=getSettledAmount) long settledAmount;
|
|
1586
|
+
@property(nonatomic, readonly, copy, getter=getSlipNumber) NSString * slipNumber;
|
|
1587
|
+
@property(nonatomic, readonly, copy, getter=getKid) NSString * kid;
|
|
1588
|
+
@property(nonatomic, readonly, copy, getter=getApprovalCode) NSString * approvalCode;
|
|
1589
|
+
@property(nonatomic, readonly, copy, getter=getTransactionNumber) NSString * transactionNumber;
|
|
1590
|
+
@property(nonatomic, readonly, getter=getPaymentCondition) int paymentCondition;
|
|
1591
|
+
@property(nonatomic, readonly, copy, getter=getVoidSlipNumber) NSString * voidSlipNumber;
|
|
1592
|
+
@property(nonatomic, readonly, getter=getBalance) long balance;
|
|
1593
|
+
@property(nonatomic, readonly, getter=getAdditionalSecurityInformation) NSString * additionalSecurityInformation;
|
|
1594
|
+
@property(nonatomic, readonly, getter=getTransactionType) NSString * transactionType;
|
|
1595
|
+
@end
|
|
1596
|
+
|
|
1597
|
+
@interface Epos2CATDailyLog : NSObject
|
|
1598
|
+
@property(nonatomic, readonly, copy, getter=getKid) NSString * kid;
|
|
1599
|
+
@property(nonatomic, readonly, getter=getSalesCount) long long salesCount;
|
|
1600
|
+
@property(nonatomic, readonly, getter=getSalesAmount) long long salesAmount;
|
|
1601
|
+
@property(nonatomic, readonly, getter=getVoidCount) long long voidCount;
|
|
1602
|
+
@property(nonatomic, readonly, getter=getVoidAmount) long long voidAmount;
|
|
1603
|
+
@end
|
|
1604
|
+
|
|
1605
|
+
@interface Epos2CATDirectIOResult : NSObject
|
|
1606
|
+
@property(nonatomic, readonly, copy, getter=getAccountNumber) NSString * accountNumber;
|
|
1607
|
+
@property(nonatomic, readonly, getter=getSettledAmount) long settledAmount;
|
|
1608
|
+
@property(nonatomic, readonly, copy, getter=getSlipNumber) NSString * slipNumber;
|
|
1609
|
+
@property(nonatomic, readonly, copy, getter=getTransactionNumber) NSString * transactionNumber;
|
|
1610
|
+
@property(nonatomic, readonly, getter=getPaymentCondition) int paymentCondition;
|
|
1611
|
+
@property(nonatomic, readonly, getter=getBalance) long balance;
|
|
1612
|
+
@property(nonatomic, readonly, copy, getter=getAdditionalSecurityInformation) NSString * additionalSecurityInformation;
|
|
1613
|
+
@end
|
|
1614
|
+
|
|
1615
|
+
@interface Epos2CATCashDepositResult : NSObject
|
|
1616
|
+
@property(nonatomic, readonly, copy, getter=getAccountNumber) NSString * accountNumber;
|
|
1617
|
+
@property(nonatomic, readonly, copy, getter=getSlipNumber) NSString * slipNumber;
|
|
1618
|
+
@property(nonatomic, readonly, getter=getPaymentCondition) int paymentCondition;
|
|
1619
|
+
@property(nonatomic, readonly, getter=getBalance) long balance;
|
|
1620
|
+
@property(nonatomic, readonly, copy, getter=getAdditionalSecurityInformation) NSString * additionalSecurityInformation;
|
|
1621
|
+
@end
|
|
1622
|
+
|
|
1623
|
+
@interface Epos2CAT : NSObject
|
|
1624
|
+
- (id) init;
|
|
1625
|
+
- (void) dealloc;
|
|
1626
|
+
|
|
1627
|
+
- (int) setTimeout:(long)timeout;
|
|
1628
|
+
- (long) getTimeout;
|
|
1629
|
+
- (int) setTrainingMode:(int)mode;
|
|
1630
|
+
- (int) getTrainingMode;
|
|
1631
|
+
|
|
1632
|
+
- (int) connect:(NSString *) target timeout:(long)timeout;
|
|
1633
|
+
- (int) disconnect;
|
|
1634
|
+
- (Epos2CATStatusInfo *) getStatus;
|
|
1635
|
+
|
|
1636
|
+
- (int) getOposErrorCode;
|
|
1637
|
+
- (int) authorizeSales:(int)service totalAmount:(long)totalAmount sequence:(long)sequence;
|
|
1638
|
+
- (int) authorizeSales:(int)service totalAmount:(long)totalAmount amount:(long)amount tax:(long)tax sequence:(long)sequence additionalSecurityInformation:(NSString*) asi;
|
|
1639
|
+
- (int) authorizeVoid:(int)service totalAmount:(long)totalAmount sequence:(long)sequence;
|
|
1640
|
+
- (int) authorizeVoid:(int)service totalAmount:(long)totalAmount amount:(long)amount tax:(long)tax sequence:(long)sequence additionalSecurityInformation:(NSString*) asi;
|
|
1641
|
+
- (int) authorizeRefund:(int)service totalAmount:(long)totalAmount sequence:(long)sequence;
|
|
1642
|
+
- (int) authorizeRefund:(int)service totalAmount:(long)totalAmount amount:(long)amount tax:(long)tax sequence:(long)sequence additionalSecurityInformation:(NSString*) asi;
|
|
1643
|
+
- (int) authorizeCompletion:(int)service totalAmount:(long)totalAmount sequence:(long)sequence;
|
|
1644
|
+
- (int) authorizeCompletion:(int)service totalAmount:(long)totalAmount amount:(long)amount tax:(long)tax sequence:(long)sequence additionalSecurityInformation:(NSString*) asi;
|
|
1645
|
+
- (int) accessDailyLog:(int)service sequence:(long)sequence;
|
|
1646
|
+
- (int) accessDailyLog:(int)service sequence:(long)sequence dailyLogType:(NSString *)dailyLogType additionalSecurityInformation:(NSString*) asi;
|
|
1647
|
+
- (int) sendDirectIOCommand:(long)command data:(long)data string:(NSString *)string service:(int)service;
|
|
1648
|
+
- (int) sendDirectIOCommand:(long)command data:(long)data string:(NSString *)string service:(int)service additionalSecurityInformation:(NSString*) asi;
|
|
1649
|
+
- (int) checkConnection:(NSString*) asi;
|
|
1650
|
+
- (int) clearOutput;
|
|
1651
|
+
- (int) scanCode;
|
|
1652
|
+
- (int) scanData:(long)command string:(NSString *)string;
|
|
1653
|
+
- (int) cashDeposit:(int)service amount:(long)amount sequence:(long)sequence;
|
|
1654
|
+
|
|
1655
|
+
- (void) setAuthorizeSalesEventDelegate:(id<Epos2CATAuthorizeSalesDelegate>)delegate;
|
|
1656
|
+
- (void) setAuthorizeVoidEventDelegate:(id<Epos2CATAuthorizeVoidDelegate>)delegate;
|
|
1657
|
+
- (void) setAuthorizeRefundEventDelegate:(id<Epos2CATAuthorizeRefundDelegate>)delegate;
|
|
1658
|
+
- (void) setAuthorizeCompletionEventDelegate:(id<Epos2CATAuthorizeCompletionDelegate>)delegate;
|
|
1659
|
+
- (void) setAccessDailyLogEventDelegate:(id<Epos2CATAccessDailyLogDelegate>)delegate;
|
|
1660
|
+
- (void) setDirectIOCommandReplyEventDelegate:(id<Epos2CATDirectIOCommandReplyDelegate>)delegate;
|
|
1661
|
+
- (void) setStatusUpdateEventDelegate:(id<Epos2CATStatusUpdateDelegate>)delegate;
|
|
1662
|
+
- (void) setDirectIOEventDelegate:(id<Epos2CATDirectIODelegate>)delegate;
|
|
1663
|
+
- (void) setCheckConnectionEventDelegate:(id<Epos2CATCheckConnectionDelegate>)delegate;
|
|
1664
|
+
- (void) setClearOutputEventDelegate:(id<Epos2CATClearOutputDelegate>)delegate;
|
|
1665
|
+
- (void) setScanCodeEventDelegate:(id<Epos2CATScanCodeDelegate>)delegate;
|
|
1666
|
+
- (void) setScanDataEventDelegate:(id<Epos2CATScanDataDelegate>)delegate;
|
|
1667
|
+
- (void) setCashDepositEventDelegate:(id<Epos2CATCashDepositDelegate>)delegate;
|
|
1668
|
+
- (void) setConnectionEventDelegate:(id<Epos2ConnectionDelegate>)delegate;
|
|
1669
|
+
- (NSString *) getAdmin;
|
|
1670
|
+
- (NSString *) getLocation;
|
|
1671
|
+
|
|
1672
|
+
- (int) setBufferingEnabled:(int)enabled;
|
|
1673
|
+
@end
|
|
1674
|
+
|
|
1675
|
+
@interface Epos2MSRStatusInfo : NSObject
|
|
1676
|
+
@property(readonly, getter=getConnection) int connection;
|
|
1677
|
+
@end
|
|
1678
|
+
|
|
1679
|
+
@interface Epos2MSRData : NSObject
|
|
1680
|
+
@property(nonatomic, readonly, copy, getter=getTrack1) NSString *track1;
|
|
1681
|
+
@property(nonatomic, readonly, copy, getter=getTrack2) NSString *track2;
|
|
1682
|
+
@property(nonatomic, readonly, copy, getter=getTrack4) NSString *track4;
|
|
1683
|
+
@property(nonatomic, readonly, copy, getter=getAccountNumber) NSString *accountNumber;
|
|
1684
|
+
@property(nonatomic, readonly, copy, getter=getExpirationData) NSString *expirationData;
|
|
1685
|
+
@property(nonatomic, readonly, copy, getter=getSurname) NSString *surname;
|
|
1686
|
+
@property(nonatomic, readonly, copy, getter=getFirstName) NSString *firstName;
|
|
1687
|
+
@property(nonatomic, readonly, copy, getter=getMiddleInitial) NSString *middleInitial;
|
|
1688
|
+
@property(nonatomic, readonly, copy, getter=getTitle) NSString *title;
|
|
1689
|
+
@property(nonatomic, readonly, copy, getter=getServiceCode) NSString *serviceCode;
|
|
1690
|
+
@property(nonatomic, readonly, copy, getter=getTrack1_dd) NSString *track1_dd;
|
|
1691
|
+
@property(nonatomic, readonly, copy, getter=getTrack2_dd) NSString *track2_dd;
|
|
1692
|
+
@end
|
|
1693
|
+
|
|
1694
|
+
@interface Epos2MSR : NSObject
|
|
1695
|
+
- (id) init;
|
|
1696
|
+
- (void) dealloc;
|
|
1697
|
+
|
|
1698
|
+
- (int) connect:(NSString *) target timeout:(long)timeout;
|
|
1699
|
+
- (int) disconnect;
|
|
1700
|
+
- (Epos2MSRStatusInfo *) getStatus;
|
|
1701
|
+
|
|
1702
|
+
- (void) setDataEventDelegate:(id<Epos2MSRDataDelegate>)delegate;
|
|
1703
|
+
|
|
1704
|
+
- (void) setConnectionEventDelegate:(id<Epos2ConnectionDelegate>)delegate;
|
|
1705
|
+
- (NSString *) getAdmin;
|
|
1706
|
+
- (NSString *) getLocation;
|
|
1707
|
+
|
|
1708
|
+
- (int) setBufferingEnabled:(int)enabled;
|
|
1709
|
+
@end
|
|
1710
|
+
|
|
1711
|
+
@interface Epos2OtherPeripheralStatusInfo : NSObject
|
|
1712
|
+
@property(readonly, getter=getConnection) int connection;
|
|
1713
|
+
@end
|
|
1714
|
+
|
|
1715
|
+
@interface Epos2OtherPeripheral : NSObject
|
|
1716
|
+
- (id) init;
|
|
1717
|
+
- (void) dealloc;
|
|
1718
|
+
|
|
1719
|
+
- (int) connect:(NSString *) target timeout:(long)timeout;
|
|
1720
|
+
- (int) disconnect;
|
|
1721
|
+
- (Epos2OtherPeripheralStatusInfo *) getStatus;
|
|
1722
|
+
|
|
1723
|
+
- (int)sendData:(NSString *)methodName data:(NSString *)data;
|
|
1724
|
+
- (void) setReceiveEventDelegate:(id<Epos2OtherReceiveDelegate>)delegate;
|
|
1725
|
+
|
|
1726
|
+
- (void) setConnectionEventDelegate:(id<Epos2ConnectionDelegate>)delegate;
|
|
1727
|
+
- (NSString *) getAdmin;
|
|
1728
|
+
- (NSString *) getLocation;
|
|
1729
|
+
|
|
1730
|
+
- (int) setBufferingEnabled:(int)enabled;
|
|
1731
|
+
@end
|
|
1732
|
+
|
|
1733
|
+
@interface Epos2GermanyFiscalElementStatusinfo : NSObject
|
|
1734
|
+
@property(readonly, getter=getConnection) int connection;
|
|
1735
|
+
@end
|
|
1736
|
+
|
|
1737
|
+
@interface Epos2GermanyFiscalElement : NSObject
|
|
1738
|
+
- (id) init;
|
|
1739
|
+
- (void) dealloc;
|
|
1740
|
+
|
|
1741
|
+
- (int) connect:(NSString *) target timeout:(long)timeout;
|
|
1742
|
+
- (int) disconnect;
|
|
1743
|
+
- (Epos2GermanyFiscalElementStatusinfo *) getStatus;
|
|
1744
|
+
- (int) operate:(NSString *)jsonString timeout:(long)timeout;
|
|
1745
|
+
- (void) setReceiveEventDelegate:(id<Epos2GermanyFiscalElementReceiveDelegate>)delegate;
|
|
1746
|
+
|
|
1747
|
+
- (void) setConnectionEventDelegate:(id<Epos2ConnectionDelegate>)delegate;
|
|
1748
|
+
- (NSString *) getAdmin;
|
|
1749
|
+
- (NSString *) getLocation;
|
|
1750
|
+
|
|
1751
|
+
- (int) setBufferingEnabled:(int)enabled;
|
|
1752
|
+
@end
|
|
1753
|
+
|
|
1754
|
+
@interface Epos2FirmwareInfo : NSObject
|
|
1755
|
+
@property(nonatomic, copy, readonly, getter=getVersion) NSString *version;
|
|
1756
|
+
@end
|
|
1757
|
+
|
|
1758
|
+
@interface Epos2FirmwareOption : NSObject
|
|
1759
|
+
@property(strong, nonatomic, readwrite, getter=getPrinterId, setter=setPrinterId:) NSString *printerId;
|
|
1760
|
+
@property(strong, nonatomic, readwrite, getter=getPrinterPassword, setter=setPrinterPassword:) NSString *printerPassword;
|
|
1761
|
+
@property(assign, nonatomic, readwrite, getter=getDoVerification, setter=setDoVerification:) BOOL doVerification;
|
|
1762
|
+
@end
|
|
1763
|
+
|
|
1764
|
+
@interface Epos2FilterOption : NSObject
|
|
1765
|
+
@property(nonatomic, getter=getPortType, setter=setPortType:) int portType;
|
|
1766
|
+
@property(nonatomic, copy, getter=getBroadcast, setter=setBroadcast:) NSString *broadcast;
|
|
1767
|
+
@property(nonatomic, getter=getDeviceModel, setter=setDeviceModel:) int deviceModel;
|
|
1768
|
+
@property(nonatomic, getter=getDeviceType, setter=setDeviceType:) int deviceType;
|
|
1769
|
+
@end
|
|
1770
|
+
|
|
1771
|
+
@interface Epos2DeviceInfo : NSObject
|
|
1772
|
+
@property(nonatomic, readonly, getter=getDeviceType) int deviceType;
|
|
1773
|
+
@property(nonatomic, copy, readonly, getter=getTarget) NSString *target;
|
|
1774
|
+
@property(nonatomic, copy, readonly, getter=getDeviceName) NSString *deviceName;
|
|
1775
|
+
@property(nonatomic, copy, readonly, getter=getIpAddress) NSString *ipAddress;
|
|
1776
|
+
@property(nonatomic, copy, readonly, getter=getMacAddress) NSString *macAddress;
|
|
1777
|
+
@property(nonatomic, copy, readonly, getter=getBdAddress) NSString *bdAddress;
|
|
1778
|
+
@property(nonatomic, copy, readonly, getter=getLeBdAddress) NSString *leBdAddress;
|
|
1779
|
+
@end
|
|
1780
|
+
|
|
1781
|
+
@interface Epos2Discovery : NSObject
|
|
1782
|
+
+ (int) start:(Epos2FilterOption *)filterOption delegate:(id<Epos2DiscoveryDelegate>)delegate;
|
|
1783
|
+
+ (int) stop;
|
|
1784
|
+
@end
|
|
1785
|
+
|
|
1786
|
+
@interface Epos2Log : NSObject
|
|
1787
|
+
+ (int) setLogSettings:(int)period output:(int)output ipAddress:(NSString *)ipAddress port:(int)port logSize:(int)logSize logLevel:(int)logLevel;
|
|
1788
|
+
+(NSString *) getSdkVersion;
|
|
1789
|
+
@end
|
|
1790
|
+
|
|
1791
|
+
|
|
1792
|
+
enum Epos2BtConnection : int {
|
|
1793
|
+
EPOS2_BT_SUCCESS = 0,
|
|
1794
|
+
EPOS2_BT_ERR_PARAM,
|
|
1795
|
+
EPOS2_BT_ERR_UNSUPPORTED,
|
|
1796
|
+
EPOS2_BT_ERR_CANCEL,
|
|
1797
|
+
EPOS2_BT_ERR_ALREADY_CONNECT,
|
|
1798
|
+
EPOS2_BT_ERR_ILLEGAL_DEVICE,
|
|
1799
|
+
EPOS2_BT_ERR_FAILURE = 255
|
|
1800
|
+
};
|
|
1801
|
+
|
|
1802
|
+
@interface Epos2BluetoothConnection : NSObject
|
|
1803
|
+
- (id) init;
|
|
1804
|
+
- (void) dealloc;
|
|
1805
|
+
- (int) connectDevice : (NSMutableString *)target;
|
|
1806
|
+
- (int) disconnectDevice : (NSString *)target;
|
|
1807
|
+
@end
|
|
1808
|
+
|
|
1809
|
+
#endif /*__OBJC__*/
|