Metrologic Optimus S Programming Manual page 83

"c" programming guide
Table of Contents

Advertisement

get_alpha_enable_state
Purpose
To get the state of the ALPHA (α) key.
int get_alpha_enable_state (void);
Syntax
Example
state = get_alpha_enable_state();
Description
By default, the ALPHA (α) key is enabled.
Return
The return value can be one of the following:
0
1
2
dis_alpha, en_alpha, LockAlphaState
See Also
get_alpha_lock_state
Purpose
To get information of the ALPHA (α) state for input mode, either locked or
unlocked.
Syntax
int get_alpha_lock_state (void);
Example
state = get_alpha_lock_state();
Description
This routine gets the current state of input mode, resulting from either
LockAlphaState() or set_alpha_lock().
The return value can be one of the following:
Return
0
1
2
3
See Also
LockAlphaState, set_alpha_lock
LockAlphaState
Purpose
To set the ALPHA (α) state for input mode and lock (= disable) the ALPHA
(α) key.
Syntax
void LockAlphaState (int state);
int state;
Example
LockAlphaState (2);
Chapter 3 Terminal Specific Function Library
The ALPHA key is disabled, resulting from dis_alpha() and
LockAlphaState().
The ALPHA key is enabled and the keypad behavior is set to
ALPHA_FIXED, resulting from en_alpha().
The ALPHA key is enabled and the keypad behavior is set to
ALPHA_ROLLING, resulting from en_alpha().
Numeric mode
Upper case alpha mode
Lower case alpha mode
Function mode (Optimus S only)
/* input mode that cannot be modified by ALPHA key */
/* lower case alpha mode, ALPHA key disabled */
77

Advertisement

Table of Contents
loading

This manual is also suitable for:

Optimus r

Table of Contents