00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef _H_POS_ERRNO
00019 #define _H_POS_ERRNO
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047 #define POSERR_SYS 300
00048
00049 #define POSERR_SYS_OS_ERROR POSERR_SYS+1
00050 #define POSERR_SYS_NOT_INITIALIZED POSERR_SYS+2
00051 #define POSERR_SYS_INVALID_DESCRIPTOR POSERR_SYS+3
00052 #define POSERR_SYS_ALREADY_INITIALIZED POSERR_SYS+4
00053 #define POSERR_SYS_MEMORY_ALLOCATION POSERR_SYS+5
00054 #define POSERR_SYS_HW_ERROR POSERR_SYS+6
00055 #define POSERR_SYS_INVALID_DEVICE POSERR_SYS+7
00056 #define POSERR_SYS_INVALID_QUEUE POSERR_SYS+8
00057 #define POSERR_SYS_TOO_MANY_DEVICES POSERR_SYS+9
00058 #define POSERR_SYS_OUT_OF_BOUNDS POSERR_SYS+10
00059 #define POSERR_SYS_FUNCTION_NOT_SUPPORTED POSERR_SYS+11
00060 #define POSERR_SYS_BUFFER_TOO_SMALL POSERR_SYS+12
00061 #define POSERR_SYS_ACQUIRED_BY_OTHER POSERR_SYS+13
00062 #define POSERR_SYS_ALREADY_ACQUIRED POSERR_SYS+14
00063 #define POSERR_SYS_NOT_ACQUIRED POSERR_SYS+15
00064 #define POSERR_SYS_INVALID_REQUEST POSERR_SYS+16
00065 #define POSERR_SYS_DEVICE_OFFLINE POSERR_SYS+17
00066 #define POSERR_SYS_INVALID_LENGTH POSERR_SYS+18
00067 #define POSERR_SYS_INVALID_CLASS_DEVICE_COMBO POSERR_SYS+19
00068 #define POSERR_SYS_DATA_DISCARDED POSERR_SYS+20
00069 #define POSERR_SYS_INTERNAL_ERROR POSERR_SYS+21
00070 #define POSERR_SYS_CMD_REJECT POSERR_SYS+22
00071 #define POSERR_SYS_WRAP_FAILED POSERR_SYS+23
00072 #define POSERR_SYS_DIAG_FAILED POSERR_SYS+24
00073 #define POSERR_SYS_INVALID_NARGS POSERR_SYS+25
00074 #define POSERR_SYS_INVALID_SLOT POSERR_SYS+26
00075 #define POSERR_SYS_UNSUPPORTED_ADAPTER POSERR_SYS+27
00076 #define POSERR_SYS_INVALID_PORT POSERR_SYS+28
00077 #define POSERR_SYS_TIMEOUT POSERR_SYS+29
00078 #define POSERR_SYS_INVALID_NAME POSERR_SYS+30
00079 #define POSERR_SYS_INVALID_CLASS POSERR_SYS+31
00080 #define POSERR_SYS_INTERRUPTED POSERR_SYS+32
00081 #define POSERR_SYS_FILE_ERROR POSERR_SYS+33
00082 #define POSERR_SYS_INVALID_ADDRESS POSERR_SYS+34
00083 #define POSERR_SYS_LOCKED_NO_DATA_READ POSERR_SYS+35
00084 #define POSERR_SYS_INVALID_FILE POSERR_SYS+36
00085 #define POSERR_SYS_SERVICE_NOT_AVAILABLE POSERR_SYS+37
00086
00087
00088
00089
00090
00091
00092
00093 #define POSERR_DCS 600
00094
00095 #define POSERR_DCS_UNSUPPORTED_ADAPTER POSERR_DCS+1
00096 #define POSERR_DCS_ADAPTER_ALREADY_ENABLED POSERR_DCS+2
00097 #define POSERR_DCS_ADAPTER_ALREADY_DISABLED POSERR_DCS+3
00098 #define POSERR_DCS_ADAPTER_FAILED_SETUP POSERR_DCS+4
00099 #define POSERR_DCS_POLL_LIST_FULL POSERR_DCS+5
00100 #define POSERR_DCS_NOT_IN_POLL_LIST POSERR_DCS+6
00101 #define POSERR_DCS_MSG_AREA_FULL POSERR_DCS+7
00102 #define POSERR_DCS_MEMORY_AVAIL POSERR_DCS+8
00103 #define POSERR_DCS_INVALID_ADAPTER_NUMBER POSERR_DCS+9
00104 #define POSERR_DCS_ADAPTER_ALREADY_STARTED POSERR_DCS+10
00105
00106
00107
00108
00109
00110
00111
00112 #define POSERR_SIO 800
00113
00114 #define POSERR_SIO_2K_FULL POSERR_SIO+1
00115 #define POSERR_SIO_CMDR_RECEIVED POSERR_SIO+2
00116 #define POSERR_SIO_I_OOP POSERR_SIO+3
00117 #define POSERR_SIO_I_SEQ_OFF POSERR_SIO+4
00118 #define POSERR_SIO_LAST_ACK_LOST POSERR_SIO+5
00119 #define POSERR_SIO_LAST_MSG_LOST POSERR_SIO+6
00120 #define POSERR_SIO_NSA_OOP POSERR_SIO+7
00121 #define POSERR_SIO_ROL_OOP POSERR_SIO+8
00122 #define POSERR_SIO_RR_OOP POSERR_SIO+9
00123 #define POSERR_SIO_UNK_RECEIVED POSERR_SIO+10
00124 #define POSERR_SIO_UNDELIVERABLE_MSG POSERR_SIO+11
00125 #define POSERR_SIO_POLL_LIST_FULL POSERR_SIO+12
00126
00127
00128
00129
00130
00131
00132
00133 #define POSERR_NVRAM 4100
00134
00135 #define POSERR_NVRAM_NOT_ENOUGH_ROOM POSERR_NVRAM+1
00136 #define POSERR_NVRAM_INVALID_CURSOR POSERR_NVRAM+2
00137 #define POSERR_NVRAM_EOF POSERR_NVRAM+3
00138 #define POSERR_NVRAM_INVALID_MODE POSERR_NVRAM+4
00139 #define POSERR_NVRAM_INVALID_LENGTH_RECORD POSERR_NVRAM+5
00140 #define POSERR_NVRAM_INVALID_DATA_CRC POSERR_NVRAM+6
00141 #define POSERR_NVRAM_BATTERY_BAD POSERR_NVRAM+7
00142
00143
00144
00145
00146
00147
00148
00149 #define POSERR_DSP 4400
00150
00151 #define POSERR_DSP_INVALID_CURSOR POSERR_DSP+1
00152 #define POSERR_DSP_INVALID_MODE POSERR_DSP+2
00153 #define POSERR_DSP_INVALID_SIZE POSERR_DSP+3
00154 #define POSERR_DSP_UNSUPPORTED_BITMAP POSERR_DSP+4
00155 #define POSERR_DSP_BAD_BITMAP POSERR_DSP+5
00156 #define POSERR_DSP_INVALID_CODE_PAGE POSERR_DSP+6
00157
00158
00159
00160
00161
00162
00163 #define POSERR_KBD 4700
00164
00165 #define POSERR_KBD_INVALID_FREQUENCY POSERR_KBD+1
00166 #define POSERR_KBD_INVALID_DURATION POSERR_KBD+2
00167 #define POSERR_KBD_INVALID_VOLUME POSERR_KBD+3
00168 #define POSERR_KBD_FILE_NOT_FOUND POSERR_KBD+4
00169 #define POSERR_KBD_INVALID_DOUBLE_KEY POSERR_KBD+5
00170 #define POSERR_KBD_INVALID_FAT_FINGER_TIMEOUT POSERR_KBD+6
00171 #define POSERR_KBD_4707 POSERR_KBD+7
00172 #define POSERR_KBD_INVALID_KEYBOARD_CLICK POSERR_KBD+8
00173 #define POSERR_KBD_INVALID_NUMPAD_STYLE POSERR_KBD+9
00174 #define POSERR_KBD_INVALID_NUMPAD_ZERO POSERR_KBD+10
00175 #define POSERR_KBD_INVALID_TYPEMATIC_DELAY POSERR_KBD+11
00176 #define POSERR_KBD_INVALID_TYPEMATIC_FREQ POSERR_KBD+12
00177 #define POSERR_KBD_INVALID_NUMPAD_LOCATION POSERR_KBD+13
00178 #define POSERR_KBD_INVALID_TRAP_KEYS POSERR_KBD+14
00179
00180
00181
00182
00183
00184
00185
00186 #define POSERR_PRN 4900
00187
00188 #define POSERR_PRN_INVALID_DI_WIDTH POSERR_PRN+1
00189 #define POSERR_PRN_INVALID_INTERLEAVED_VALUE POSERR_PRN+2
00190 #define POSERR_PRN_INVALID_HEAD_PARKED_POSITION POSERR_PRN+3
00191 #define POSERR_PRN_INVALID_STATION POSERR_PRN+4
00192 #define POSERR_PRN_INVALID_MODE POSERR_PRN+5
00193 #define POSERR_PRN_INVALID_CR_LF_DISTANCE POSERR_PRN+6
00194 #define POSERR_PRN_INVALID_SJ_LF_DISTANCE POSERR_PRN+7
00195 #define POSERR_PRN_INVALID_DI_LF_DISTANCE POSERR_PRN+8
00196 #define POSERR_PRN_INVALID_FEED_DIRECTION POSERR_PRN+9
00197 #define POSERR_PRN_INVALID_FISCAL_NOTIFY POSERR_PRN+10
00198 #define POSERR_PRN_INVALID_DI_ORIENTATION POSERR_PRN+11
00199 #define POSERR_PRN_INVALID_LEFT_MARGIN_CR POSERR_PRN+12
00200 #define POSERR_PRN_INVALID_PRINT_ALIGNMENT POSERR_PRN+13
00201 #define POSERR_PRN_INCORRECT_DATA_FORMAT POSERR_PRN+14
00202 #define POSERR_PRN_LOGO_EXISTS POSERR_PRN+15
00203 #define POSERR_PRN_UDC_CHARACTER_EXISTS POSERR_PRN+16
00204 #define POSERR_PRN_INCORRECT_RAW_DATA POSERR_PRN+17
00205 #define POSERR_PRN_INVALID_QUALITY_MODE POSERR_PRN+18
00206 #define POSERR_PRN_INVALID_UPSIDE_DOWN_MODE POSERR_PRN+19
00207 #define POSERR_PRN_INVALID_TABSTOPS_FORMAT POSERR_PRN+20
00208 #define POSERR_PRN_INVALID_COLOR_MODE POSERR_PRN+21
00209 #define POSERR_PRN_INVALID_TONE_VOLUME POSERR_PRN+22
00210 #define POSERR_PRN_INVALID_TONE_DURATION POSERR_PRN+23
00211 #define POSERR_PRN_INVALID_TONE_NOTE POSERR_PRN+24
00212 #define POSERR_PRN_INVALID_TONE_OCTAVE POSERR_PRN+25
00213 #define POSERR_PRN_INVALID_TONE_FREQUENCY POSERR_PRN+26
00214 #define POSERR_PRN_INVALID_CODE_PAGE POSERR_PRN+27
00215 #define POSERR_PRN_INVALID_PULSE_WIDTH POSERR_PRN+28
00216 #define POSERR_PRN_INVALID_STATUS_LEVEL POSERR_PRN+29
00217 #define POSERR_PRN_INVALID_RECORD POSERR_PRN+30
00218
00219
00220
00221
00222
00223
00224 #define POSERR_MSR 5200
00225
00226
00227
00228
00229
00230
00231
00232 #define POSERR_TILL 5400
00233
00234 #define POSERR_TILL_INVALID_PULSE_WIDTH POSERR_TILL+1
00235
00236
00237
00238
00239
00240
00241
00242 #define POSERR_SCAN 5700
00243
00244 #define POSERR_SCAN_INVALID_BAR_CODES_1 POSERR_SCAN+2
00245 #define POSERR_SCAN_INVALID_BAR_CODES_2 POSERR_SCAN+3
00246 #define POSERR_SCAN_INVALID_BEEP_FREQ POSERR_SCAN+4
00247 #define POSERR_SCAN_INVALID_BEEP_LENGTH POSERR_SCAN+5
00248 #define POSERR_SCAN_INVALID_BEEP_STATE POSERR_SCAN+6
00249 #define POSERR_SCAN_INVALID_BEEP_VOLUME POSERR_SCAN+7
00250 #define POSERR_SCAN_INVALID_BLINK_LENGTH POSERR_SCAN+8
00251 #define POSERR_SCAN_INVALID_BLOCK_READ_MODE POSERR_SCAN+9
00252 #define POSERR_SCAN_INVALID_BLOCK_1_TYPE POSERR_SCAN+10
00253 #define POSERR_SCAN_INVALID_BLOCK_2_TYPE POSERR_SCAN+11
00254 #define POSERR_SCAN_INVALID_BLOCK_3_TYPE POSERR_SCAN+12
00255 #define POSERR_SCAN_INVALID_CHECK_MODULO POSERR_SCAN+13
00256 #define POSERR_SCAN_INVALID_D_READ_TIMEOUT POSERR_SCAN+14
00257 #define POSERR_SCAN_INVALID_D_TOUCH_MODE POSERR_SCAN+15
00258 #define POSERR_SCAN_INVALID_ITF_LENGTH_1 POSERR_SCAN+16
00259 #define POSERR_SCAN_INVALID_ITF_LENGTH_2 POSERR_SCAN+17
00260 #define POSERR_SCAN_INVALID_LASER_TIMEOUT POSERR_SCAN+18
00261 #define POSERR_SCAN_INVALID_MOTOR_TIMEOUT POSERR_SCAN+19
00262 #define POSERR_SCAN_INVALID_LASER_SWITCH_STATE POSERR_SCAN+20
00263 #define POSERR_SCAN_INVALID_SCANS_PER_READ POSERR_SCAN+21
00264 #define POSERR_SCAN_LABEL_TOO_SHORT POSERR_SCAN+22
00265 #define POSERR_SCAN_LABEL_TOO_LONG POSERR_SCAN+23
00266 #define POSERR_SCAN_MSG_LENGTH_ERROR POSERR_SCAN+24
00267 #define POSERR_SCAN_INVALID_BVOL_SWITCH_STATE POSERR_SCAN+25
00268 #define POSERR_SCAN_INVALID_DECODE_ALGORITHM POSERR_SCAN+26
00269 #define POSERR_SCAN_INVALID_EAN13_SCANS_PER_READ POSERR_SCAN+27
00270 #define POSERR_SCAN_INVALID_EAN8_SCANS_PER_READ POSERR_SCAN+28
00271 #define POSERR_SCAN_INVALID_STORE_SCANS_PER_READ POSERR_SCAN+29
00272 #define POSERR_SCAN_INVALID_UPCA_SCANS_PER_READ POSERR_SCAN+30
00273 #define POSERR_SCAN_INVALID_UPCD_SCANS_PER_READ POSERR_SCAN+31
00274 #define POSERR_SCAN_INVALID_UPCE_SCANS_PER_READ POSERR_SCAN+32
00275 #define POSERR_SCAN_INVALID_UPC_EXPANSION POSERR_SCAN+33
00276 #define POSERR_SCAN_INVALID_VERIFY_PRICE_CHK POSERR_SCAN+34
00277 #define POSERR_SCAN_INVALID_QUEUE_ALL_INDICATOR POSERR_SCAN+35
00278 #define POSERR_SCAN_CONFIGURATION_ERROR POSERR_SCAN+36
00279 #define POSERR_SCAN_2_LABEL_FLAG_CONFIG_ERROR POSERR_SCAN+37
00280 #define POSERR_SCAN_INVALID_2_LABEL_DECODE_STATE POSERR_SCAN+38
00281 #define POSERR_SCAN_INVALID_FLAG_PAIR_COMBINATION POSERR_SCAN+39
00282 #define POSERR_SCAN_INVALID_2_LABEL_FLAG_PAIR_1 POSERR_SCAN+40
00283 #define POSERR_SCAN_INVALID_2_LABEL_FLAG_PAIR_2 POSERR_SCAN+41
00284 #define POSERR_SCAN_INVALID_2_LABEL_FLAG_PAIR_3 POSERR_SCAN+42
00285 #define POSERR_SCAN_INVALID_2_LABEL_FLAG_PAIR_4 POSERR_SCAN+43
00286 #define POSERR_SCAN_INVALID_CODE39_SCANS_PER_READ POSERR_SCAN+44
00287 #define POSERR_SCAN_INVALID_INT2OF5_SCANS_PER_READ POSERR_SCAN+45
00288 #define POSERR_SCAN_INVALID_CODE128_SCANS_PER_READ POSERR_SCAN+46
00289 #define POSERR_SCAN_INVALID_BAR_CODES_3 POSERR_SCAN+47
00290 #define POSERR_SCAN_INVALID_BAR_CODES_4 POSERR_SCAN+48
00291 #define POSERR_SCAN_FLASH_UPDATE_REQD POSERR_SCAN+49
00292 #define POSERR_SCAN_INVALID_ITF_LENGTH_TYPE POSERR_SCAN+50
00293 #define POSERR_SCAN_INVALID_SUPPLEMENTALS POSERR_SCAN+51
00294 #define POSERR_SCAN_INVALID_BARCODE_PROG_STATE POSERR_SCAN+52
00295 #define POSERR_SCAN_INVALID_XMIT_CHECK_DIGIT POSERR_SCAN+53
00296
00297
00298
00299
00300
00301
00302
00303 #define POSERR_RS232 5900
00304
00305 #define POSERR_RS232_INVALID_BAUD_RATE POSERR_RS232+1
00306 #define POSERR_RS232_INVALID_STOP_BITS POSERR_RS232+2
00307 #define POSERR_RS232_INVALID_PARITY POSERR_RS232+3
00308 #define POSERR_RS232_INVALID_DATA_BITS POSERR_RS232+4
00309 #define POSERR_RS232_INVALID_TIMEOUT_CHAR POSERR_RS232+5
00310 #define POSERR_RS232_UNUSED_006 POSERR_RS232+6
00311 #define POSERR_RS232_PREV_NOT_COMPLETE POSERR_RS232+7
00312
00313
00314
00315
00316
00317
00318
00319 #define POSERR_SCALE 6200
00320
00321 #define POSERR_SCALE_INVALID_OPERATIONS_MODE POSERR_SCALE+1
00322 #define POSERR_SCALE_INVALID_REMOTE_DISPLAY_STATE POSERR_SCALE+2
00323 #define POSERR_SCALE_INVALID_VIBRATION_FILTER POSERR_SCALE+3
00324 #define POSERR_SCALE_INVALID_WEIGHT_MODE POSERR_SCALE+4
00325 #define POSERR_SCALE_INVALID_ZERO_INDICATOR_STATE POSERR_SCALE+5
00326 #define POSERR_SCALE_INVALID_ZERO_RETURN_STATE POSERR_SCALE+6
00327 #define POSERR_SCALE_ZERO_SCALE_FAILED POSERR_SCALE+7
00328 #define POSERR_SCALE_INVALID_CLEAR_SCREEN_REQUEST POSERR_SCALE+8
00329 #define POSERR_SCALE_CONFIGURATION_ERROR POSERR_SCALE+9
00330 #define POSERR_SCALE_MSG_LENGTH_ERROR POSERR_SCALE+10
00331 #define POSERR_SCALE_INVALID_NUM_WEIGHT_DIGITS POSERR_SCALE+11
00332
00333
00334
00335
00336
00337
00338 #define POSERR_POWER 6400
00339
00340 #define POSERR_POWER_INVALID_DAY POSERR_POWER+1
00341 #define POSERR_POWER_INVALID_HOUR POSERR_POWER+2
00342 #define POSERR_POWER_INVALID_MINUTES POSERR_POWER+3
00343
00344
00345
00346
00347
00348
00349 #define POSERR_TOUCH 6700
00350
00351 #define POSERR_TOUCH_INVALID_BACKLIGHT_ON POSERR_TOUCH+1
00352 #define POSERR_TOUCH_INVALID_CLICK_VOLUME POSERR_TOUCH+2
00353 #define POSERR_TOUCH_INVALID_CONTRAST POSERR_TOUCH+3
00354 #define POSERR_TOUCH_INVALID_ENTRY_CLICK POSERR_TOUCH+4
00355 #define POSERR_TOUCH_INVALID_EXIT_CLICK POSERR_TOUCH+5
00356 #define POSERR_TOUCH_INVALID_MODE POSERR_TOUCH+6
00357 #define POSERR_TOUCH_INVALID_SCREEN_SAVER_TIME POSERR_TOUCH+7
00358 #define POSERR_TOUCH_INVALID_TONE_DURATION POSERR_TOUCH+8
00359 #define POSERR_TOUCH_INVALID_TONE_FREQUENCY POSERR_TOUCH+9
00360 #define POSERR_TOUCH_INVALID_TONE_VOLUME POSERR_TOUCH+10
00361 #define POSERR_TOUCH_INVALID_BRIGHTNESS POSERR_TOUCH+11
00362
00363 #endif