beautypg.com

Paxar Gold 6037EX User Manual

Page 110

background image

4-74 Programmer’s Manual

s c n S e t C o d a b a r I n f o

Description

LMSSCEN.LIB only. Saves the scanner configuration values
the application set in the CODABARINFO data structure. See
“CODABARINFO” 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 scnGetCodabarInfo.

3. Sets the values in the CODABARINFO data structure.

4. Calls scnSetCodabarInfo.

When the application disables the scanner,

the configuration values return to the

defaults.

Syntax

short far scnSetCodabarInfo(LPCODABARINFO lprCodabarInfo);

Parameters

lprCodabarInfo

A pointer to a CODABARINFO data structure.


Return Values

0 Successful.

-5

Invalid configuration value.

-9

The scanner is disabled.