Metrologic Optimus S Programming Manual page 84

"c" programming guide
Table of Contents

Advertisement

78
"C" Programming Guide For Optimus S/R
set_alpha_lock
This routine specifies the input mode, which cannot be modified by the
Description
ALPHA (α) key.
The value of the parameter state can be one of the following:
NUMERIC_KAYPAD (0)
UPPER_CASE (1)
LOWER_CASE (2)
FUNCTION_KEY (3)
Return
None
dis_alpha, en_alpha, get_alpha_enable_state, get_alpha_lock_state,
See Also
set_alpha_lock
Purpose
To set the ALPHA (α) state for input mode.
Syntax
void set_alpha_lock (int state);
int state;
Example
set_alpha_lock (1);
Description
This routine sets the input mode, which can be modified by the ALPHA (α)
key. If the ALPHA key is disabled by dis_alpha() or locked by
LockAlphaState(), use en_alpha() to enable (=unlock) it.
The value of the parameter state can be one of the following:
0
1
2
3
Return
None
See Also
dis_alpha, en_alpha, get_alpha_enable_state, get_alpha_lock_state,
LockAlphaState
Locked to numeric mode
Locked to upper case alpha mode
Locked to lower case alpha mode
Locked to function mode (Optimus S only)
/* input mode that can be modified by ALPHA key*/
/* upper case alpha mode, ALPHA key enabled */
Numeric mode, unlocked
Upper case alpha mode, unlocked
Lower case alpha mode, unlocked
Function mode, unlocked (Optimus S only)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Optimus r

Table of Contents