Paxar Gold 6037EX manual N S e t D 2 o f 5 I n f o

Models: Gold 6037EX

1 230
Download 230 pages 30.9 Kb
Page 118
Image 118

s c n S e t D 2 o f 5 I n f o

Description

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

3 . Sets the values in the D2OF5INFO data structure.

4 . Calls scnSetD2of5Info.

When the application disables the scanner,

the configuration values go back to the

defaults.

Syntax

short far scnSetD2of5Info(LPD2OF5INFO lprD2of5Info);

Parameters

lprD2of5Info A pointer to a D2OF5INFO data structure.

Return Values

0

Successful.

-5

Invalid configuration value.

-9

The scanner is disabled.

4-82 Programmer’s Manual

Page 118
Image 118
Paxar Gold 6037EX manual N S e t D 2 o f 5 I n f o