beautypg.com

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

Page 113

background image

4-72 Programmer’s Manual

s c n S c a n n e r H i t

Description

Checks for data in the scanner buffer. If there is data, it returns
the type of bar code the data is from. This function works with
both scanners.

Syntax

short far scnScannerHit(void);

Parameters

None

Return Values

0

The scanner buffer is empty.

Non-zero The type of bar code in the scanner buffer. When you

use either library, the following values can be
returned.

DCDE_C39

Code 39 (3 of 9 code)

DCDE_CBAR

Codabar (2 of 7 code)

DCDE_C128

Code 128

DCDE_I2of5

I 2 of 5 (USD-1)

DCDE_UPCA

UPCA

DCDE_UPCE

UPCE

DCDE_EAN8

EAN8

DCDE_EAN13

EAN13

DCDE_UPCA_2

UPCA + 2

DCDE_UPCE_2

UPCE + 2

DCDE_EAN8_2

EAN8 + 2

DCDE_EAN13_2

EAN13 + 2

DCDE_UPCA_5

UPCA + 5

DCDE_UPCE_5

UPCE + 5

DCDE_EAN8_5

EAN8 + 5

DCDE_EAN13_5

EAN13 + 5

DCDE_MSI

MSI