node-atol-wrapper 0.0.23 → 0.0.25

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.
@@ -0,0 +1,1560 @@
1
+ #import <Foundation/Foundation.h>
2
+
3
+ #define LIBFPTR_ERROR_MARKING_END 499
4
+ #define LIBFPTR_ERROR_WEB_END 599
5
+ #define LIBFPTR_OFD_CHANNEL_AUTO 2
6
+ #define LIBFPTR_SETTING_LIBRARY_PATH @"LibraryPath"
7
+ #define LIBFPTR_SETTING_MODEL @"Model"
8
+ #define LIBFPTR_SETTING_PORT @"Port"
9
+ #define LIBFPTR_SETTING_BAUDRATE @"BaudRate"
10
+ #define LIBFPTR_SETTING_BITS @"Bits"
11
+ #define LIBFPTR_SETTING_PARITY @"Parity"
12
+ #define LIBFPTR_SETTING_STOPBITS @"StopBits"
13
+ #define LIBFPTR_SETTING_IPADDRESS @"IPAddress"
14
+ #define LIBFPTR_SETTING_IPPORT @"IPPort"
15
+ #define LIBFPTR_SETTING_MACADDRESS @"MACAddress"
16
+ #define LIBFPTR_SETTING_COM_FILE @"ComFile"
17
+ #define LIBFPTR_SETTING_USB_DEVICE_PATH @"UsbDevicePath"
18
+ #define LIBFPTR_SETTING_BT_AUTOENABLE @"AutoEnableBluetooth"
19
+ #define LIBFPTR_SETTING_BT_AUTODISABLE @"AutoDisableBluetooth"
20
+ #define LIBFPTR_SETTING_ACCESS_PASSWORD @"AccessPassword"
21
+ #define LIBFPTR_SETTING_USER_PASSWORD @"UserPassword"
22
+ #define LIBFPTR_SETTING_OFD_CHANNEL @"OfdChannel"
23
+ #define LIBFPTR_SETTING_EXISTED_COM_FILES @"ExistedComFiles"
24
+ #define LIBFPTR_SETTING_SCRIPTS_PATH @"ScriptsPath"
25
+ #define LIBFPTR_SETTING_DOCUMENTS_JOURNAL_PATH @"DocumentsJournalPath"
26
+ #define LIBFPTR_SETTING_USE_DOCUMENTS_JOURNAL @"UseDocumentsJournal"
27
+ #define LIBFPTR_SETTING_AUTO_RECONNECT @"AutoReconnect"
28
+ #define LIBFPTR_SETTING_INVERT_CASH_DRAWER_STATUS @"InvertCashDrawerStatus"
29
+ #define LIBFPTR_SETTING_REMOTE_SERVER_ADDR @"RemoteServerAddr"
30
+ #define LIBFPTR_SETTING_REMOTE_SERVER_CONNECTION_TIMEOUT @"RemoteServerConnectionTimeout"
31
+ #define LIBFPTR_SETTING_VALIDATE_MARK_WITH_FNM_ONLY @"ValidateMarksWithFnmOnly"
32
+ #define LIBFPTR_SETTING_AUTO_MEASUREMENT_UNIT @"AutoMeasurementUnit"
33
+ #define LIBFPTR_SETTING_SILENT_REBOOT @"SilentReboot"
34
+ #define LIBFPTR_MODEL_UNKNOWN 0
35
+ #define LIBFPTR_MODEL_ATOL_25F 57
36
+ #define LIBFPTR_MODEL_ATOL_30F 61
37
+ #define LIBFPTR_MODEL_ATOL_55F 62
38
+ #define LIBFPTR_MODEL_ATOL_22F 63
39
+ #define LIBFPTR_MODEL_ATOL_52F 64
40
+ #define LIBFPTR_MODEL_ATOL_11F 67
41
+ #define LIBFPTR_MODEL_ATOL_77F 69
42
+ #define LIBFPTR_MODEL_ATOL_90F 72
43
+ #define LIBFPTR_MODEL_ATOL_60F 75
44
+ #define LIBFPTR_MODEL_ATOL_42FS 77
45
+ #define LIBFPTR_MODEL_ATOL_15F 78
46
+ #define LIBFPTR_MODEL_ATOL_50F 80
47
+ #define LIBFPTR_MODEL_ATOL_20F 81
48
+ #define LIBFPTR_MODEL_ATOL_91F 82
49
+ #define LIBFPTR_MODEL_ATOL_92F 84
50
+ #define LIBFPTR_MODEL_ATOL_SIGMA_10 86
51
+ #define LIBFPTR_MODEL_ATOL_27F 87
52
+ #define LIBFPTR_MODEL_ATOL_SIGMA_7F 90
53
+ #define LIBFPTR_MODEL_ATOL_SIGMA_8F 91
54
+ #define LIBFPTR_MODEL_ATOL_1F 93
55
+ #define LIBFPTR_MODEL_KAZNACHEY_FA 76
56
+ #define LIBFPTR_MODEL_ATOL_22V2F 95
57
+ #define LIBFPTR_MODEL_ATOL_AUTO 500
58
+ #define LIBFPTR_MODEL_ATOL_47FA 48
59
+ #define LIBFPTR_MODEL_ATOL_PT_5F 89
60
+ #define LIBFPTR_MODEL_ATOL_42FA 70
61
+ #define LIBFPTR_PORT_BR_1200 1200
62
+ #define LIBFPTR_PORT_BR_2400 2400
63
+ #define LIBFPTR_PORT_BR_4800 4800
64
+ #define LIBFPTR_PORT_BR_9600 9600
65
+ #define LIBFPTR_PORT_BR_19200 19200
66
+ #define LIBFPTR_PORT_BR_38400 38400
67
+ #define LIBFPTR_PORT_BR_57600 57600
68
+ #define LIBFPTR_PORT_BR_115200 115200
69
+ #define LIBFPTR_PORT_BR_230400 230400
70
+ #define LIBFPTR_PORT_BR_460800 460800
71
+ #define LIBFPTR_PORT_BR_921600 921600
72
+ #define LIBFPTR_FNS_INITIAL 0
73
+ #define LIBFPTR_FNS_CONFIGURED 1
74
+ #define LIBFPTR_FNS_FISCAL_MODE 3
75
+ #define LIBFPTR_FNS_POSTFISCAL_MODE 7
76
+ #define LIBFPTR_FNS_ACCESS_ARCHIVE 15
77
+ #define LIBFPTR_RT_CLOSED 0
78
+ #define LIBFPTR_RT_SELL 1
79
+ #define LIBFPTR_RT_SELL_RETURN 2
80
+ #define LIBFPTR_RT_SELL_CORRECTION 7
81
+ #define LIBFPTR_RT_SELL_RETURN_CORRECTION 8
82
+ #define LIBFPTR_RT_BUY 4
83
+ #define LIBFPTR_RT_BUY_RETURN 5
84
+ #define LIBFPTR_RT_BUY_CORRECTION 9
85
+ #define LIBFPTR_RT_BUY_RETURN_CORRECTION 10
86
+ #define LIBFPTR_FFD_UNKNOWN 0
87
+ #define LIBFPTR_FFD_1_0 100
88
+ #define LIBFPTR_FFD_1_0_5 105
89
+ #define LIBFPTR_FFD_1_1 110
90
+ #define LIBFPTR_FFD_1_2 120
91
+ #define LIBFPTR_TT_DEFAULT 0
92
+ #define LIBFPTR_TT_OSN 1
93
+ #define LIBFPTR_TT_USN_INCOME 2
94
+ #define LIBFPTR_TT_USN_INCOME_OUTCOME 4
95
+ #define LIBFPTR_TT_ENVD 8
96
+ #define LIBFPTR_TT_ESN 16
97
+ #define LIBFPTR_TT_PATENT 32
98
+ #define LIBFPTR_AT_NONE 0
99
+ #define LIBFPTR_AT_BANK_PAYING_AGENT 1
100
+ #define LIBFPTR_AT_BANK_PAYING_SUBAGENT 2
101
+ #define LIBFPTR_AT_PAYING_AGENT 4
102
+ #define LIBFPTR_AT_PAYING_SUBAGENT 8
103
+ #define LIBFPTR_AT_ATTORNEY 16
104
+ #define LIBFPTR_AT_COMMISSION_AGENT 32
105
+ #define LIBFPTR_AT_ANOTHER 64
106
+ #define LIBFPTR_DT_CLOSED 0
107
+ #define LIBFPTR_DT_RECEIPT_SELL 1
108
+ #define LIBFPTR_DT_RECEIPT_SELL_RETURN 2
109
+ #define LIBFPTR_DT_RECEIPT_BUY 3
110
+ #define LIBFPTR_DT_RECEIPT_BUY_RETURN 4
111
+ #define LIBFPTR_DT_OPEN_SHIFT 5
112
+ #define LIBFPTR_DT_CLOSE_SHIFT 6
113
+ #define LIBFPTR_DT_REGISTRATION 7
114
+ #define LIBFPTR_DT_CLOSE_ARCHIVE 8
115
+ #define LIBFPTR_DT_OFD_EXCHANGE_STATUS 11
116
+ #define LIBFPTR_DT_RECEIPT_SELL_CORRECTION 12
117
+ #define LIBFPTR_DT_RECEIPT_SELL_RETURN_CORRECTION 13
118
+ #define LIBFPTR_DT_RECEIPT_BUY_CORRECTION 14
119
+ #define LIBFPTR_DT_RECEIPT_BUY_RETURN_CORRECTION 15
120
+ #define LIBFPTR_DT_DOCUMENT_SERVICE 20
121
+ #define LIBFPTR_DT_DOCUMENT_COPY 21
122
+ #define LIBFPTR_FN_DOC_REGISTRATION 1
123
+ #define LIBFPTR_FN_DOC_OPEN_SHIFT 2
124
+ #define LIBFPTR_FN_DOC_RECEIPT 3
125
+ #define LIBFPTR_FN_DOC_BSO 4
126
+ #define LIBFPTR_FN_DOC_CLOSE_SHIFT 5
127
+ #define LIBFPTR_FN_DOC_CLOSE_FN 6
128
+ #define LIBFPTR_FN_DOC_OPERATOR_CONFIRMATION 7
129
+ #define LIBFPTR_FN_DOC_REREGISTRATION 11
130
+ #define LIBFPTR_FN_DOC_EXCHANGE_STATUS 21
131
+ #define LIBFPTR_FN_DOC_CORRECTION 31
132
+ #define LIBFPTR_FN_DOC_BSO_CORRECTION 41
133
+ #define LIBFPTR_FWT_FIRMWARE 0
134
+ #define LIBFPTR_FWT_SCRIPTS 2
135
+ #define LIBFPTR_UCF_CALC_SUMS 1
136
+ #define LIBFPTR_UCF_CALC_QUANTITIES 2
137
+ #define LIBFPTR_UCF_CALC_SUMS_OTHERS 4
138
+ #define LIBFPTR_UCF_CALC_QUANTITIES_OTHERS 8
139
+ #define LIBFPTR_UC_OTHERS 4294967295
140
+ #define LIBFPTR_MCT12_AUTO 256
141
+ #define LIBFPTR_MES_UNCHANGED 255
142
+ #define LIBFPTR_IU_PIECE 0
143
+ #define LIBFPTR_IU_GRAM 10
144
+ #define LIBFPTR_IU_KILOGRAM 11
145
+ #define LIBFPTR_IU_TON 12
146
+ #define LIBFPTR_IU_CENTIMETER 20
147
+ #define LIBFPTR_IU_DECIMETER 21
148
+ #define LIBFPTR_IU_METER 22
149
+ #define LIBFPTR_IU_SQUARE_CENTIMETER 30
150
+ #define LIBFPTR_IU_SQUARE_DECIMETER 31
151
+ #define LIBFPTR_IU_SQUARE_METER 32
152
+ #define LIBFPTR_IU_MILLILITER 40
153
+ #define LIBFPTR_IU_LITER 41
154
+ #define LIBFPTR_IU_CUBIC_METER 42
155
+ #define LIBFPTR_IU_KILOWATT_HOUR 50
156
+ #define LIBFPTR_IU_GKAL 51
157
+ #define LIBFPTR_IU_DAY 70
158
+ #define LIBFPTR_IU_HOUR 71
159
+ #define LIBFPTR_IU_MINUTE 72
160
+ #define LIBFPTR_IU_SECOND 73
161
+ #define LIBFPTR_IU_KILOBYTE 80
162
+ #define LIBFPTR_IU_MEGABYTE 81
163
+ #define LIBFPTR_IU_GIGABYTE 82
164
+ #define LIBFPTR_IU_TERABYTE 83
165
+ #define LIBFPTR_IU_OTHER 255
166
+ #define LIBFPTR_ERROR_USERS_SCRIPTS_BASE 1000
167
+ #define LIBFPTR_PLATFORM_UNKNOWN 0
168
+ #define LIBFPTR_PLATFORM_25 25
169
+ #define LIBFPTR_PLATFORM_50 50
170
+ #define LIBFPTR_ERROR_USERS_SCRIPTS_END 1999
171
+ #define LIBFPTR_ERROR_RPC_END 699
172
+
173
+ enum libfptr_param
174
+ {
175
+ LIBFPTR_PARAM_TEXT = 65536,
176
+ LIBFPTR_PARAM_TEXT_WRAP = 65537,
177
+ LIBFPTR_PARAM_ALIGNMENT = 65538,
178
+ LIBFPTR_PARAM_FONT = 65539,
179
+ LIBFPTR_PARAM_FONT_DOUBLE_WIDTH = 65540,
180
+ LIBFPTR_PARAM_FONT_DOUBLE_HEIGHT = 65541,
181
+ LIBFPTR_PARAM_LINESPACING = 65542,
182
+ LIBFPTR_PARAM_BRIGHTNESS = 65543,
183
+ LIBFPTR_PARAM_MODEL = 65544,
184
+ LIBFPTR_PARAM_RECEIPT_TYPE = 65545,
185
+ LIBFPTR_PARAM_REPORT_TYPE = 65546,
186
+ LIBFPTR_PARAM_MODE = 65547,
187
+ LIBFPTR_PARAM_EXTERNAL_DEVICE_TYPE = 65548,
188
+ LIBFPTR_PARAM_EXTERNAL_DEVICE_DATA = 65549,
189
+ LIBFPTR_PARAM_FREQUENCY = 65550,
190
+ LIBFPTR_PARAM_DURATION = 65551,
191
+ LIBFPTR_PARAM_CUT_TYPE = 65552,
192
+ LIBFPTR_PARAM_DRAWER_ON_TIMEOUT = 65553,
193
+ LIBFPTR_PARAM_DRAWER_OFF_TIMEOUT = 65554,
194
+ LIBFPTR_PARAM_DRAWER_ON_QUANTITY = 65555,
195
+ LIBFPTR_PARAM_TIMEOUT_ENQ = 65556,
196
+ LIBFPTR_PARAM_COMMAND_BUFFER = 65557,
197
+ LIBFPTR_PARAM_ANSWER_BUFFER = 65558,
198
+ LIBFPTR_PARAM_SERIAL_NUMBER = 65559,
199
+ LIBFPTR_PARAM_MANUFACTURER_CODE = 65560,
200
+ LIBFPTR_PARAM_NO_NEED_ANSWER = 65561,
201
+ LIBFPTR_PARAM_INFO_DISCOUNT_SUM = 65562,
202
+ LIBFPTR_PARAM_USE_ONLY_TAX_TYPE = 65563,
203
+ LIBFPTR_PARAM_PAYMENT_TYPE = 65564,
204
+ LIBFPTR_PARAM_PAYMENT_SUM = 65565,
205
+ LIBFPTR_PARAM_REMAINDER = 65566,
206
+ LIBFPTR_PARAM_CHANGE = 65567,
207
+ LIBFPTR_PARAM_DEPARTMENT = 65568,
208
+ LIBFPTR_PARAM_TAX_TYPE = 65569,
209
+ LIBFPTR_PARAM_TAX_SUM = 65570,
210
+ LIBFPTR_PARAM_TAX_MODE = 65571,
211
+ LIBFPTR_PARAM_RECEIPT_ELECTRONICALLY = 65572,
212
+ LIBFPTR_PARAM_USER_PASSWORD = 65573,
213
+ LIBFPTR_PARAM_SCALE = 65574,
214
+ LIBFPTR_PARAM_LEFT_MARGIN = 65575,
215
+ LIBFPTR_PARAM_BARCODE = 65576,
216
+ LIBFPTR_PARAM_BARCODE_TYPE = 65577,
217
+ LIBFPTR_PARAM_BARCODE_PRINT_TEXT = 65578,
218
+ LIBFPTR_PARAM_BARCODE_VERSION = 65579,
219
+ LIBFPTR_PARAM_BARCODE_CORRECTION = 65580,
220
+ LIBFPTR_PARAM_BARCODE_COLUMNS = 65581,
221
+ LIBFPTR_PARAM_BARCODE_INVERT = 65582,
222
+ LIBFPTR_PARAM_HEIGHT = 65583,
223
+ LIBFPTR_PARAM_WIDTH = 65584,
224
+ LIBFPTR_PARAM_FILENAME = 65585,
225
+ LIBFPTR_PARAM_PICTURE_NUMBER = 65586,
226
+ LIBFPTR_PARAM_DATA_TYPE = 65587,
227
+ LIBFPTR_PARAM_OPERATOR_ID = 65588,
228
+ LIBFPTR_PARAM_LOGICAL_NUMBER = 65589,
229
+ LIBFPTR_PARAM_DATE_TIME = 65590,
230
+ LIBFPTR_PARAM_FISCAL = 65591,
231
+ LIBFPTR_PARAM_SHIFT_STATE = 65592,
232
+ LIBFPTR_PARAM_CASHDRAWER_OPENED = 65593,
233
+ LIBFPTR_PARAM_RECEIPT_PAPER_PRESENT = 65594,
234
+ LIBFPTR_PARAM_COVER_OPENED = 65595,
235
+ LIBFPTR_PARAM_SUBMODE = 65596,
236
+ LIBFPTR_PARAM_RECEIPT_NUMBER = 65597,
237
+ LIBFPTR_PARAM_DOCUMENT_NUMBER = 65598,
238
+ LIBFPTR_PARAM_SHIFT_NUMBER = 65599,
239
+ LIBFPTR_PARAM_RECEIPT_SUM = 65600,
240
+ LIBFPTR_PARAM_RECEIPT_LINE_LENGTH = 65601,
241
+ LIBFPTR_PARAM_RECEIPT_LINE_LENGTH_PIX = 65602,
242
+ LIBFPTR_PARAM_MODEL_NAME = 65603,
243
+ LIBFPTR_PARAM_UNIT_VERSION = 65604,
244
+ LIBFPTR_PARAM_PRINTER_CONNECTION_LOST = 65605,
245
+ LIBFPTR_PARAM_PRINTER_ERROR = 65606,
246
+ LIBFPTR_PARAM_CUT_ERROR = 65607,
247
+ LIBFPTR_PARAM_PRINTER_OVERHEAT = 65608,
248
+ LIBFPTR_PARAM_UNIT_TYPE = 65609,
249
+ LIBFPTR_PARAM_LICENSE_NUMBER = 65610,
250
+ LIBFPTR_PARAM_LICENSE_ENTERED = 65611,
251
+ LIBFPTR_PARAM_LICENSE = 65612,
252
+ LIBFPTR_PARAM_SUM = 65613,
253
+ LIBFPTR_PARAM_COUNT = 65614,
254
+ LIBFPTR_PARAM_COUNTER_TYPE = 65615,
255
+ LIBFPTR_PARAM_STEP_COUNTER_TYPE = 65616,
256
+ LIBFPTR_PARAM_ERROR_TAG_NUMBER = 65617,
257
+ LIBFPTR_PARAM_TABLE = 65618,
258
+ LIBFPTR_PARAM_ROW = 65619,
259
+ LIBFPTR_PARAM_FIELD = 65620,
260
+ LIBFPTR_PARAM_FIELD_VALUE = 65621,
261
+ LIBFPTR_PARAM_FN_DATA_TYPE = 65622,
262
+ LIBFPTR_PARAM_TAG_NUMBER = 65623,
263
+ LIBFPTR_PARAM_TAG_VALUE = 65624,
264
+ LIBFPTR_PARAM_DOCUMENTS_COUNT = 65625,
265
+ LIBFPTR_PARAM_FISCAL_SIGN = 65626,
266
+ LIBFPTR_PARAM_DEVICE_FFD_VERSION = 65627,
267
+ LIBFPTR_PARAM_FN_FFD_VERSION = 65628,
268
+ LIBFPTR_PARAM_FFD_VERSION = 65629,
269
+ LIBFPTR_PARAM_CHECK_SUM = 65630,
270
+ LIBFPTR_PARAM_COMMODITY_NAME = 65631,
271
+ LIBFPTR_PARAM_PRICE = 65632,
272
+ LIBFPTR_PARAM_QUANTITY = 65633,
273
+ LIBFPTR_PARAM_POSITION_SUM = 65634,
274
+ LIBFPTR_PARAM_FN_TYPE = 65635,
275
+ LIBFPTR_PARAM_FN_VERSION = 65636,
276
+ LIBFPTR_PARAM_REGISTRATIONS_REMAIN = 65637,
277
+ LIBFPTR_PARAM_REGISTRATIONS_COUNT = 65638,
278
+ LIBFPTR_PARAM_NO_ERROR_IF_NOT_SUPPORTED = 65639,
279
+ LIBFPTR_PARAM_OFD_EXCHANGE_STATUS = 65640,
280
+ LIBFPTR_PARAM_FN_ERROR_DATA = 65641,
281
+ LIBFPTR_PARAM_FN_ERROR_CODE = 65642,
282
+ LIBFPTR_PARAM_ENVD_MODE = 65643,
283
+ LIBFPTR_PARAM_DOCUMENT_CLOSED = 65644,
284
+ LIBFPTR_PARAM_JSON_DATA = 65645,
285
+ LIBFPTR_PARAM_COMMAND_SUBSYSTEM = 65646,
286
+ LIBFPTR_PARAM_FN_OPERATION_TYPE = 65647,
287
+ LIBFPTR_PARAM_FN_STATE = 65648,
288
+ LIBFPTR_PARAM_ENVD_MODE_ENABLED = 65649,
289
+ LIBFPTR_PARAM_SETTING_ID = 65650,
290
+ LIBFPTR_PARAM_SETTING_VALUE = 65651,
291
+ LIBFPTR_PARAM_MAPPING_KEY = 65652,
292
+ LIBFPTR_PARAM_MAPPING_VALUE = 65653,
293
+ LIBFPTR_PARAM_COMMODITY_PIECE = 65654,
294
+ LIBFPTR_PARAM_POWER_SOURCE_TYPE = 65655,
295
+ LIBFPTR_PARAM_BATTERY_CHARGE = 65656,
296
+ LIBFPTR_PARAM_VOLTAGE = 65657,
297
+ LIBFPTR_PARAM_USE_BATTERY = 65658,
298
+ LIBFPTR_PARAM_BATTERY_CHARGING = 65659,
299
+ LIBFPTR_PARAM_CAN_PRINT_WHILE_ON_BATTERY = 65660,
300
+ LIBFPTR_PARAM_MAC_ADDRESS = 65661,
301
+ LIBFPTR_PARAM_FN_FISCAL = 65662,
302
+ LIBFPTR_PARAM_NETWORK_ERROR = 65663,
303
+ LIBFPTR_PARAM_OFD_ERROR = 65664,
304
+ LIBFPTR_PARAM_FN_ERROR = 65665,
305
+ LIBFPTR_PARAM_COMMAND_CODE = 65666,
306
+ LIBFPTR_PARAM_PRINTER_TEMPERATURE = 65667,
307
+ LIBFPTR_PARAM_RECORDS_TYPE = 65668,
308
+ LIBFPTR_PARAM_OFD_FISCAL_SIGN = 65669,
309
+ LIBFPTR_PARAM_HAS_OFD_TICKET = 65670,
310
+ LIBFPTR_PARAM_NO_SERIAL_NUMBER = 65671,
311
+ LIBFPTR_PARAM_RTC_FAULT = 65672,
312
+ LIBFPTR_PARAM_SETTINGS_FAULT = 65673,
313
+ LIBFPTR_PARAM_COUNTERS_FAULT = 65674,
314
+ LIBFPTR_PARAM_USER_MEMORY_FAULT = 65675,
315
+ LIBFPTR_PARAM_SERVICE_COUNTERS_FAULT = 65676,
316
+ LIBFPTR_PARAM_ATTRIBUTES_FAULT = 65677,
317
+ LIBFPTR_PARAM_FN_FAULT = 65678,
318
+ LIBFPTR_PARAM_INVALID_FN = 65679,
319
+ LIBFPTR_PARAM_HARD_FAULT = 65680,
320
+ LIBFPTR_PARAM_MEMORY_MANAGER_FAULT = 65681,
321
+ LIBFPTR_PARAM_SCRIPTS_FAULT = 65682,
322
+ LIBFPTR_PARAM_FULL_RESET = 65683,
323
+ LIBFPTR_PARAM_WAIT_FOR_REBOOT = 65684,
324
+ LIBFPTR_PARAM_SCALE_PERCENT = 65685,
325
+ LIBFPTR_PARAM_FN_NEED_REPLACEMENT = 65686,
326
+ LIBFPTR_PARAM_FN_RESOURCE_EXHAUSTED = 65687,
327
+ LIBFPTR_PARAM_FN_MEMORY_OVERFLOW = 65688,
328
+ LIBFPTR_PARAM_FN_OFD_TIMEOUT = 65689,
329
+ LIBFPTR_PARAM_FN_CRITICAL_ERROR = 65690,
330
+ LIBFPTR_PARAM_OFD_MESSAGE_READ = 65691,
331
+ LIBFPTR_PARAM_DEVICE_MIN_FFD_VERSION = 65692,
332
+ LIBFPTR_PARAM_DEVICE_MAX_FFD_VERSION = 65693,
333
+ LIBFPTR_PARAM_DEVICE_UPTIME = 65694,
334
+ LIBFPTR_PARAM_NOMENCLATURE_TYPE = 65695,
335
+ LIBFPTR_PARAM_GTIN = 65696,
336
+ LIBFPTR_PARAM_FN_DOCUMENT_TYPE = 65697,
337
+ LIBFPTR_PARAM_NETWORK_ERROR_TEXT = 65698,
338
+ LIBFPTR_PARAM_FN_ERROR_TEXT = 65699,
339
+ LIBFPTR_PARAM_OFD_ERROR_TEXT = 65700,
340
+ LIBFPTR_PARAM_USER_SCRIPT_ID = 65701,
341
+ LIBFPTR_PARAM_USER_SCRIPT_PARAMETER = 65702,
342
+ LIBFPTR_PARAM_USER_MEMORY_OPERATION = 65703,
343
+ LIBFPTR_PARAM_USER_MEMORY_DATA = 65704,
344
+ LIBFPTR_PARAM_USER_MEMORY_STRING = 65705,
345
+ LIBFPTR_PARAM_USER_MEMORY_ADDRESS = 65706,
346
+ LIBFPTR_PARAM_FN_PRESENT = 65707,
347
+ LIBFPTR_PARAM_BLOCKED = 65708,
348
+ LIBFPTR_PARAM_DOCUMENT_PRINTED = 65709,
349
+ LIBFPTR_PARAM_DISCOUNT_SUM = 65710,
350
+ LIBFPTR_PARAM_SURCHARGE_SUM = 65711,
351
+ LIBFPTR_PARAM_LK_USER_CODE = 65712,
352
+ LIBFPTR_PARAM_LICENSE_COUNT = 65713,
353
+ LIBFPTR_PARAM_DEFER = 65714,
354
+ LIBFPTR_PARAM_CAP_54FZ = 65715,
355
+ LIBFPTR_PARAM_CAP_MANUAL_CLICHE_CONTROL = 65716,
356
+ LIBFPTR_PARAM_CAP_PAYMENTS_COUNT = 65717,
357
+ LIBFPTR_PARAM_FIRMWARE_CHUNK_SIZE = 65718,
358
+ LIBFPTR_PARAM_FIRMWARE_CHUNK_DATA = 65719,
359
+ LIBFPTR_PARAM_FN_FLAGS = 65720,
360
+ LIBFPTR_PARAM_PRINT_FOOTER = 65721,
361
+ LIBFPTR_PARAM_PUBLIC_KEY = 65722,
362
+ LIBFPTR_PARAM_MAGIC_NUMBER = 65723,
363
+ LIBFPTR_PARAM_SIGN = 65724,
364
+ LIBFPTR_PARAM_SOFT_NAME = 65725,
365
+ LIBFPTR_PARAM_SESSION_CODE = 65726,
366
+ LIBFPTR_PARAM_ETHERNET_CONFIG_TIMEOUT = 65727,
367
+ LIBFPTR_PARAM_ETHERNET_DHCP = 65728,
368
+ LIBFPTR_PARAM_ETHERNET_IP = 65729,
369
+ LIBFPTR_PARAM_ETHERNET_MASK = 65730,
370
+ LIBFPTR_PARAM_ETHERNET_GATEWAY = 65731,
371
+ LIBFPTR_PARAM_ETHERNET_PORT = 65732,
372
+ LIBFPTR_PARAM_ETHERNET_DNS_IP = 65733,
373
+ LIBFPTR_PARAM_ETHERNET_DNS_STATIC = 65734,
374
+ LIBFPTR_PARAM_STORE_IN_JOURNAL = 65735,
375
+ LIBFPTR_PARAM_NEW_PLATFORM = 65736,
376
+ LIBFPTR_PARAM_UNIT_RELEASE_VERSION = 65737,
377
+ LIBFPTR_PARAM_USE_VAT18 = 65738,
378
+ LIBFPTR_PARAM_TAG_NAME = 65739,
379
+ LIBFPTR_PARAM_TAG_TYPE = 65740,
380
+ LIBFPTR_PARAM_TAG_IS_COMPLEX = 65741,
381
+ LIBFPTR_PARAM_TAG_IS_REPEATABLE = 65742,
382
+ LIBFPTR_PARAM_SHIFT_AUTO_OPENED = 65743,
383
+ LIBFPTR_PARAM_CONTAINER_FIRMWARE_VERSION = 65744,
384
+ LIBFPTR_PARAM_CONTAINER_CONFIGURATION_VERSION = 65745,
385
+ LIBFPTR_PARAM_CONTAINER_BOOTLOADER_VERSION = 65746,
386
+ LIBFPTR_PARAM_CONTAINER_SCRIPTS_VERSION = 65747,
387
+ LIBFPTR_PARAM_PAPER_NEAR_END = 65748,
388
+ LIBFPTR_PARAM_REPORT_ELECTRONICALLY = 65749,
389
+ LIBFPTR_PARAM_ACTIVATION_METHOD = 65750,
390
+ LIBFPTR_PARAM_KEYS = 65751,
391
+ LIBFPTR_PARAM_UIN = 65752,
392
+ LIBFPTR_PARAM_VERSION = 65753,
393
+ LIBFPTR_PARAM_PUBLIC_KEY_SIGN = 65754,
394
+ LIBFPTR_PARAM_CAP_DISABLE_PRINT_REPORTS = 65755,
395
+ LIBFPTR_PARAM_REGISTRATION_NUMBER = 65756,
396
+ LIBFPTR_PARAM_PIXEL_BUFFER = 65757,
397
+ LIBFPTR_PARAM_REPEAT_NUMBER = 65758,
398
+ LIBFPTR_PARAM_FIELD_TYPE = 65759,
399
+ LIBFPTR_PARAM_MARKING_CODE = 65760,
400
+ LIBFPTR_PARAM_CONTAINER_DIRECT_BOOT_VERSION = 65761,
401
+ LIBFPTR_PARAM_SCRIPT_NAME = 65762,
402
+ LIBFPTR_PARAM_SCRIPT_HASH = 65763,
403
+ LIBFPTR_PARAM_RECORDS_ID = 65764,
404
+ LIBFPTR_PARAM_USER_SCRIPT_RESULT_1 = 65765,
405
+ LIBFPTR_PARAM_USER_SCRIPT_RESULT_2 = 65766,
406
+ LIBFPTR_PARAM_USER_SCRIPT_RESULT_3 = 65767,
407
+ LIBFPTR_PARAM_USER_SCRIPT_RESULT_4 = 65768,
408
+ LIBFPTR_PARAM_USER_SCRIPT_RESULT_5 = 65769,
409
+ LIBFPTR_PARAM_IS_USER_SCRIPT = 65770,
410
+ LIBFPTR_PARAM_DOCUMENT_NUMBER_END = 65771,
411
+ LIBFPTR_PARAM_SHIFT_NUMBER_END = 65772,
412
+ LIBFPTR_PARAM_SCRIPT_CODE = 65773,
413
+ LIBFPTR_PARAM_SCRIPT_RESULT = 65774,
414
+ LIBFPTR_PARAM_SCRIPT_TYPE = 65775,
415
+ LIBFPTR_PARAM_WIFI_CONFIG_TIMEOUT = 65776,
416
+ LIBFPTR_PARAM_WIFI_DHCP = 65777,
417
+ LIBFPTR_PARAM_WIFI_IP = 65778,
418
+ LIBFPTR_PARAM_WIFI_MASK = 65779,
419
+ LIBFPTR_PARAM_WIFI_GATEWAY = 65780,
420
+ LIBFPTR_PARAM_WIFI_PORT = 65781,
421
+ LIBFPTR_PARAM_UC_VERSION = 65782,
422
+ LIBFPTR_PARAM_UC_AVAILABLE_MEMORY = 65783,
423
+ LIBFPTR_PARAM_UC_USED_MEMORY_BY_SUMS = 65784,
424
+ LIBFPTR_PARAM_UC_USED_MEMORY_BY_QUANTITIES = 65785,
425
+ LIBFPTR_PARAM_UC_LAYER_1 = 65786,
426
+ LIBFPTR_PARAM_UC_FLAGS_1 = 65787,
427
+ LIBFPTR_PARAM_UC_MASK_1 = 65788,
428
+ LIBFPTR_PARAM_UC_LAYER_VALUE_1 = 65789,
429
+ LIBFPTR_PARAM_UC_LAYER_2 = 65790,
430
+ LIBFPTR_PARAM_UC_FLAGS_2 = 65791,
431
+ LIBFPTR_PARAM_UC_MASK_2 = 65792,
432
+ LIBFPTR_PARAM_UC_LAYER_VALUE_2 = 65793,
433
+ LIBFPTR_PARAM_UC_LAYER_3 = 65794,
434
+ LIBFPTR_PARAM_UC_FLAGS_3 = 65795,
435
+ LIBFPTR_PARAM_UC_MASK_3 = 65796,
436
+ LIBFPTR_PARAM_UC_LAYER_VALUE_3 = 65797,
437
+ LIBFPTR_PARAM_UC_LAYER_4 = 65798,
438
+ LIBFPTR_PARAM_UC_FLAGS_4 = 65799,
439
+ LIBFPTR_PARAM_UC_MASK_4 = 65800,
440
+ LIBFPTR_PARAM_UC_LAYER_VALUE_4 = 65801,
441
+ LIBFPTR_PARAM_RECEIPTS_COUNT = 65802,
442
+ LIBFPTR_PARAM_PAYMENTS_SUM_CASH = 65803,
443
+ LIBFPTR_PARAM_PAYMENTS_SUM_ELECTRONICALLY = 65804,
444
+ LIBFPTR_PARAM_PAYMENTS_SUM_PREPAID = 65805,
445
+ LIBFPTR_PARAM_PAYMENTS_SUM_CREDIT = 65806,
446
+ LIBFPTR_PARAM_PAYMENTS_SUM_OTHER = 65807,
447
+ LIBFPTR_PARAM_TAXES_SUM_VAT20 = 65808,
448
+ LIBFPTR_PARAM_TAXES_SUM_VAT120 = 65809,
449
+ LIBFPTR_PARAM_TAXES_SUM_VAT10 = 65810,
450
+ LIBFPTR_PARAM_TAXES_SUM_VAT110 = 65811,
451
+ LIBFPTR_PARAM_TAXES_SUM_VAT0 = 65812,
452
+ LIBFPTR_PARAM_TAXES_SUM_NO = 65813,
453
+ LIBFPTR_PARAM_CORRECTIONS_COUNT = 65814,
454
+ LIBFPTR_PARAM_CORRECTIONS_SUM = 65815,
455
+ LIBFPTR_PARAM_FN_COUNTERS_TYPE = 65816,
456
+ LIBFPTR_PARAM_FN_DAYS_REMAIN = 65817,
457
+ LIBFPTR_PARAM_FREE_MEMORY = 65818,
458
+ LIBFPTR_PARAM_FN_MAX_FFD_VERSION = 65819,
459
+ LIBFPTR_PARAM_RECEIPTS_SUM = 65820,
460
+ LIBFPTR_PARAM_LICENSE_NAME = 65821,
461
+ LIBFPTR_PARAM_UNIVERSAL_COUNTERS_FAULT = 65822,
462
+ LIBFPTR_PARAM_USE_LICENSES = 65823,
463
+ LIBFPTR_PARAM_LICENSE_VALID_FROM = 65824,
464
+ LIBFPTR_PARAM_LICENSE_VALID_UNTIL = 65825,
465
+ LIBFPTR_PARAM_MARKING_CODE_TYPE = 65826,
466
+ LIBFPTR_PARAM_SETTING_NAME = 65827,
467
+ LIBFPTR_PARAM_SETTING_TYPE = 65828,
468
+ LIBFPTR_PARAM_FONT_WIDTH = 65829,
469
+ LIBFPTR_PARAM_REMOTE_CALL = 65830,
470
+ LIBFPTR_PARAM_SCRIPT_PARAMS = 65831,
471
+ LIBFPTR_PARAM_IGNORE_EMPTY = 65832,
472
+ LIBFPTR_PARAM_METHOD_DATA = 65833,
473
+ LIBFPTR_PARAM_METHOD_RESULT = 65834,
474
+ LIBFPTR_PARAM_RPC_SERVER_OS = 65835,
475
+ LIBFPTR_PARAM_RPC_SERVER_VERSION = 65836,
476
+ LIBFPTR_PARAM_RPC_DRIVER_VERSION = 65837,
477
+ LIBFPTR_PARAM_LOCKED = 65838,
478
+ LIBFPTR_PARAM_BOUND = 65839,
479
+ LIBFPTR_PARAM_COMMODITIES_TABLE_FAULT = 65840,
480
+ LIBFPTR_PARAM_HAS_ADDITIONAL_DATA = 65841,
481
+ LIBFPTR_PARAM_FISCAL_SIGN_ARCHIVE = 65842,
482
+ LIBFPTR_PARAM_COMMAND_GROUP = 65843,
483
+ LIBFPTR_PARAM_ERROR_CODE = 65844,
484
+ LIBFPTR_PARAM_MARKING_WAIT_FOR_VALIDATION_RESULT = 65845,
485
+ LIBFPTR_PARAM_MARKING_CODE_STATUS = 65846,
486
+ LIBFPTR_PARAM_MARKING_CODE_VALIDATION_RESULT = 65847,
487
+ LIBFPTR_PARAM_MARKING_CODE_OFFLINE_VALIDATION_ERROR = 65848,
488
+ LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_ERROR = 65849,
489
+ LIBFPTR_PARAM_MARKING_CODE_VALIDATION_READY = 65850,
490
+ LIBFPTR_PARAM_MEASUREMENT_UNIT = 65851,
491
+ LIBFPTR_PARAM_MARKING_PROCESSING_MODE = 65852,
492
+ LIBFPTR_PARAM_MARKING_FRACTIONAL_QUANTITY = 65853,
493
+ LIBFPTR_PARAM_PRODUCT_CODE = 65854,
494
+ LIBFPTR_PARAM_TRADE_MARKED_PRODUCTS = 65855,
495
+ LIBFPTR_PARAM_INSURANCE_ACTIVITY = 65856,
496
+ LIBFPTR_PARAM_PAWN_SHOP_ACTIVITY = 65857,
497
+ LIBFPTR_PARAM_TLV_LIST = 65858,
498
+ LIBFPTR_PARAM_CHECK_MARKING_SERVER_READY = 65859,
499
+ LIBFPTR_PARAM_MARKING_SERVER_RESPONSE_TIME = 65860,
500
+ LIBFPTR_PARAM_MARKING_SERVER_ERROR_CODE = 65861,
501
+ LIBFPTR_PARAM_MARKING_SERVER_ERROR_DESCRIPTION = 65862,
502
+ LIBFPTR_PARAM_ISM_ERROR = 65863,
503
+ LIBFPTR_PARAM_ISM_ERROR_TEXT = 65864,
504
+ LIBFPTR_PARAM_MARKING_MODE_CHECKING_STATUS = 65865,
505
+ LIBFPTR_PARAM_MARK_CHECKING_COUNT = 65866,
506
+ LIBFPTR_PARAM_MARK_SOLD_COUNT = 65867,
507
+ LIBFPTR_PARAM_NOTICE_IS_BEGIN = 65868,
508
+ LIBFPTR_PARAM_NOTICE_FREE_MEMORY = 65869,
509
+ LIBFPTR_PARAM_NOTICE_COUNT = 65870,
510
+ LIBFPTR_PARAM_MARKING_NOT_SEND_TO_SERVER = 65871,
511
+ LIBFPTR_PARAM_DOCUMENT_TYPE = 65872,
512
+ LIBFPTR_PARAM_PRINT_REPORT = 65873,
513
+ LIBFPTR_PARAM_FN_EXECUTION = 65874,
514
+ LIBFPTR_PARAM_MCU_SN = 65875,
515
+ LIBFPTR_PARAM_MCU_PART_ID = 65876,
516
+ LIBFPTR_PARAM_MCU_PART_NAME = 65877,
517
+ LIBFPTR_PARAM_IS_REQUEST_SENT = 65878,
518
+ LIBFPTR_PARAM_FN_CHECK_MARK_TIME = 65879,
519
+ LIBFPTR_PARAM_SENDING_MARK_TIME = 65880,
520
+ LIBFPTR_PARAM_MARKING_SERVER_EXCHANGE_TIME = 65881,
521
+ LIBFPTR_PARAM_FULL_SENDING_MARK_TIME = 65882,
522
+ LIBFPTR_PARAM_MARK_CHECKING_STATUS_IN_CASH = 65883,
523
+ LIBFPTR_PARAM_MARK_CHECKING_TYPE_IN_CASH = 65884,
524
+ LIBFPTR_PARAM_MARK_CHECKING_STAGE_IN_CASH = 65885,
525
+ LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_RESULT = 65886,
526
+ LIBFPTR_PARAM_MARKING_CODE_ONLINE_VALIDATION_ERROR_DESCRIPTION = 65887,
527
+ LIBFPTR_PARAM_FN_CONTAINS_KEYS_UPDATER_SERVER_URI = 65888,
528
+ LIBFPTR_PARAM_MARKING_CODE_CLEAR = 65889,
529
+ LIBFPTR_PARAM_MODULE_ADDRESS = 65890,
530
+ LIBFPTR_PARAM_SEGMENT_ADDRESS = 65891,
531
+ LIBFPTR_PARAM_LAST_SUCCESSFUL_OKP = 65892,
532
+ LIBFPTR_PARAM_FN_SERIAL_NUMBER = 65893,
533
+ LIBFPTR_PARAM_ECR_REGISTRATION_NUMBER = 65894,
534
+ LIBFPTR_PARAM_OFD_VATIN = 65895,
535
+ LIBFPTR_PARAM_FNS_URL = 65896,
536
+ LIBFPTR_PARAM_MACHINE_NUMBER = 65897,
537
+ LIBFPTR_PARAM_MARKING_PRODUCT_ID = 65898,
538
+ LIBFPTR_PARAM_TIMEOUT = 65899,
539
+ LIBFPTR_PARAM_PRINT_UPDATE_FNM_KEYS_REPORT = 65900,
540
+ LIBFPTR_PARAM_FN_KEYS_UPDATER_SERVER_URI = 65901,
541
+ LIBFPTR_PARAM_DOCUMENT_ELECTRONICALLY = 65902,
542
+ LIBFPTR_PARAM_FORMAT_TEXT = 65903,
543
+ LIBFPTR_PARAM_RECEIPT_SIZE = 65904,
544
+ LIBFPTR_PARAM_MARK_SIZE = 65905,
545
+ LIBFPTR_PARAM_MCU_TEMPERATURE = 65906,
546
+ LIBFPTR_PARAM_DATA_FOR_SEND_IS_EMPTY = 65907,
547
+ LIBFPTR_PARAM_AVAILABLE_CLOSING = 65908,
548
+ LIBFPTR_PARAM_AVAILABLE_CANCELLATION = 65909,
549
+ LIBFPTR_PARAM_AVAILABLE_POSITION_ADDING = 65910,
550
+ LIBFPTR_PARAM_AVAILABLE_PAYMENT = 65911,
551
+ LIBFPTR_PARAM_AVAILABLE_TOTAL = 65912,
552
+ LIBFPTR_PARAM_AVAILABLE_ATTRIBUTES_ADDING = 65913,
553
+ LIBFPTR_PARAM_OPERATOR_REGISTERED = 65914,
554
+ LIBFPTR_PARAM_DEVICE_PLATFORM_VERSION = 65915,
555
+ };
556
+
557
+ enum libfptr_error
558
+ {
559
+ LIBFPTR_OK = 0,
560
+ LIBFPTR_ERROR_CONNECTION_DISABLED = 1,
561
+ LIBFPTR_ERROR_NO_CONNECTION = 2,
562
+ LIBFPTR_ERROR_PORT_BUSY = 3,
563
+ LIBFPTR_ERROR_PORT_NOT_AVAILABLE = 4,
564
+ LIBFPTR_ERROR_INCORRECT_DATA = 5,
565
+ LIBFPTR_ERROR_INTERNAL = 6,
566
+ LIBFPTR_ERROR_UNSUPPORTED_CAST = 7,
567
+ LIBFPTR_ERROR_NO_REQUIRED_PARAM = 8,
568
+ LIBFPTR_ERROR_INVALID_SETTINGS = 9,
569
+ LIBFPTR_ERROR_NOT_CONFIGURED = 10,
570
+ LIBFPTR_ERROR_NOT_SUPPORTED = 11,
571
+ LIBFPTR_ERROR_INVALID_MODE = 12,
572
+ LIBFPTR_ERROR_INVALID_PARAM = 13,
573
+ LIBFPTR_ERROR_NOT_LOADED = 14,
574
+ LIBFPTR_ERROR_UNKNOWN = 15,
575
+ LIBFPTR_ERROR_INVALID_SUM = 16,
576
+ LIBFPTR_ERROR_INVALID_QUANTITY = 17,
577
+ LIBFPTR_ERROR_CASH_COUNTER_OVERFLOW = 18,
578
+ LIBFPTR_ERROR_LAST_OPERATION_STORNO_DENIED = 19,
579
+ LIBFPTR_ERROR_STORNO_BY_CODE_DENIED = 20,
580
+ LIBFPTR_ERROR_LAST_OPERATION_NOT_REPEATABLE = 21,
581
+ LIBFPTR_ERROR_DISCOUNT_NOT_REPEATABLE = 22,
582
+ LIBFPTR_ERROR_DISCOUNT_DENIED = 23,
583
+ LIBFPTR_ERROR_INVALID_COMMODITY_CODE = 24,
584
+ LIBFPTR_ERROR_INVALID_COMMODITY_BARCODE = 25,
585
+ LIBFPTR_ERROR_INVALID_COMMAND_FORMAT = 26,
586
+ LIBFPTR_ERROR_INVALID_COMMAND_LENGTH = 27,
587
+ LIBFPTR_ERROR_BLOCKED_IN_DATE_INPUT_MODE = 28,
588
+ LIBFPTR_ERROR_NEED_DATE_ACCEPT = 29,
589
+ LIBFPTR_ERROR_NO_MORE_DATA = 30,
590
+ LIBFPTR_ERROR_NO_ACCEPT_OR_CANCEL = 31,
591
+ LIBFPTR_ERROR_BLOCKED_BY_REPORT_INTERRUPTION = 32,
592
+ LIBFPTR_ERROR_DISABLE_CASH_CONTROL_DENIED = 33,
593
+ LIBFPTR_ERROR_MODE_BLOCKED = 34,
594
+ LIBFPTR_ERROR_CHECK_DATE_TIME = 35,
595
+ LIBFPTR_ERROR_DATE_TIME_LESS_THAN_FS = 36,
596
+ LIBFPTR_ERROR_CLOSE_ARCHIVE_DENIED = 37,
597
+ LIBFPTR_ERROR_COMMODITY_NOT_FOUND = 38,
598
+ LIBFPTR_ERROR_WEIGHT_BARCODE_WITH_INVALID_QUANTITY = 39,
599
+ LIBFPTR_ERROR_RECEIPT_BUFFER_OVERFLOW = 40,
600
+ LIBFPTR_ERROR_QUANTITY_TOO_FEW = 41,
601
+ LIBFPTR_ERROR_STORNO_TOO_MUCH = 42,
602
+ LIBFPTR_ERROR_BLOCKED_COMMODITY_NOT_FOUND = 43,
603
+ LIBFPTR_ERROR_NO_PAPER = 44,
604
+ LIBFPTR_ERROR_COVER_OPENED = 45,
605
+ LIBFPTR_ERROR_PRINTER_FAULT = 46,
606
+ LIBFPTR_ERROR_MECHANICAL_FAULT = 47,
607
+ LIBFPTR_ERROR_INVALID_RECEIPT_TYPE = 48,
608
+ LIBFPTR_ERROR_INVALID_UNIT_TYPE = 49,
609
+ LIBFPTR_ERROR_NO_MEMORY = 50,
610
+ LIBFPTR_ERROR_PICTURE_NOT_FOUND = 51,
611
+ LIBFPTR_ERROR_NONCACH_PAYMENTS_TOO_MUCH = 52,
612
+ LIBFPTR_ERROR_RETURN_DENIED = 53,
613
+ LIBFPTR_ERROR_PAYMENTS_OVERFLOW = 54,
614
+ LIBFPTR_ERROR_BUSY = 55,
615
+ LIBFPTR_ERROR_GSM = 56,
616
+ LIBFPTR_ERROR_INVALID_DISCOUNT = 57,
617
+ LIBFPTR_ERROR_OPERATION_AFTER_DISCOUNT_DENIED = 58,
618
+ LIBFPTR_ERROR_INVALID_DEPARTMENT = 59,
619
+ LIBFPTR_ERROR_INVALID_PAYMENT_TYPE = 60,
620
+ LIBFPTR_ERROR_MULTIPLICATION_OVERFLOW = 61,
621
+ LIBFPTR_ERROR_DENIED_BY_SETTINGS = 62,
622
+ LIBFPTR_ERROR_TOTAL_OVERFLOW = 63,
623
+ LIBFPTR_ERROR_DENIED_IN_ANNULATION_RECEIPT = 64,
624
+ LIBFPTR_ERROR_JOURNAL_OVERFLOW = 65,
625
+ LIBFPTR_ERROR_NOT_FULLY_PAID = 66,
626
+ LIBFPTR_ERROR_DENIED_IN_RETURN_RECEIPT = 67,
627
+ LIBFPTR_ERROR_SHIFT_EXPIRED = 68,
628
+ LIBFPTR_ERROR_DENIED_IN_SELL_RECEIPT = 69,
629
+ LIBFPTR_ERROR_FISCAL_MEMORY_OVERFLOW = 70,
630
+ LIBFPTR_ERROR_INVALID_PASSWORD = 71,
631
+ LIBFPTR_ERROR_JOURNAL_BUSY = 72,
632
+ LIBFPTR_ERROR_DENIED_IN_CLOSED_SHIFT = 73,
633
+ LIBFPTR_ERROR_INVALID_TABLE_NUMBER = 74,
634
+ LIBFPTR_ERROR_INVALID_ROW_NUMBER = 75,
635
+ LIBFPTR_ERROR_INVALID_FIELD_NUMBER = 76,
636
+ LIBFPTR_ERROR_INVALID_DATE_TIME = 77,
637
+ LIBFPTR_ERROR_INVALID_STORNO_SUM = 78,
638
+ LIBFPTR_ERROR_CHANGE_CALCULATION = 79,
639
+ LIBFPTR_ERROR_NO_CASH = 80,
640
+ LIBFPTR_ERROR_DENIED_IN_CLOSED_RECEIPT = 81,
641
+ LIBFPTR_ERROR_DENIED_IN_OPENED_RECEIPT = 82,
642
+ LIBFPTR_ERROR_DENIED_IN_OPENED_SHIFT = 83,
643
+ LIBFPTR_ERROR_SERIAL_NUMBER_ALREADY_ENTERED = 84,
644
+ LIBFPTR_ERROR_TOO_MUCH_REREGISTRATIONS = 85,
645
+ LIBFPTR_ERROR_INVALID_SHIFT_NUMBER = 86,
646
+ LIBFPTR_ERROR_INVALID_SERIAL_NUMBER = 87,
647
+ LIBFPTR_ERROR_INVALID_RNM_VATIN = 88,
648
+ LIBFPTR_ERROR_FISCAL_PRINTER_NOT_ACTIVATED = 89,
649
+ LIBFPTR_ERROR_SERIAL_NUMBER_NOT_ENTERED = 90,
650
+ LIBFPTR_ERROR_NO_MORE_REPORTS = 91,
651
+ LIBFPTR_ERROR_MODE_NOT_ACTIVATED = 92,
652
+ LIBFPTR_ERROR_RECORD_NOT_FOUND_IN_JOURNAL = 93,
653
+ LIBFPTR_ERROR_INVALID_LICENSE = 94,
654
+ LIBFPTR_ERROR_NEED_FULL_RESET = 95,
655
+ LIBFPTR_ERROR_DENIED_BY_LICENSE = 96,
656
+ LIBFPTR_ERROR_DISCOUNT_CANCELLATION_DENIED = 97,
657
+ LIBFPTR_ERROR_CLOSE_RECEIPT_DENIED = 98,
658
+ LIBFPTR_ERROR_INVALID_ROUTE_NUMBER = 99,
659
+ LIBFPTR_ERROR_INVALID_START_ZONE_NUMBER = 100,
660
+ LIBFPTR_ERROR_INVALID_END_ZONE_NUMBER = 101,
661
+ LIBFPTR_ERROR_INVALID_RATE_TYPE = 102,
662
+ LIBFPTR_ERROR_INVALID_RATE = 103,
663
+ LIBFPTR_ERROR_FISCAL_MODULE_EXCHANGE = 104,
664
+ LIBFPTR_ERROR_NEED_TECHNICAL_SUPPORT = 105,
665
+ LIBFPTR_ERROR_SHIFT_NUMBERS_DID_NOT_MATCH = 106,
666
+ LIBFPTR_ERROR_DEVICE_NOT_FOUND = 107,
667
+ LIBFPTR_ERROR_EXTERNAL_DEVICE_CONNECTION = 108,
668
+ LIBFPTR_ERROR_DISPENSER_INVALID_STATE = 109,
669
+ LIBFPTR_ERROR_INVALID_POSITIONS_COUNT = 110,
670
+ LIBFPTR_ERROR_DISPENSER_INVALID_NUMBER = 111,
671
+ LIBFPTR_ERROR_INVALID_DIVIDER = 112,
672
+ LIBFPTR_ERROR_FN_ACTIVATION_DENIED = 113,
673
+ LIBFPTR_ERROR_PRINTER_OVERHEAT = 114,
674
+ LIBFPTR_ERROR_FN_EXCHANGE = 115,
675
+ LIBFPTR_ERROR_FN_INVALID_FORMAT = 116,
676
+ LIBFPTR_ERROR_FN_INVALID_STATE = 117,
677
+ LIBFPTR_ERROR_FN_FAULT = 118,
678
+ LIBFPTR_ERROR_FN_CRYPTO_FAULT = 119,
679
+ LIBFPTR_ERROR_FN_EXPIRED = 120,
680
+ LIBFPTR_ERROR_FN_OVERFLOW = 121,
681
+ LIBFPTR_ERROR_FN_INVALID_DATE_TIME = 122,
682
+ LIBFPTR_ERROR_FN_NO_MORE_DATA = 123,
683
+ LIBFPTR_ERROR_FN_TOTAL_OVERFLOW = 124,
684
+ LIBFPTR_ERROR_BUFFER_OVERFLOW = 125,
685
+ LIBFPTR_ERROR_PRINT_SECOND_COPY_DENIED = 126,
686
+ LIBFPTR_ERROR_NEED_RESET_JOURNAL = 127,
687
+ LIBFPTR_ERROR_TAX_SUM_TOO_MUCH = 128,
688
+ LIBFPTR_ERROR_TAX_ON_LAST_OPERATION_DENIED = 129,
689
+ LIBFPTR_ERROR_INVALID_FN_NUMBER = 130,
690
+ LIBFPTR_ERROR_TAX_CANCEL_DENIED = 131,
691
+ LIBFPTR_ERROR_LOW_BATTERY = 132,
692
+ LIBFPTR_ERROR_FN_INVALID_COMMAND = 133,
693
+ LIBFPTR_ERROR_FN_COMMAND_OVERFLOW = 134,
694
+ LIBFPTR_ERROR_FN_NO_TRANSPORT_CONNECTION = 135,
695
+ LIBFPTR_ERROR_FN_CRYPTO_HAS_EXPIRED = 136,
696
+ LIBFPTR_ERROR_FN_RESOURCE_HAS_EXPIRED = 137,
697
+ LIBFPTR_ERROR_INVALID_MESSAGE_FROM_OFD = 138,
698
+ LIBFPTR_ERROR_FN_HAS_NOT_SEND_DOCUMENTS = 139,
699
+ LIBFPTR_ERROR_FN_TIMEOUT = 140,
700
+ LIBFPTR_ERROR_FN_SHIFT_EXPIRED = 141,
701
+ LIBFPTR_ERROR_FN_INVALID_TIME_DIFFERENCE = 142,
702
+ LIBFPTR_ERROR_INVALID_TAXATION_TYPE = 143,
703
+ LIBFPTR_ERROR_INVALID_TAX_TYPE = 144,
704
+ LIBFPTR_ERROR_INVALID_COMMODITY_PAYMENT_TYPE = 145,
705
+ LIBFPTR_ERROR_INVALID_COMMODITY_CODE_TYPE = 146,
706
+ LIBFPTR_ERROR_EXCISABLE_COMMODITY_DENIED = 147,
707
+ LIBFPTR_ERROR_FISCAL_PROPERTY_WRITE = 148,
708
+ LIBFPTR_ERROR_INVALID_COUNTER_TYPE = 149,
709
+ LIBFPTR_ERROR_CUTTER_FAULT = 150,
710
+ LIBFPTR_ERROR_REPORT_INTERRUPTED = 151,
711
+ LIBFPTR_ERROR_INVALID_LEFT_MARGIN = 152,
712
+ LIBFPTR_ERROR_INVALID_ALIGNMENT = 153,
713
+ LIBFPTR_ERROR_INVALID_TAX_MODE = 154,
714
+ LIBFPTR_ERROR_FILE_NOT_FOUND = 155,
715
+ LIBFPTR_ERROR_PICTURE_TOO_BIG = 156,
716
+ LIBFPTR_ERROR_INVALID_BARCODE_PARAMS = 157,
717
+ LIBFPTR_ERROR_FISCAL_PROPERTY_DENIED = 158,
718
+ LIBFPTR_ERROR_FN_INTERFACE = 159,
719
+ LIBFPTR_ERROR_DATA_DUPLICATE = 160,
720
+ LIBFPTR_ERROR_NO_REQUIRED_FISCAL_PROPERTY = 161,
721
+ LIBFPTR_ERROR_FN_READ_DOCUMENT = 162,
722
+ LIBFPTR_ERROR_FLOAT_OVERFLOW = 163,
723
+ LIBFPTR_ERROR_INVALID_SETTING_VALUE = 164,
724
+ LIBFPTR_ERROR_HARD_FAULT = 165,
725
+ LIBFPTR_ERROR_FN_NOT_FOUND = 166,
726
+ LIBFPTR_ERROR_INVALID_AGENT_FISCAL_PROPERTY = 167,
727
+ LIBFPTR_ERROR_INVALID_FISCAL_PROPERTY_VALUE_1002_1056 = 168,
728
+ LIBFPTR_ERROR_INVALID_FISCAL_PROPERTY_VALUE_1002_1017 = 169,
729
+ LIBFPTR_ERROR_SCRIPT = 170,
730
+ LIBFPTR_ERROR_INVALID_USER_MEMORY_INDEX = 171,
731
+ LIBFPTR_ERROR_NO_ACTIVE_OPERATOR = 172,
732
+ LIBFPTR_ERROR_REGISTRATION_REPORT_INTERRUPTED = 173,
733
+ LIBFPTR_ERROR_CLOSE_FN_REPORT_INTERRUPTED = 174,
734
+ LIBFPTR_ERROR_OPEN_SHIFT_REPORT_INTERRUPTED = 175,
735
+ LIBFPTR_ERROR_OFD_EXCHANGE_REPORT_INTERRUPTED = 176,
736
+ LIBFPTR_ERROR_CLOSE_RECEIPT_INTERRUPTED = 177,
737
+ LIBFPTR_ERROR_FN_QUERY_INTERRUPTED = 178,
738
+ LIBFPTR_ERROR_RTC_FAULT = 179,
739
+ LIBFPTR_ERROR_MEMORY_FAULT = 180,
740
+ LIBFPTR_ERROR_CHIP_FAULT = 181,
741
+ LIBFPTR_ERROR_TEMPLATES_CORRUPTED = 182,
742
+ LIBFPTR_ERROR_INVALID_MAC_ADDRESS = 183,
743
+ LIBFPTR_ERROR_INVALID_SCRIPT_NUMBER = 184,
744
+ LIBFPTR_ERROR_SCRIPTS_FAULT = 185,
745
+ LIBFPTR_ERROR_INVALID_SCRIPTS_VERSION = 186,
746
+ LIBFPTR_ERROR_INVALID_CLICHE_FORMAT = 187,
747
+ LIBFPTR_ERROR_WAIT_FOR_REBOOT = 188,
748
+ LIBFPTR_ERROR_NO_LICENSE = 189,
749
+ LIBFPTR_ERROR_INVALID_FFD_VERSION = 190,
750
+ LIBFPTR_ERROR_CHANGE_SETTING_DENIED = 191,
751
+ LIBFPTR_ERROR_INVALID_NOMENCLATURE_TYPE = 192,
752
+ LIBFPTR_ERROR_INVALID_GTIN = 193,
753
+ LIBFPTR_ERROR_NEGATIVE_MATH_RESULT = 194,
754
+ LIBFPTR_ERROR_FISCAL_PROPERTIES_COMBINATION = 195,
755
+ LIBFPTR_ERROR_OPERATOR_LOGIN = 196,
756
+ LIBFPTR_ERROR_INVALID_INTERNET_CHANNEL = 197,
757
+ LIBFPTR_ERROR_DATETIME_NOT_SYNCRONIZED = 198,
758
+ LIBFPTR_ERROR_JOURNAL = 199,
759
+ LIBFPTR_ERROR_DENIED_IN_OPENED_DOC = 200,
760
+ LIBFPTR_ERROR_DENIED_IN_CLOSED_DOC = 201,
761
+ LIBFPTR_ERROR_LICENSE_MEMORY_OVERFLOW = 202,
762
+ LIBFPTR_ERROR_NEED_CANCEL_DOCUMENT = 203,
763
+ LIBFPTR_ERROR_REGISTERS_NOT_INITIALIZED = 204,
764
+ LIBFPTR_ERROR_TOTAL_REQUIRED = 205,
765
+ LIBFPTR_ERROR_SETTINGS_FAULT = 206,
766
+ LIBFPTR_ERROR_COUNTERS_FAULT = 207,
767
+ LIBFPTR_ERROR_USER_MEMORY_FAULT = 208,
768
+ LIBFPTR_ERROR_SERVICE_COUNTERS_FAULT = 209,
769
+ LIBFPTR_ERROR_ATTRIBUTES_FAULT = 210,
770
+ LIBFPTR_ERROR_ALREADY_IN_UPDATE_MODE = 211,
771
+ LIBFPTR_ERROR_INVALID_FIRMWARE = 212,
772
+ LIBFPTR_ERROR_INVALID_CHANNEL = 213,
773
+ LIBFPTR_ERROR_INTERFACE_DOWN = 214,
774
+ LIBFPTR_ERROR_INVALID_FISCAL_PROPERTY_VALUE_1212_1030 = 215,
775
+ LIBFPTR_ERROR_INVALID_FISCAL_PROPERTY_VALUE_1214 = 216,
776
+ LIBFPTR_ERROR_INVALID_FISCAL_PROPERTY_VALUE_1212 = 217,
777
+ LIBFPTR_ERROR_SYNC_TIME = 218,
778
+ LIBFPTR_ERROR_VAT18_VAT20_IN_RECEIPT = 219,
779
+ LIBFPTR_ERROR_PICTURE_NOT_CLOSED = 220,
780
+ LIBFPTR_ERROR_INTERFACE_BUSY = 221,
781
+ LIBFPTR_ERROR_INVALID_PICTURE_NUMBER = 222,
782
+ LIBFPTR_ERROR_INVALID_CONTAINER = 223,
783
+ LIBFPTR_ERROR_ARCHIVE_CLOSED = 224,
784
+ LIBFPTR_ERROR_NEED_REGISTRATION = 225,
785
+ LIBFPTR_ERROR_DENIED_DURING_UPDATE = 226,
786
+ LIBFPTR_ERROR_INVALID_TOTAL = 227,
787
+ LIBFPTR_ERROR_MARKING_CODE_CONFLICT = 228,
788
+ LIBFPTR_ERROR_INVALID_RECORDS_ID = 229,
789
+ LIBFPTR_ERROR_INVALID_SIGNATURE = 230,
790
+ LIBFPTR_ERROR_INVALID_EXCISE_SUM = 231,
791
+ LIBFPTR_ERROR_NO_DOCUMENTS_FOUND_IN_JOURNAL = 232,
792
+ LIBFPTR_ERROR_INVALID_SCRIPT_TYPE = 233,
793
+ LIBFPTR_ERROR_INVALID_SCRIPT_NAME = 234,
794
+ LIBFPTR_ERROR_INVALID_POSITIONS_COUNT_WITH_1162 = 235,
795
+ LIBFPTR_ERROR_INVALID_UC_COUNTER = 236,
796
+ LIBFPTR_ERROR_INVALID_UC_TAG = 237,
797
+ LIBFPTR_ERROR_INVALID_UC_IDX = 238,
798
+ LIBFPTR_ERROR_INVALID_UC_SIZE = 239,
799
+ LIBFPTR_ERROR_INVALID_UC_CONFIG = 240,
800
+ LIBFPTR_ERROR_CONNECTION_LOST = 241,
801
+ LIBFPTR_ERROR_UNIVERSAL_COUNTERS_FAULT = 242,
802
+ LIBFPTR_ERROR_INVALID_TAX_SUM = 243,
803
+ LIBFPTR_ERROR_INVALID_MARKING_CODE_TYPE = 244,
804
+ LIBFPTR_ERROR_LICENSE_HARD_FAULT = 245,
805
+ LIBFPTR_ERROR_LICENSE_INVALID_SIGN = 246,
806
+ LIBFPTR_ERROR_LICENSE_INVALID_SERIAL = 247,
807
+ LIBFPTR_ERROR_LICENSE_INVALID_TIME = 248,
808
+ LIBFPTR_ERROR_DOCUMENT_CANCELED = 249,
809
+ LIBFPTR_ERROR_INVALID_SCRIPT_PARAMS = 250,
810
+ LIBFPTR_ERROR_CLICHE_TOO_LONG = 251,
811
+ LIBFPTR_ERROR_COMMODITIES_TABLE_FAULT = 252,
812
+ LIBFPTR_ERROR_COMMODITIES_TABLE = 253,
813
+ LIBFPTR_ERROR_COMMODITIES_TABLE_INVALID_TAG = 254,
814
+ LIBFPTR_ERROR_COMMODITIES_TABLE_INVALID_TAG_SIZE = 255,
815
+ LIBFPTR_ERROR_COMMODITIES_TABLE_NO_TAG_DATA = 256,
816
+ LIBFPTR_ERROR_COMMODITIES_TABLE_NO_FREE_MEMORY = 257,
817
+ LIBFPTR_ERROR_INVALID_CACHE = 258,
818
+ LIBFPTR_ERROR_SCHEDULER_NOT_READY = 259,
819
+ LIBFPTR_ERROR_SCHEDULER_INVALID_TASK = 260,
820
+ LIBFPTR_ERROR_MINIPOS_NO_POSITION_PAYMENT = 261,
821
+ LIBFPTR_ERROR_MINIPOS_COMMAND_TIME_OUT = 262,
822
+ LIBFPTR_ERROR_MINIPOS_MODE_FR_DISABLED = 263,
823
+ LIBFPTR_ERROR_ENTRY_NOT_FOUND_IN_OTP = 264,
824
+ LIBFPTR_ERROR_EXCISABLE_COMMODITY_WITHOUT_EXCISE = 265,
825
+ LIBFPTR_ERROR_BARCODE_TYPE_NOT_SUPPORTED = 266,
826
+ LIBFPTR_ERROR_OVERLAY_DATA_OVERFLOW = 267,
827
+ LIBFPTR_ERROR_INVALID_MODULE_ADDRESS = 268,
828
+ LIBFPTR_ERROR_ECR_MODEL_NOT_SUPPORTED = 269,
829
+ LIBFPTR_ERROR_PAID_NOT_REQUIRED = 270,
830
+ LIBFPTR_ERROR_NON_PRINTABLE_CHAR = 271,
831
+ };
832
+
833
+ enum libfptr_marking_error
834
+ {
835
+ LIBFPTR_ERROR_BASE_MARKING = 400,
836
+ LIBFPTR_ERROR_MARKING_CODE_VALIDATION_IN_PROGRESS = 401,
837
+ LIBFPTR_ERROR_NO_CONNECTION_WITH_SERVER = 402,
838
+ LIBFPTR_ERROR_MARKING_CODE_VALIDATION_CANCELED = 403,
839
+ LIBFPTR_ERROR_INVALID_MARKING_CODE_STATUS = 404,
840
+ LIBFPTR_ERROR_INVALID_GS1 = 405,
841
+ LIBFPTR_ERROR_MARKING_WORK_DENIED = 406,
842
+ LIBFPTR_ERROR_MARKING_WORK_TEMPORARY_BLOCKED = 407,
843
+ LIBFPTR_ERROR_MARKS_OVERFLOW = 408,
844
+ LIBFPTR_ERROR_INVALID_MARKING_CODE = 409,
845
+ LIBFPTR_ERROR_INVALID_STATE = 410,
846
+ LIBFPTR_ERROR_OFD_EXCHANGE = 411,
847
+ LIBFPTR_ERROR_INVALID_MEASUREMENT_UNIT = 412,
848
+ LIBFPTR_ERROR_OPERATION_DENIED_IN_CURRENT_FFD = 413,
849
+ LIBFPTR_ERROR_MARKING_OPERATION_DENIED = 414,
850
+ LIBFPTR_ERROR_NO_DATA_TO_SEND = 415,
851
+ LIBFPTR_ERROR_NO_MARKED_POSITION = 416,
852
+ LIBFPTR_ERROR_HAS_NOT_SEND_NOTICES = 417,
853
+ LIBFPTR_ERROR_UPDATE_KEYS_REQUIRED = 418,
854
+ LIBFPTR_ERROR_UPDATE_KEYS_SERVICE = 419,
855
+ LIBFPTR_ERROR_MARK_NOT_CHECKED = 420,
856
+ LIBFPTR_ERROR_MARK_CHECK_TIMEOUT_EXPIRED = 421,
857
+ LIBFPTR_ERROR_NO_MARKING_CODE_IN_TABLE = 422,
858
+ LIBFPTR_ERROR_CHEKING_MARK_IN_PROGRESS = 423,
859
+ LIBFPTR_ERROR_INVALID_SERVER_ADDRESS = 424,
860
+ LIBFPTR_ERROR_UPDATE_KEYS_TIMEOUT = 425,
861
+ LIBFPTR_ERROR_PROPERTY_FOR_MARKING_POSITION_ONLY = 426,
862
+ };
863
+
864
+ enum libfptr_json_web_error
865
+ {
866
+ LIBFPTR_ERROR_BASE_WEB = 500,
867
+ LIBFPTR_ERROR_RECEIPT_PARSE_ERROR = 501,
868
+ LIBFPTR_ERROR_INTERRUPTED_BY_PREVIOUS_ERRORS = 502,
869
+ LIBFPTR_ERROR_DRIVER_SCRIPT_ERROR = 503,
870
+ LIBFPTR_ERROR_VALIDATE_FUNC_NOT_FOUND = 504,
871
+ LIBFPTR_ERROR_WEB_FAIL = 505,
872
+ };
873
+
874
+ enum libfptr_port
875
+ {
876
+ LIBFPTR_PORT_COM = 0,
877
+ LIBFPTR_PORT_USB = 1,
878
+ LIBFPTR_PORT_TCPIP = 2,
879
+ LIBFPTR_PORT_BLUETOOTH = 3,
880
+ };
881
+
882
+ enum libfptr_bits
883
+ {
884
+ LIBFPTR_PORT_BITS_7 = 7,
885
+ LIBFPTR_PORT_BITS_8 = 8,
886
+ };
887
+
888
+ enum libfptr_parity
889
+ {
890
+ LIBFPTR_PORT_PARITY_NO = 0,
891
+ LIBFPTR_PORT_PARITY_ODD = 1,
892
+ LIBFPTR_PORT_PARITY_EVEN = 2,
893
+ LIBFPTR_PORT_PARITY_MARK = 3,
894
+ LIBFPTR_PORT_PARITY_SPACE = 4,
895
+ };
896
+
897
+ enum libfptr_stopbits
898
+ {
899
+ LIBFPTR_PORT_SB_1 = 0,
900
+ LIBFPTR_PORT_SB_1_5 = 1,
901
+ LIBFPTR_PORT_SB_2 = 2,
902
+ };
903
+
904
+ enum libfptr_barcode_type
905
+ {
906
+ LIBFPTR_BT_EAN_8 = 0,
907
+ LIBFPTR_BT_EAN_13 = 1,
908
+ LIBFPTR_BT_UPC_A = 2,
909
+ LIBFPTR_BT_UPC_E = 3,
910
+ LIBFPTR_BT_CODE_39 = 4,
911
+ LIBFPTR_BT_CODE_93 = 5,
912
+ LIBFPTR_BT_CODE_128 = 6,
913
+ LIBFPTR_BT_CODABAR = 7,
914
+ LIBFPTR_BT_ITF = 8,
915
+ LIBFPTR_BT_ITF_14 = 9,
916
+ LIBFPTR_BT_GS1_128 = 10,
917
+ LIBFPTR_BT_QR = 11,
918
+ LIBFPTR_BT_PDF417 = 12,
919
+ LIBFPTR_BT_AZTEC = 13,
920
+ LIBFPTR_BT_CODE_39_EXTENDED = 14,
921
+ };
922
+
923
+ enum libfptr_barcode_correction
924
+ {
925
+ LIBFPTR_BC_DEFAULT = 0,
926
+ LIBFPTR_BC_0 = 1,
927
+ LIBFPTR_BC_1 = 2,
928
+ LIBFPTR_BC_2 = 3,
929
+ LIBFPTR_BC_3 = 4,
930
+ LIBFPTR_BC_4 = 5,
931
+ LIBFPTR_BC_5 = 6,
932
+ LIBFPTR_BC_6 = 7,
933
+ LIBFPTR_BC_7 = 8,
934
+ LIBFPTR_BC_8 = 9,
935
+ };
936
+
937
+ enum libfptr_tax_mode
938
+ {
939
+ LIBFPTR_TM_POSITION = 0,
940
+ LIBFPTR_TM_UNIT = 1,
941
+ };
942
+
943
+ enum libfptr_step_counter_type
944
+ {
945
+ LIBFPTR_SCT_OVERALL = 0,
946
+ LIBFPTR_SCT_FORWARD = 1,
947
+ };
948
+
949
+ enum libfptr_counter_type
950
+ {
951
+ LIBFPTR_CT_ROLLUP = 0,
952
+ LIBFPTR_CT_RESETTABLE = 1,
953
+ };
954
+
955
+ enum libfptr_shift_state
956
+ {
957
+ LIBFPTR_SS_CLOSED = 0,
958
+ LIBFPTR_SS_OPENED = 1,
959
+ LIBFPTR_SS_EXPIRED = 2,
960
+ };
961
+
962
+ enum libfptr_cut_type
963
+ {
964
+ LIBFPTR_CT_FULL = 0,
965
+ LIBFPTR_CT_PART = 1,
966
+ };
967
+
968
+ enum libfptr_alignment
969
+ {
970
+ LIBFPTR_ALIGNMENT_LEFT = 0,
971
+ LIBFPTR_ALIGNMENT_CENTER = 1,
972
+ LIBFPTR_ALIGNMENT_RIGHT = 2,
973
+ };
974
+
975
+ enum libfptr_text_wrap
976
+ {
977
+ LIBFPTR_TW_NONE = 0,
978
+ LIBFPTR_TW_WORDS = 1,
979
+ LIBFPTR_TW_CHARS = 2,
980
+ };
981
+
982
+ enum libfptr_fn_type
983
+ {
984
+ LIBFPTR_FNT_DEBUG = 0,
985
+ LIBFPTR_FNT_RELEASE = 1,
986
+ LIBFPTR_FNT_UNKNOWN = 2,
987
+ };
988
+
989
+ enum libfptr_report_type
990
+ {
991
+ LIBFPTR_RT_CLOSE_SHIFT = 0,
992
+ LIBFPTR_RT_X = 1,
993
+ LIBFPTR_RT_LAST_DOCUMENT = 2,
994
+ LIBFPTR_RT_OFD_EXCHANGE_STATUS = 3,
995
+ LIBFPTR_RT_KKT_DEMO = 4,
996
+ LIBFPTR_RT_KKT_INFO = 5,
997
+ LIBFPTR_RT_OFD_TEST = 6,
998
+ LIBFPTR_RT_FN_DOC_BY_NUMBER = 7,
999
+ LIBFPTR_RT_QUANTITY = 8,
1000
+ LIBFPTR_RT_DEPARTMENTS = 9,
1001
+ LIBFPTR_RT_OPERATORS = 10,
1002
+ LIBFPTR_RT_HOURS = 11,
1003
+ LIBFPTR_RT_FN_REGISTRATIONS = 12,
1004
+ LIBFPTR_RT_FN_SHIFT_TOTAL_COUNTERS = 13,
1005
+ LIBFPTR_RT_FN_TOTAL_COUNTERS = 14,
1006
+ LIBFPTR_RT_FN_NOT_SENT_DOCUMENTS_COUNTERS = 15,
1007
+ LIBFPTR_RT_COMMODITIES_BY_TAXATION_TYPES = 16,
1008
+ LIBFPTR_RT_COMMODITIES_BY_DEPARTMENTS = 17,
1009
+ LIBFPTR_RT_COMMODITIES_BY_SUMS = 18,
1010
+ LIBFPTR_RT_START_SERVICE = 19,
1011
+ LIBFPTR_RT_DISCOUNTS = 20,
1012
+ LIBFPTR_RT_JOURNAL_DOCUMENT_BY_NUMBERS = 21,
1013
+ LIBFPTR_RT_JOURNAL_DOCUMENT_BY_SHIFTS = 22,
1014
+ LIBFPTR_RT_CLOSE_SHIFT_REPORTS = 23,
1015
+ };
1016
+
1017
+ enum libfptr_payment_type
1018
+ {
1019
+ LIBFPTR_PT_CASH = 0,
1020
+ LIBFPTR_PT_ELECTRONICALLY = 1,
1021
+ LIBFPTR_PT_PREPAID = 2,
1022
+ LIBFPTR_PT_CREDIT = 3,
1023
+ LIBFPTR_PT_OTHER = 4,
1024
+ LIBFPTR_PT_6 = 5,
1025
+ LIBFPTR_PT_7 = 6,
1026
+ LIBFPTR_PT_8 = 7,
1027
+ LIBFPTR_PT_9 = 8,
1028
+ LIBFPTR_PT_10 = 9,
1029
+ };
1030
+
1031
+ enum libfptr_tax_type
1032
+ {
1033
+ LIBFPTR_TAX_DEPARTMENT = 0,
1034
+ LIBFPTR_TAX_VAT18 = 1,
1035
+ LIBFPTR_TAX_VAT10 = 2,
1036
+ LIBFPTR_TAX_VAT118 = 3,
1037
+ LIBFPTR_TAX_VAT110 = 4,
1038
+ LIBFPTR_TAX_VAT0 = 5,
1039
+ LIBFPTR_TAX_NO = 6,
1040
+ LIBFPTR_TAX_VAT20 = 7,
1041
+ LIBFPTR_TAX_VAT120 = 8,
1042
+ LIBFPTR_TAX_INVALID = 9,
1043
+ };
1044
+
1045
+ enum libfptr_external_device_type
1046
+ {
1047
+ LIBFPTR_EXTERNAL_DEVICE_DISPLAY = 0,
1048
+ LIBFPTR_EXTERNAL_DEVICE_PINPAD = 1,
1049
+ LIBFPTR_EXTERNAL_DEVICE_MODEM = 2,
1050
+ LIBFPTR_EXTERNAL_DEVICE_BARCODE_SCANNER = 3,
1051
+ };
1052
+
1053
+ enum libfptr_kkt_data_type
1054
+ {
1055
+ LIBFPTR_DT_STATUS = 0,
1056
+ LIBFPTR_DT_CASH_SUM = 1,
1057
+ LIBFPTR_DT_UNIT_VERSION = 2,
1058
+ LIBFPTR_DT_PICTURE_INFO = 3,
1059
+ LIBFPTR_DT_LICENSE_ACTIVATED = 4,
1060
+ LIBFPTR_DT_REGISTRATIONS_SUM = 5,
1061
+ LIBFPTR_DT_REGISTRATIONS_COUNT = 6,
1062
+ LIBFPTR_DT_PAYMENT_SUM = 7,
1063
+ LIBFPTR_DT_CASHIN_SUM = 8,
1064
+ LIBFPTR_DT_CASHIN_COUNT = 9,
1065
+ LIBFPTR_DT_CASHOUT_SUM = 10,
1066
+ LIBFPTR_DT_CASHOUT_COUNT = 11,
1067
+ LIBFPTR_DT_REVENUE = 12,
1068
+ LIBFPTR_DT_DATE_TIME = 13,
1069
+ LIBFPTR_DT_SHIFT_STATE = 14,
1070
+ LIBFPTR_DT_RECEIPT_STATE = 15,
1071
+ LIBFPTR_DT_SERIAL_NUMBER = 16,
1072
+ LIBFPTR_DT_MODEL_INFO = 17,
1073
+ LIBFPTR_DT_RECEIPT_LINE_LENGTH = 18,
1074
+ LIBFPTR_DT_CUTTER_RESOURCE = 19,
1075
+ LIBFPTR_DT_STEP_RESOURCE = 20,
1076
+ LIBFPTR_DT_TERMAL_RESOURCE = 21,
1077
+ LIBFPTR_DT_ENVD_MODE = 22,
1078
+ LIBFPTR_DT_SHIFT_TAX_SUM = 23,
1079
+ LIBFPTR_DT_RECEIPT_TAX_SUM = 24,
1080
+ LIBFPTR_DT_NON_NULLABLE_SUM = 25,
1081
+ LIBFPTR_DT_RECEIPT_COUNT = 26,
1082
+ LIBFPTR_DT_CANCELLATION_COUNT_ALL = 27,
1083
+ LIBFPTR_DT_CANCELLATION_SUM = 28,
1084
+ LIBFPTR_DT_CANCELLATION_SUM_ALL = 29,
1085
+ LIBFPTR_DT_POWER_SOURCE_STATE = 30,
1086
+ LIBFPTR_DT_CANCELLATION_COUNT = 31,
1087
+ LIBFPTR_DT_NON_NULLABLE_SUM_BY_PAYMENTS = 32,
1088
+ LIBFPTR_DT_PRINTER_TEMPERATURE = 33,
1089
+ LIBFPTR_DT_FATAL_STATUS = 34,
1090
+ LIBFPTR_DT_MAC_ADDRESS = 35,
1091
+ LIBFPTR_DT_DEVICE_UPTIME = 36,
1092
+ LIBFPTR_DT_RECEIPT_BYTE_COUNT = 37,
1093
+ LIBFPTR_DT_DISCOUNT_AND_SURCHARGE_SUM = 38,
1094
+ LIBFPTR_DT_LK_USER_CODE = 39,
1095
+ LIBFPTR_DT_LAST_SENT_OFD_DOCUMENT_DATE_TIME = 40,
1096
+ LIBFPTR_DT_SHORT_STATUS = 41,
1097
+ LIBFPTR_DT_PICTURES_ARRAY_INFO = 42,
1098
+ LIBFPTR_DT_ETHERNET_INFO = 43,
1099
+ LIBFPTR_DT_SCRIPTS_INFO = 44,
1100
+ LIBFPTR_DT_SHIFT_TOTALS = 45,
1101
+ LIBFPTR_DT_WIFI_INFO = 46,
1102
+ LIBFPTR_DT_FONT_INFO = 47,
1103
+ LIBFPTR_DT_SOFTLOCK_STATUS = 48,
1104
+ LIBFPTR_DT_LAST_SENT_ISM_NOTICE_DATE_TIME = 49,
1105
+ LIBFPTR_DT_MCU_INFO = 50,
1106
+ LIBFPTR_DT_MODULE_ADDRESS = 51,
1107
+ LIBFPTR_DT_CACHE_REQUISITES = 52,
1108
+ LIBFPTR_DT_DEPARTMENT_SUM = 53,
1109
+ LIBFPTR_DT_MCU_TEMPERATURE = 54,
1110
+ LIBFPTR_DT_AVAILABLE_OPERATIONS = 55,
1111
+ };
1112
+
1113
+ enum libfptr_fn_data_type
1114
+ {
1115
+ LIBFPTR_FNDT_TAG_VALUE = 0,
1116
+ LIBFPTR_FNDT_OFD_EXCHANGE_STATUS = 1,
1117
+ LIBFPTR_FNDT_FN_INFO = 2,
1118
+ LIBFPTR_FNDT_LAST_REGISTRATION = 3,
1119
+ LIBFPTR_FNDT_LAST_RECEIPT = 4,
1120
+ LIBFPTR_FNDT_LAST_DOCUMENT = 5,
1121
+ LIBFPTR_FNDT_SHIFT = 6,
1122
+ LIBFPTR_FNDT_FFD_VERSIONS = 7,
1123
+ LIBFPTR_FNDT_VALIDITY = 8,
1124
+ LIBFPTR_FNDT_REG_INFO = 9,
1125
+ LIBFPTR_FNDT_DOCUMENTS_COUNT_IN_SHIFT = 10,
1126
+ LIBFPTR_FNDT_ERRORS = 11,
1127
+ LIBFPTR_FNDT_TICKET_BY_DOC_NUMBER = 12,
1128
+ LIBFPTR_FNDT_DOCUMENT_BY_NUMBER = 13,
1129
+ LIBFPTR_FNDT_REGISTRATION_TLV = 14,
1130
+ LIBFPTR_FNDT_ERROR_DETAIL = 15,
1131
+ LIBFPTR_FNDT_VALIDITY_DAYS = 16,
1132
+ LIBFPTR_FNDT_FREE_MEMORY = 17,
1133
+ LIBFPTR_FNDT_TOTALS = 18,
1134
+ LIBFPTR_FNDT_ISM_ERRORS = 19,
1135
+ LIBFPTR_FNDT_ISM_EXCHANGE_STATUS = 20,
1136
+ LIBFPTR_FNDT_MARKING_MODE_STATUS = 21,
1137
+ LIBFPTR_FNDT_CHECK_MARK_TIME = 22,
1138
+ LIBFPTR_FNDT_RECEIPT_SIZE = 23,
1139
+ };
1140
+
1141
+ enum libfptr_unit_type
1142
+ {
1143
+ LIBFPTR_UT_FIRMWARE = 0,
1144
+ LIBFPTR_UT_CONFIGURATION = 1,
1145
+ LIBFPTR_UT_TEMPLATES = 2,
1146
+ LIBFPTR_UT_CONTROL_UNIT = 3,
1147
+ LIBFPTR_UT_BOOT = 4,
1148
+ };
1149
+
1150
+ enum libfptr_fn_operation_type
1151
+ {
1152
+ LIBFPTR_FNOP_REGISTRATION = 0,
1153
+ LIBFPTR_FNOP_CHANGE_FN = 1,
1154
+ LIBFPTR_FNOP_CHANGE_PARAMETERS = 2,
1155
+ LIBFPTR_FNOP_CLOSE_ARCHIVE = 3,
1156
+ };
1157
+
1158
+ enum libfptr_ofd_channel
1159
+ {
1160
+ LIBFPTR_OFD_CHANNEL_NONE = 0,
1161
+ LIBFPTR_OFD_CHANNEL_USB = 1,
1162
+ LIBFPTR_OFD_CHANNEL_PROTO = 2,
1163
+ };
1164
+
1165
+ enum libfptr_power_source_type
1166
+ {
1167
+ LIBFPTR_PST_POWER_SUPPLY = 0,
1168
+ LIBFPTR_PST_RTC_BATTERY = 1,
1169
+ LIBFPTR_PST_BATTERY = 2,
1170
+ };
1171
+
1172
+ enum libfptr_records_type
1173
+ {
1174
+ LIBFPTR_RT_LAST_DOCUMENT_LINES = 0,
1175
+ LIBFPTR_RT_FN_DOCUMENT_TLVS = 1,
1176
+ LIBFPTR_RT_EXEC_USER_SCRIPT = 2,
1177
+ LIBFPTR_RT_FIRMWARE = 3,
1178
+ LIBFPTR_RT_LICENSES = 4,
1179
+ LIBFPTR_RT_FN_REGISTRATION_TLVS = 5,
1180
+ LIBFPTR_RT_PARSE_COMPLEX_ATTR = 6,
1181
+ LIBFPTR_RT_FN_SUM_COUNTERS = 7,
1182
+ LIBFPTR_RT_FN_QUANTITY_COUNTERS = 8,
1183
+ LIBFPTR_RT_FN_UNSENT_DOCS_COUNTERS = 9,
1184
+ LIBFPTR_RT_SETTINGS = 10,
1185
+ LIBFPTR_RT_RUN_COMMAND = 11,
1186
+ };
1187
+
1188
+ enum libfptr_log_level
1189
+ {
1190
+ LIBFPTR_LOG_ERROR = 0,
1191
+ LIBFPTR_LOG_WARN = 1,
1192
+ LIBFPTR_LOG_INFO = 2,
1193
+ LIBFPTR_LOG_DEBUG = 3,
1194
+ };
1195
+
1196
+ enum libfptr_nomenclature_type
1197
+ {
1198
+ LIBFPTR_NT_FURS = 0,
1199
+ LIBFPTR_NT_MEDICINES = 1,
1200
+ LIBFPTR_NT_TOBACCO = 2,
1201
+ LIBFPTR_NT_SHOES = 3,
1202
+ };
1203
+
1204
+ enum libfptr_user_memory_operation
1205
+ {
1206
+ LIBFPTR_UMO_GET_SIZE = 0,
1207
+ LIBFPTR_UMO_READ_DATA = 1,
1208
+ LIBFPTR_UMO_WRITE_DATA = 2,
1209
+ LIBFPTR_UMO_READ_STRING = 3,
1210
+ LIBFPTR_UMO_WRITE_STRING = 4,
1211
+ LIBFPTR_UMO_COMMIT = 5,
1212
+ };
1213
+
1214
+ enum libfptr_gui_parent
1215
+ {
1216
+ LIBFPTR_GUI_PARENT_NATIVE = 0,
1217
+ LIBFPTR_GUI_PARENT_QT = 1,
1218
+ };
1219
+
1220
+ enum libfptr_defer_type
1221
+ {
1222
+ LIBFPTR_DEFER_NONE = 0,
1223
+ LIBFPTR_DEFER_PRE = 1,
1224
+ LIBFPTR_DEFER_POST = 2,
1225
+ LIBFPTR_DEFER_OVERLAY = 3,
1226
+ };
1227
+
1228
+ enum libfptr_tag_type
1229
+ {
1230
+ LIBFPTR_TAG_TYPE_STLV = 0,
1231
+ LIBFPTR_TAG_TYPE_STRING = 1,
1232
+ LIBFPTR_TAG_TYPE_ARRAY = 2,
1233
+ LIBFPTR_TAG_TYPE_FVLN = 3,
1234
+ LIBFPTR_TAG_TYPE_BITS = 4,
1235
+ LIBFPTR_TAG_TYPE_BYTE = 5,
1236
+ LIBFPTR_TAG_TYPE_VLN = 6,
1237
+ LIBFPTR_TAG_TYPE_UINT_16 = 7,
1238
+ LIBFPTR_TAG_TYPE_UINT_32 = 8,
1239
+ LIBFPTR_TAG_TYPE_UNIX_TIME = 9,
1240
+ LIBFPTR_TAG_TYPE_BOOL = 10,
1241
+ };
1242
+
1243
+ enum libfptr_field_type
1244
+ {
1245
+ LIBFPTR_FT_BYTE_ARRAY = 0,
1246
+ LIBFPTR_FT_BIN = 1,
1247
+ LIBFPTR_FT_BCD = 2,
1248
+ LIBFPTR_FT_STRING = 3,
1249
+ LIBFPTR_FT_STRING_NULL_TERM = 4,
1250
+ };
1251
+
1252
+ enum libfptr_setting_type
1253
+ {
1254
+ LIBFPTR_ST_NUMBER = 0,
1255
+ LIBFPTR_ST_STRING = 1,
1256
+ LIBFPTR_ST_BOOL = 2,
1257
+ };
1258
+
1259
+ enum libfptr_script_type
1260
+ {
1261
+ LIBFPTR_SCRIPT_EXECUTABLE = 0,
1262
+ LIBFPTR_SCRIPT_JSON = 1,
1263
+ LIBFPTR_SCRIPT_SETTINGS = 2,
1264
+ LIBFPTR_SCRIPT_LIBRARY = 3,
1265
+ };
1266
+
1267
+ enum libfptr_uc_layer
1268
+ {
1269
+ LIBFPTR_UCL_UNUSED = 0,
1270
+ LIBFPTR_UCL_RECEIPT_TYPE = 1,
1271
+ LIBFPTR_UCL_TAXATION_TYPE = 2,
1272
+ LIBFPTR_UCL_TAX_TYPE = 3,
1273
+ LIBFPTR_UCL_PRODUCT_TYPE = 4,
1274
+ LIBFPTR_UCL_PAYMENT_METHOD = 5,
1275
+ LIBFPTR_UCL_USER_3 = 6,
1276
+ LIBFPTR_UCL_USER_4 = 7,
1277
+ LIBFPTR_UCL_USER_5 = 8,
1278
+ LIBFPTR_UCL_USER_6 = 9,
1279
+ };
1280
+
1281
+ enum libfptr_fn_counter_type
1282
+ {
1283
+ LIBFPTR_FNCT_SHIFT = 0,
1284
+ LIBFPTR_FNCT_NON_NULLABLE = 1,
1285
+ };
1286
+
1287
+ enum libfptr_marking_code_type
1288
+ {
1289
+ LIBFPTR_MCT_OTHER = 0,
1290
+ LIBFPTR_MCT_EGAIS_20 = 1,
1291
+ LIBFPTR_MCT_EGAIS_30 = 2,
1292
+ };
1293
+
1294
+ enum libfptr_marking_code_type_1_2
1295
+ {
1296
+ LIBFPTR_MCT12_UNKNOWN = 0,
1297
+ LIBFPTR_MCT12_SHORT = 1,
1298
+ LIBFPTR_MCT12_88_CHECK = 2,
1299
+ LIBFPTR_MCT12_44_NO_CHECK = 3,
1300
+ LIBFPTR_MCT12_44_CHECK = 4,
1301
+ LIBFPTR_MCT12_4_NO_CHECK = 5,
1302
+ };
1303
+
1304
+ enum libfptr_marking_estimated_status
1305
+ {
1306
+ LIBFPTR_MES_PIECE_SOLD = 1,
1307
+ LIBFPTR_MES_DRY_FOR_SALE = 2,
1308
+ LIBFPTR_MES_PIECE_RETURN = 3,
1309
+ LIBFPTR_MES_DRY_RETURN = 4,
1310
+ };
1311
+
1312
+ enum libfptr_marking_mode_checking_status
1313
+ {
1314
+ LIBFPTR_MCS_BLOCK = 0,
1315
+ LIBFPTR_MCS_NO_MARK_FOR_CHECK = 1,
1316
+ LIBFPTR_MCS_MARK_RECEIVE_B1 = 2,
1317
+ LIBFPTR_MCS_MARK_STATE_QUERY_B5 = 3,
1318
+ LIBFPTR_MCS_MARK_STATE_ANSWER_B6 = 4,
1319
+ };
1320
+
1321
+ enum libfptr_notice_free_memory
1322
+ {
1323
+ LIBFPTR_NFM_LESS_50_PERCENT = 0,
1324
+ LIBFPTR_NFM_FROM_50_TO_80_PERCENT = 1,
1325
+ LIBFPTR_NFM_FROM_80_TO_90_PERCENT = 2,
1326
+ LIBFPTR_NFM_MORE_90_PERCENT = 3,
1327
+ LIBFPTR_NFM_OUT_OF_MEMORY = 4,
1328
+ };
1329
+
1330
+ enum libfptr_mark_operator_item_status
1331
+ {
1332
+ LIBFPTR_OIS_ESTIMATED_STATUS_CORRECT = 1,
1333
+ LIBFPTR_OIS_ESTIMATED_STATUS_INCORRECT = 2,
1334
+ LIBFPTR_OIS_SALE_STOPPED = 3,
1335
+ };
1336
+
1337
+ enum libfptr_mark_operator_response_result
1338
+ {
1339
+ LIBFPTR_ORR_CORRECT = 0,
1340
+ LIBFPTR_ORR_INCORRECT = 1,
1341
+ LIBFPTR_ORR_UNRECOGNIZED = 2,
1342
+ };
1343
+
1344
+ enum libfptr_fn_check_error_reason
1345
+ {
1346
+ LIBFPTR_CER_CHECKED = 0,
1347
+ LIBFPTR_CER_TYPE_INCORRECT = 1,
1348
+ LIBFPTR_CER_NO_KEYS = 2,
1349
+ LIBFPTR_CER_NO_GS1 = 3,
1350
+ LIBFPTR_CER_OTHER = 4,
1351
+ };
1352
+
1353
+ enum libfptr_mark_checking_status_in_cash
1354
+ {
1355
+ LIBFPTR_MCS_NOT_EXECUTED = 0,
1356
+ LIBFPTR_MCS_EXECUTED = 1,
1357
+ LIBFPTR_MCS_IS_OVER = 2,
1358
+ LIBFPTR_MCS_RESULT_IS_RECIEVED = 3,
1359
+ };
1360
+
1361
+ enum libfptr_mark_checking_type_in_cash
1362
+ {
1363
+ LIBFPTR_MCT_AUTONOMOUS = 0,
1364
+ LIBFPTR_MCT_WAIT_FOR_RESULT = 1,
1365
+ LIBFPTR_MCT_RESULT_NOT_WAIT = 2,
1366
+ LIBFPTR_MCT_QUERY_NOT_SEND = 3,
1367
+ };
1368
+
1369
+ enum libfptr_mark_checking_stage_in_cash
1370
+ {
1371
+ LIBFPTR_MCST_WAITING_FOR_TASK = 0,
1372
+ LIBFPTR_MCST_OPENING_CONNECTION = 1,
1373
+ LIBFPTR_MCST_SENDING = 2,
1374
+ LIBFPTR_MCST_WAITING_FOR_RESULT = 3,
1375
+ LIBFPTR_MCST_GETTING_RESULT = 4,
1376
+ LIBFPTR_MCST_DECODE_RESULT = 5,
1377
+ LIBFPTR_MCST_TASK_IS_OVER = 6,
1378
+ LIBFPTR_MCST_WAITING_FOR_REPEAT = 7,
1379
+ };
1380
+
1381
+ enum libfptr_silent_reboot
1382
+ {
1383
+ LIBFPTR_SILENT_REBOOT_NO = 0,
1384
+ LIBFPTR_SILENT_REBOOT_AFTER_SESSION_CLOSE = 1,
1385
+ LIBFPTR_SILENT_REBOOT_BEFORE_SESSION_OPEN = 2,
1386
+ };
1387
+
1388
+ enum libfptr_rpc_server_error
1389
+ {
1390
+ LIBFPTR_ERROR_BASE_RPC = 600,
1391
+ LIBFPTR_ERROR_RCP_SERVER_BUSY = 601,
1392
+ LIBFPTR_ERROR_RCP_SERVER_VERSION = 602,
1393
+ LIBFPTR_ERROR_RCP_SERVER_EXCHANGE = 603,
1394
+ };
1395
+
1396
+
1397
+
1398
+ __attribute__((visibility("default")))
1399
+ @interface IFptr : NSObject {
1400
+ }
1401
+
1402
+ - (id) init;
1403
+ - (id) initWithID: (NSString *) id;
1404
+ - (void) dealloc;
1405
+ - (NSString *) version;
1406
+ - (int) logWrite: (NSString *)tag level: (int)level message: (NSString *)message;
1407
+ - (int) changeLabel: (NSString *)label;
1408
+ - (bool) isOpened;
1409
+ - (int) errorCode;
1410
+ - (NSString *) errorDescription;
1411
+ - (void) resetError;
1412
+ - (int) setSettings: (NSString *)settings;
1413
+ - (NSString *) getSettings;
1414
+ - (void) setSingleSetting: (NSString *)key value: (NSString *)value;
1415
+ - (NSString *) getSingleSetting: (NSString *)key;
1416
+ - (void) setParam: (int)param intParam: (uint)value;
1417
+ - (void) setParam: (int)param boolParam: (bool)value;
1418
+ - (void) setParam: (int)param doubleParam: (double)value;
1419
+ - (void) setParam: (int)param NSDataParam: (NSData *)value;
1420
+ - (void) setParam: (int)param NSDateParam: (NSDate *)value;
1421
+ - (void) setParam: (int)param NSStringParam: (NSString *)value;
1422
+ - (void) setNonPrintableParam: (int)param intParam: (uint)value;
1423
+ - (void) setNonPrintableParam: (int)param boolParam: (bool)value;
1424
+ - (void) setNonPrintableParam: (int)param doubleParam: (double)value;
1425
+ - (void) setNonPrintableParam: (int)param NSDataParam: (NSData *)value;
1426
+ - (void) setNonPrintableParam: (int)param NSDateParam: (NSDate *)value;
1427
+ - (void) setNonPrintableParam: (int)param NSStringParam: (NSString *)value;
1428
+ - (void) setUserParam: (int)param intParam: (uint)value;
1429
+ - (void) setUserParam: (int)param boolParam: (bool)value;
1430
+ - (void) setUserParam: (int)param doubleParam: (double)value;
1431
+ - (void) setUserParam: (int)param NSDataParam: (NSData *)value;
1432
+ - (void) setUserParam: (int)param NSDateParam: (NSDate *)value;
1433
+ - (void) setUserParam: (int)param NSStringParam: (NSString *)value;
1434
+ - (uint) getParamInt: (int)param;
1435
+ - (bool) getParamBool: (int)param;
1436
+ - (double) getParamDouble: (int)param;
1437
+ - (NSData *) getParamByteArray: (int)param;
1438
+ - (NSDate *) getParamDateTime: (int)param;
1439
+ - (NSString *) getParamString: (int)param;
1440
+ - (int) applySingleSettings;
1441
+ - (int) open;
1442
+ - (int) close;
1443
+ - (int) resetParams;
1444
+ - (int) runCommand;
1445
+ - (int) beep;
1446
+ - (int) openDrawer;
1447
+ - (int) cut;
1448
+ - (int) devicePoweroff;
1449
+ - (int) deviceReboot;
1450
+ - (int) openShift;
1451
+ - (int) resetSummary;
1452
+ - (int) initDevice;
1453
+ - (int) queryData;
1454
+ - (int) cashIncome;
1455
+ - (int) cashOutcome;
1456
+ - (int) openReceipt;
1457
+ - (int) cancelReceipt;
1458
+ - (int) closeReceipt;
1459
+ - (int) checkDocumentClosed;
1460
+ - (int) receiptTotal;
1461
+ - (int) receiptTax;
1462
+ - (int) registration;
1463
+ - (int) payment;
1464
+ - (int) report;
1465
+ - (int) printText;
1466
+ - (int) printCliche;
1467
+ - (int) beginNonfiscalDocument;
1468
+ - (int) endNonfiscalDocument;
1469
+ - (int) printBarcode;
1470
+ - (int) printPicture;
1471
+ - (int) printPictureByNumber;
1472
+ - (int) uploadPictureFromFile;
1473
+ - (int) clearPictures;
1474
+ - (int) writeDeviceSettingRaw;
1475
+ - (int) readDeviceSettingRaw;
1476
+ - (int) commitSettings;
1477
+ - (int) initSettings;
1478
+ - (int) resetSettings;
1479
+ - (int) writeDateTime;
1480
+ - (int) writeLicense;
1481
+ - (int) fnOperation;
1482
+ - (int) fnQueryData;
1483
+ - (int) fnWriteAttributes;
1484
+ - (int) externalDevicePowerOn;
1485
+ - (int) externalDevicePowerOff;
1486
+ - (int) externalDeviceWriteData;
1487
+ - (int) externalDeviceReadData;
1488
+ - (int) operatorLogin;
1489
+ - (int) processJson;
1490
+ - (int) readDeviceSetting;
1491
+ - (int) writeDeviceSetting;
1492
+ - (int) beginReadRecords;
1493
+ - (int) readNextRecord;
1494
+ - (int) endReadRecords;
1495
+ - (int) userMemoryOperation;
1496
+ - (int) continuePrint;
1497
+ - (int) initMgm;
1498
+ - (int) utilFormTlv;
1499
+ - (int) utilFormNomenclature;
1500
+ - (int) utilMapping;
1501
+ - (int) readModelFlags;
1502
+ - (int) lineFeed;
1503
+ - (int) flashFirmware;
1504
+ - (int) softLockInit;
1505
+ - (int) softLockQuerySessionCode;
1506
+ - (int) softLockValidate;
1507
+ - (int) utilCalcTax;
1508
+ - (int) downloadPicture;
1509
+ - (int) bluetoothRemovePairedDevices;
1510
+ - (int) utilTagInfo;
1511
+ - (int) utilContainerVersions;
1512
+ - (int) activateLicenses;
1513
+ - (int) removeLicenses;
1514
+ - (int) enterKeys;
1515
+ - (int) validateKeys;
1516
+ - (int) enterSerialNumber;
1517
+ - (int) getSerialNumberRequest;
1518
+ - (int) uploadPixelBuffer;
1519
+ - (int) downloadPixelBuffer;
1520
+ - (int) printPixelBuffer;
1521
+ - (int) utilConvertTagValue;
1522
+ - (int) parseMarkingCode;
1523
+ - (int) callScript;
1524
+ - (int) setHeaderLines;
1525
+ - (int) setFooterLines;
1526
+ - (int) uploadPictureCliche;
1527
+ - (int) uploadPictureMemory;
1528
+ - (int) uploadPixelBufferCliche;
1529
+ - (int) uploadPixelBufferMemory;
1530
+ - (int) execDriverScript;
1531
+ - (int) uploadDriverScript;
1532
+ - (int) execDriverScriptById;
1533
+ - (int) writeUniversalCountersSettings;
1534
+ - (int) readUniversalCountersSettings;
1535
+ - (int) queryUniversalCountersState;
1536
+ - (int) resetUniversalCounters;
1537
+ - (int) cacheUniversalCounters;
1538
+ - (int) readUniversalCounterSum;
1539
+ - (int) readUniversalCounterQuantity;
1540
+ - (int) clearUniversalCountersCache;
1541
+ - (int) disableOfdChannel;
1542
+ - (int) enableOfdChannel;
1543
+ - (int) validateJson;
1544
+ - (int) reflectionCall;
1545
+ - (int) getRemoteServerInfo;
1546
+ - (int) beginMarkingCodeValidation;
1547
+ - (int) cancelMarkingCodeValidation;
1548
+ - (int) getMarkingCodeValidationStatus;
1549
+ - (int) acceptMarkingCode;
1550
+ - (int) declineMarkingCode;
1551
+ - (int) updateFnmKeys;
1552
+ - (int) writeSalesNotice;
1553
+ - (int) checkMarkingCodeValidationsReady;
1554
+ - (int) clearMarkingCodeValidationResult;
1555
+ - (int) pingMarkingServer;
1556
+ - (int) getMarkingServerStatus;
1557
+ - (int) isDriverLocked;
1558
+ - (int) getLastDocumentJournal;
1559
+
1560
+ @end