The text of a manual · part 36 of 37
JANUS PSK for Basic, Version 2.1 Reference Manual, pages 351 to 360
Pages 351 to 360 of 362
The original document is the PDF (601 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec J2020, Intermec J2010 and Intermec J2050
Page 351
Appendix A: Status Codes
A
Subsystem 1000 KB (Keyboard Buffer) Hex Code
Message
1000
Expanded keyboard buffer success
100A
Expanded buffer enabled
100B
Expanded buffer disabled
5001
Expanded keyboard buffer installed or disabled
9002
Cannot disable because buffer is not empty
9003
Keyboard buffer is full (entire string rejected)
9004
Expanded keyboard buffer not installed
9005
Invalid mode value was passed
9006
Expanded keyboard buffer flush not successful
9007
Undefined message
9008
Source string exceeds source or destination buffer size
9009
String descriptor type is unknown
900C
Invalid option requested from INT 16 B4xxh
A-39
Page 352
JANUS PSK for Basic Reference Manual
Subsystem 1100 SS (System Configuration) Hex Code
Message
1100
System configuration successful
9100
Invalid service number
9101
ASIC bit number is out of range
9102
Unknown ASIC I/O address
9103
Undefined message code
9104
Invalid communications port ID
9105
Invalid argument
A-40
Page 353
Appendix A: Status Codes
A
Subsystem 1200 KP (Keypad Services) Hex Code
Message
1200
Successful keypad operation
5201
Backdoor communications failure
9200
Timeout occurred in the middle of a transaction
9201
Timeout occurred on the first transaction
9202
Keypad busy
9203
Forced transaction abort
9204
Failed to process a command
9205
Invalid function number
9206
Invalid keypad communications status
9207
Wrong parameter passed in
9208
BIOS returned an invalid value
A-41
Page 354
JANUS PSK for Basic Reference Manual
Subsystem 1300 DP (Display) Hex Code
Message
1300
Successful display operation
9300
Absolute value out of range
9301
Invalid display size mode
9302
Display function undefined
9303
Invalid backlight timeout value
9304
Display BIOS returned an invalid status
9305
Invalid viewport mode
9306
Invalid scroll mode
9307
Invalid video mode
9308
Invalid size mode
9309
Invalid character height mode
A-42
Page 355
I Index
Page 356
Page 357
Index
I
Index A About This Manual, xiv Addressing variables, 3-3, 3-4
B Backlight imBacklightOff, 2-20, 3-23 imBacklightOn, 2-21, 3-24 imBacklightToggle, 2-22, 3-25 Bar code input Visual Basic, 3-3, 3-5 to 3-8 Battery imPowerStatus, 2-82, 3-86 Beeper imSound, 2-119, 3-125 Break imApplBreakStatus, 2-18, 3-21 Build procedure QuickBasic, 2-3 to, 2-7 Visual Basic, 3-10 to 3-12
C Carriage return Visual Basic, 3-7 Caution, 1-5, 1-7, 2-15, 3-18 Certified functions QuickBasic, 2-12 Visual Basic, 3-17 Command imCommand, 2-28, 3-30 Compiler QuickBasic, 2-4, 2-6 Visual Basic, 3-11 Configuration imGetConfigInfo, 2-33, 3-35
Contrast imDecreaseContrast, 2-31, 3-33 imGetContrast, 2-34, 3-37 imIncreaseContrast, 2-51, 3-55 imSetContrast, 2-105, 3-110 Control key imGetControlKey, 2-36, 3-39 imSetControlKey, 2-107, 3-112 Conventions, manual, xv Cursor imCursorToViewport, 2-30, 3-32 imGetFollowCursor, 2-40, 3-44 imGetViewportLock, 2-48, 3-52 imSetFollowCursor, 2-113, 3-119 imSetViewportLock, 2-117, 3-123 imViewportHome, 2-133, 3-139 imViewportToCursor, 2-140, 3-146
D Debugging using JANUS Application Simulator, 2-7, 3-13 Defined terms, xv Desktop mode, 2-42, 2-115, 3-46, 3-121 Differences Visual Basic and QuickBasic, 3-3 Disk PSK, 1-8 Display modes imGetDisplayMode, 2-37, 3-41 imSetDisplayMode, 2-108, 3-113 Display type imGetDisplayType, 2-39, 3-43
I-3
Page 358
JANUS PSK for Basic Reference Manual
E Error message imMessage, 2-78, 3-82 linker, 2-5, 2-7, 3-12 Examples imApplBreakStatus, 2-19, 3-22 imBacklightOff, 2-20, 3-23 imBacklightOn, 2-21, 3-24 imBacklightToggle, 2-22, 3-25 imCancelRxBuffer, 2-23, 3-26 imCancelTxBuffer, 2-26, 3-29 imCommand, 2-29, 3-31 imCursorToViewport, 2-30, 3-32 imDecreaseContrast, 2-32, 3-34 imGetConfigInfo, 2-33, 3-36 imGetContrast, 2-35, 3-38 imGetControlKey, 2-36, 3-40 imGetDisplayMode, 2-38, 3-42 imGetDisplayType, 2-39 imGetFollowCursor, 2-40, 3-44 imGetInputMode, 2-42, 3-46 imGetKeyclick, 2-43, 3-47 imGetPostamble, 2-46, 3-50 imGetPreamble, 2-47, 3-51 imGetViewportLock, 2-49, 3-53 imGetWarmBoot, 2-50, 3-54 imIncreaseContrast, 2-52, 3-56 imInputStatus, 2-54, 3-58 imIrlA, 2-58, 3-62 imIrlK, 2-62, 3-66 imIrlN, 2-67, 3-71 imIrlV, 2-72, 3-76 imIrlY, 2-75, 3-79 imMessage, 2-78, 3-82 imNumberPadOff, 2-79, 3-83 imNumberPadOn, 2-81, 3-85 imPowerStatus, 2-83, 3-87 imProtocolExtendedStatus, 2-85, 3-89 imReceiveBuffer, 2-88, 3-92 imReceiveBufferNoprot, 2-90, 3-95 imReceiveBufferNoWait, 2-93, 3-98 imReceiveByte, 2-96, 3-101 imReceiveInput, 2-99, 3-104 imRsInstalled, 2-100, 3-105
I-4
Examples continued imSerialProtocolControl, 2-104, 3-109 imSetContrast, 2-106, 3-111 imSetDisplayMode, 2-110, 3-115 imSetFollowCursor, 2-113, 3-119 imSetWarmBoot, 2-118, 3-124 imSound, 2-120, 3-126 imTransmitBuffer, 2-123, 3-129 imTransmitBufferNoprot, 2-127, 3-133 imTransmitBufferNoWait, 2-125, 3-131 imTransmitByte, 2-129, 3-135 imViewportEnd, 2-131, 3-137 imViewportGetxy, 2-132, 3-138 imViewportHome, 2-133, 3-139 imViewportMove, 2-135, 3-141 imViewportPageDown, 2-136, 3-142 imViewportPageUp, 2-137, 3-143 imViewportSetxy, 2-139, 3-145 imViewportToCursor, 2-140, 3-146 power management, 3-6, 3-9 scanned input, 3-6 text box, 3-7
F Far pointers, 3-3, 3-4 Function libraries supported languages, 1-6 Functions, See also QuickBasic Functions and Visual Basic Functions certified QuickBasic, 2-12, 2-14 QuickBasic, 2-15 to 2-140 Visual Basic, 3-18 to 3-146
H Hexadecimal numbers, convention for, xvi
I IM20_BAS.LIB, 3-4 IM20VBAS.BI, 3-3, 3-4 Installing Programmer’s Software Kit, 1-8 INT 10H, 2-110 Integer size limits, 3-3, 3-5
Page 359
Index
Interrupts, software, 1-6 IRL command A, 2-55, 3-59 K, 2-60, 3-64 N, 2-64, 3-68 V, 2-69, 3-73 Y, 2-73, 3-77
J JANUS Application Simulator, 2-7, 3-13 JANUS reader about, 1-3
K Key code changing, 3-7, 3-8 Key Code Look-Up Table, 3-8 Key press Visual Basic, 3-5 Keyboard, using, xv Keypad, using, xv
L Label imGetLabelSymbology, 2-44, 3-48 Libraries PSK Language Libraries disk, 1-8 Library QuickBasic, 2-15 Visual Basic, 3-18 Link segments, 2-5, 2-7, 3-12 Linker error message, 2-5, 2-7, 3-12
M Manuals, other Intermec, xvii Mode Desktop, 2-42, 2-115, 3-46, 3-121 imGetInputMode, 2-41, 3-45 imSetInputMode, 2-114, 3-120 Programmer, 2-41, 2-115, 3-45, 3-121 Wedge, 2-41, 2-114, 3-45, 3-120 Moving to next control Visual Basic, 3-7, 3-8
I
N Number pad imNumberPadOff, 2-79, 3-83 imNumberPadOn, 2-80, 3-84
P PHIMEC.EXE, 2-8, 3-14 PHPCSTD.EXE, 2-8, 3-14 Pointers Visual Basic, 3-3, 3-4 Postamble imGetPostamble, 2-46, 3-50 Visual Basic, 3-7 Power management, 3-3 Visual Basic, 3-8, 3-9 Preamble imGetPreamble, 2-47, 3-51 Programmer mode, 2-41, 2-115, 3-45, 3-121 Protocol imProtocolExtendedStatus, 2-84, 3-88 imSerialProtocolControl, 2-102, 3-107 Protocol handlers, 2-8, 2-9, 3-14, 3-15
Q QuickBasic, 2-3, 2-4, 2-5, 2-7 building a program, 2-3, 2-4, 2-5, 2-6, 2-7 certified functions, 2-12, 2-14 compiler, 2-4, 2-6 library, 2-15 unsupported features, 2-11 QuickBasic and Visual Basic differences, 3-3 QuickBasic functions imApplBreakStatus, 2-18 imBacklightOff, 2-20 imBacklightOn, 2-21 imBacklightToggle, 2-22 imCancelRxBuffer, 2-23 imCancelTxBuffer, 2-26 imCommand, 2-28 imCursorToViewport, 2-30 imDecreaseContrast, 2-31 imGetConfigInfo, 2-33 imGetContrast, 2-34 imGetControlKey, 2-36
I-5
Page 360
JANUS PSK for Basic Reference Manual
QuickBasic functions continued imGetDisplayMode, 2-37 imGetDisplayType, 2-39 imGetFollowCursor, 2-40 imGetInputMode, 2-41 imGetKeyclick, 2-43 imGetLabelSymbology, 2-44 imGetLength, 2-45 imGetPostamble, 2-46 imGetPreamble, 2-47 imGetViewportLock, 2-48 imGetWarmBoot, 2-50 imIncreaseContrast, 2-51 imInputStatus, 2-53 imIrlA, 2-55 imIrlK, 2-60 imIrlN, 2-64 imIrlV, 2-69 imIrlY, 2-73 imLinkComm, 2-76 imMessage, 2-78 imNumberPadOff, 2-79 imNumberPadOn, 2-80 imPowerStatus, 2-82 imProtocolExtendedStatus, 2-84 imReceiveBuffer, 2-87 imReceiveBufferNoprot, 2-89 imReceiveBufferNoWait, 2-92 imReceiveByte, 2-95 imReceiveInput, 2-97 imRsInstalled, 2-100 imRxCheckStatus, 2-101 imSerialProtocolControl, 2-102 imSetContrast, 2-105 imSetControlKey, 2-107 imSetDisplayMode, 2-108 imSetFollowCursor, 2-113 imSetInputMode, 2-114 imSetKeyclick, 2-116 imSetViewportLock, 2-117 imSetWarmBoot, 2-118 imSound, 2-119 imStandbyWait, 2-121 imTransmitBuffer, 2-122 imTransmitBufferNoprot, 2-126
I-6
QuickBasic functions continued imTransmitBufferNoWait, 2-124 imTransmitByte, 2-128 imUnlinkComm, 2-130 imViewportEnd, 2-131 imViewportGetxy, 2-132 imViewportHome, 2-133 imViewportMove, 2-134 imViewportPageDown, 2-136 imViewportPageUp, 2-137 imViewportSetxy, 2-138 imViewportToCursor, 2-140
R .RSP file, 2-4, 2-6, 3-11 Reader about, 1-3 Virtual Wedge, 1-4 Reader Services imRsInstalled, 2-100, 3-105 using function libraries, 1-5 using software interrupts, 1-5 Reader Wedge, 2-9, 3-15 Receive buffer imCancelRxBuffer, 2-23, 3-26 imReceiveBuffer, 2-87, 3-91 imReceiveBufferNoprot, 2-89, 3-94 imReceiveBufferNoWait, 2-92, 3-97 imReceiveByte, 2-95, 3-100 imReceiveInput, 2-97, 3-102 Requirements QuickBasic runtime, 2-8, 2-9, 2-10, 2-11 Visual Basic runtime, 3-14, 3-15, 3-16, 3-17 Response file, 2-4, 2-6, 3-11 Run caution, 1-5, 1-7, 2-15, 3-18 Runtime requirements QuickBasic, 2-8, 2-9, 2-10, 2-11 Visual Basic, 3-14, 3-15, 3-16, 3-17 RWTSR.EXE, 2-9, 3-15
S Scanner input, 3-3 Visual Basic, 3-5, 3-6, 3-7, 3-8 setdisp.bas, 2-110, 3-115