[][src]Module barcoders::sym::ean13

Encoder for UPC and EAN barcodes.

EAN13 barcodes are very common in retail. 90% of the products you purchase from a supermarket will use EAN13.

This module defines types for:

  • UPC-A
  • EAN-13
  • Bookland
  • JAN

Structs

EAN13

The EAN-13 barcode type.

Constants

ENCODINGS

Encoding mappings for EAN barcodes. 1 = bar, 0 = no bar.

LEFT_GUARD

The left-hand guard pattern.

MIDDLE_GUARD

The middle guard pattern.

RIGHT_GUARD

The right-hand guard pattern.

Type Definitions

Bookland

The Bookland barcode type. Bookland are EAN-13 that use number system 978.

JAN

The JAN barcode type. JAN are EAN-13 that use number system 49.

UPCA

The UPC-A barcode type. UPC-A are EAN-13 that start with a 0.