🍋
Menu
QR & Barcode

MaxiCode

MaxiCode 2D Barcode

A fixed-size 2D barcode with a central bullseye pattern used by UPS for automated package sorting and tracking.

Détail technique

Linear maxicodes encode data in parallel bars of varying width. EAN-13/UPC-A use 13/12 digits with a check digit (modulo 10 algorithm). Code 128 supports full ASCII with three character sets (A, B, C) and automatic set switching. Barcode scanners use laser or CCD sensors to read reflectance patterns — the quiet zone (blank space) before and after the barcode is critical for reliable scanning. Minimum bar width (X dimension) must be at least 0.25mm for reliable laser scanning.

Exemple

```javascript
// Generate Code 128 barcode
const barcode = generateBarcode({
  data: 'PEASY-2026-001',
  format: 'CODE128',  // Also: EAN13, UPC-A, Code39
  width: 2,           // bar width in pixels
  height: 80,         // bar height
  displayValue: true, // show text below
});
```

Outils associés

Termes associés