An example qrcode

The Barcodes module provides a field formatter for various field types, a block plugin and token support to display various field types as rendered Barcodes.

Currently supported field types
email, integer, link, string, telephone, text, text_long, text_with_summary, bigint

Available barcode types

  • CODE 128
  • CODE 128 A
  • CODE 128 B
  • CODE 128 C
  • CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.
  • CODE 39 + CHECKSUM
  • CODE 39 EXTENDED
  • CODE 39 EXTENDED + CHECKSUM
  • CODE 93 - USS-93
  • CODABAR
  • CODE 11
  • EAN 13
  • EAN 2-Digits UPC-Based Extension
  • EAN 5-Digits UPC-Based Extension
  • EAN 8
  • Interleaved 2 of 5
  • Interleaved 2 of 5 + CHECKSUM
  • IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200
  • IMB - Intelligent Mail Barcode pre-processed
  • KIX (Klant index - Customer index)
  • 1D RAW MODE (comma-separated rows of 01 strings)
  • MSI (Variation of Plessey code)
  • MSI + CHECKSUM (modulo 11)
  • PHARMACODE
  • PHARMACODE TWO-TRACKS
  • PLANET
  • POSTNET
  • RMS4CC (Royal Mail 4-state Customer Bar Code)
  • Standard 2 of 5
  • Standard 2 of 5 + CHECKSUM
  • UPC-A
  • UPC-E
  • AZTEC Code (ISO/IEC 24778:2008)
  • DATAMATRIX (ISO/IEC 16022)
  • PDF417 (ISO/IEC 15438:2006)
  • QR-CODE
  • 2D RAW MODE (comma-separated rows of 01 strings)

Configuration

  • Add a field of one of the types of email, integer, link, string, telephone, text, text_long or text_with_summary
  • Choose Barcode as formatter
  • Adjust the settings like type, color and dimensions to your liking
  • Add a barcode block to yout page and provide the value in the settings

Optional dependencies

  • Composer manager (Drupal 7.x)
    You may use composer manager module to manage external dependencies.
  • Token (Drupal 7.x / 8.x)
    You may use Token module, if you need token replacement functionality in your barcode data.

Dependencies

  • No further system dependencies, just PHP and Drupal
  • No external service dependencies
  • No special font dependencies

Similar projects

🇺🇦

#StandWithUkraine
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.

Logo icon by Solar Icons in CC Attribution License via SVG Repo

Supporting organizations: 
Drupal 8/9 Development and Maintenance

Project information

Releases