Skip to content

BarcodeType

BarcodeType enumeration contains types of barcodes which can be processed.

const BarcodeType = {
    UNKNOWN: 0,
    BCT_CODE128: 1,
    CODE39: 2,
    EAN8: 3,
    ITF: 4,
    PDF417: 5,
    STF: 6,
    MTF: 7,
    IATA: 8,
    CODABAR: 9,
    UPCA: 10,
    CODE93: 11,
    UPCE: 12,
    EAN13: 13,
    QRCODE: 14,
    AZTEC: 15,
    DATAMATRIX: 16,
    ALL_1D: 17,
    CODE11: 18,
}
Constant Description
UNKNOWN unknown type
BCT_CODE128 one-dimensional barcode, ISO 15417 (ANSI/AIM BC4-1999 Code 128)
CODE39 one-dimensional barcode, ISO 16388 (ANSI/AIM BC1-1995 Code 39)
EAN8 one-dimensional barcode, EAN8, ISO 15418
ITF one-dimensional barcode, Interleaved 2 of 5, ISO 16390 (ANSI/AIM BC2-1995 Interleaved 2 of 5)
PDF417 two-dimensional barcode, ISO 15438 (AIM USS PDF417)
STF one-dimensional barcode, Standard 2 of 5 (Industrial)
MTF one-dimensional barcode, Matrix 2 of 5
IATA one-dimensional barcode, IATA 2 of 5 (Airline)
CODABAR one-dimensional barcode, (ANSI/AIM BC3-1995, USS - Codabar)
UPCA one-dimensional barcode, UPC-A
CODE93 one-dimensional barcode, (ANSI/AIM BC5-1995, USS - Code 93)
UPCE one-dimensional barcode, UPC-E
EAN13 one-dimensional barcode, EAN13, ISO 15418
QRCODE two-dimensional QR barcode
AZTEC two-dimensional AZTEC barcode
DATAMATRIX two-dimensional DATAMATRIX barcode
ALL_1D one-dimensional barcodes
CODE11 one-dimensional barcode, Code 11