
60
Class Reference
4.3.1.2
defaultSettings
The defaultSettings method resets selected handheld settings to manufacturing defaults; it
is equivalent to sending the 'J' command using the reader.processCommand method
(section 4.3.1.3).
Format:
reader.defaultSettings();
Note: This method has no arguments and no return value. Default settings may vary by
unit depending on the configuration purchased.
4.3.1.3
getKeyboardStatus
The getKeyboardStatus method takes no arguments and returns a read only Integer
bitmapped value containing the keyboard state of the handheld hardware. Possible
keyboard states include:
Bit Key
Value
0
Numlock
0: Disabled
1: Enabled
1
Caps/Shift Lock
0: Disabled
1: Enabled
2
Scroll Lock
0: Disabled
1: Enabled
3
Compose
0: Disabled
1: Enabled
4
KANA
0: Disabled
1: Enabled
Example:
keyboardStatus = reader.getKeyboardStatus();
A
keyboardStatus
value of 5 would indicate that the Scroll Lock key and the Numlock
key were both enabled.
Содержание OHV300
Страница 1: ...FACTORY AUTOMATION MANUAL JAVASCRIPT PROGRAMMING GUIDE...
Страница 88: ...88 Supported JavaScript Core delete function in instanceof new this typeof void...
Страница 93: ...93 Symbology ID Modifier Information...
Страница 94: ...TDOCT 4981_ENG 11 2015...