oCode

type: int; read only

 

oCode is an integer representing the type of barcode identified and decoded after a successful return from one of the scan() methods. The value is valid only if the scan() method returns a value <0.

The code values are shown in the table below. A string representation of the barcode type may be obtained by using the method TypeName(i).

 

Type

Code

Value

Code 39

C39

0

Extended Code 39

E39

1

Standard 2 of 5

TOF

2

Interleaved 2 of 5

ITF

3

Codabar

CDA

4

MSI/Plessey

MSI

5

Code 93

C93

6

Extended Code 93

E93

7

Code 128

C28

8

EAN/UCC 128

E28

9

EAN/UCC 14

E14

10

1,2EAN-13/JAN-13

E13

11

1EAN-8

EA8

12

1UPC-E

UPE

13

1UPC-A

UPA

14

Notes:
1. including 2 and 5 digit supplementaries when dControl2 is true
2. including ISBN, ISSN, ISMN

 

 

More:

Nbars