A SERVICE OF

logo

4-78 Programmer’s Manual
scnSetCode39Info
Description
LMSSCEN.LIB only. Saves the scanner configuration values
the application set in the CODE39INFO data structure. See
“CODE39INFO” in Chapter 5 for a description of this data
structure.
To configure the scanner, the application
1. Enables the scanner with scnOpenScanner or
scnOpenScannerShared.
2. Calls scnGetCode39Info.
3. Sets the values in the CODE39INFO data structure.
4. Calls scnSetCode39Info.
When the application disables the scanner,
the configuration values go back to the
defaults.
Syntax
short far scnSetCode39Info(LPCODE39INFO lprCode39Info);
Parameters
lprCode39Info
A pointer to a CODE39INFO data structure.
Return Values
0
Successful.
-5
Invalid configuration value.
-9
The scanner is disabled.