The dBarScan 1D Component can identify and decode the following barcode types:
|
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 |
|
IATA 2 of 5 |
IAT |
15 |
Notes:
1.
including 2 and 5 digit supplementaries
2. including ISBN, ISSN,
ISMN
It is important to note that, as with a “normal” barcode scanner, it is not a good idea to enable every type and hope the scanner will decode the image correctly. Some barcode types are very easily mistaken for others, particularly if the image is imperfect.
The ideal would probably be to know exactly what barcode type is being scanned and enable dBarScan for just that type. However, even this has disadvantages – for example Interleaved 2 of 5 is notorious for resulting in short scans – where only part of the barcode data is returned. Similarly a partial scan of several barcode types can be mistaken for a UPC-E code.
The dBarScan scan() methods each return one of the following values:
-1 = a barcode
detected and decoded, but not confirmed by finding the stop bars
-2= a
barcode detected and decode and the stop bars confirmed
any other value
represents an error code (see reference section)
Our advice is to enable only those barcode types you expect to be scanning, and to check the value returned from a scan() method.