Avery Dennison 6035 Programmer Manual Rev.CA 6/01 User Manual

Page 128

Advertising
background image

Function Reference 4-87

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

Description

SCAN1223.LIB only. Saves the 1223 scanner configuration
values the application set in the I2OF5INFO data structure.
See “I2OF5INFO” 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 scnGetI2of5Info.

3. Sets the values in the I2OF5INFO data structure.

4. Calls scnSetI2OF5Info.

When the application disables the scanner,

the configuration values go back to the

defaults.

Syntax

short far scnSetI2of5Info(LPI2OF5INFO lprI2of5Info);

Parameters

lprI2of5Info

A pointer to an I2OF5INFO data structure.


Return Values

0

Successful.

-5

Invalid configuration value.

-9

The scanner is disabled.

Advertising