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

Page 86

Advertising
background image

Function Reference 4-45

s c n G e t B a r C o d e T y p e

Description

Retrieves the last scanned bar code’s type. Call this function
only after receiving successful return codes from a scan that
does not also retrieve the results. The bar code scanned stays
in the scanner buffer until the application reads it.

Syntax

short far scnGetBarCodeType(void);

Parameters

None

Return Values

The following values can be returned when you use either
library:

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

Advertising