Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
-
Barcode
The Barcode module provides a text field to generate barcode images.
https://www.drupal.org/project/barcode -
Endroid Qr Code
The Endroid QR Code module enables to generate a QR Code image.
https://www.drupal.org/project/endroid_qr_code -
Google QR Code Generator
This project leverages the Google QR Code Generator from their charts API to display a block containing a QR code for the current URL.
https://www.drupal.org/project/google_qr_code -
Mobile Codes
Provides the ability to render Text, URLs or any other form of informaton as a Mobile Code, including but not limited to the QR codes and Datamatrix formats.
https://www.drupal.org/project/mobile_codes -
QR Codes
This modules allows for the creation of two dimensional (2D) QR barcodes.
https://www.drupal.org/project/qr_codes -
QR-Code
Provides the ability to create and manage qrcodes.
https://www.drupal.org/project/qrcode -
QR Code Fields
Enables site builders to easily generate dynamic QR codes and integrate them into their content types.
https://www.drupal.org/project/endroid_qr_code -
QR Code Fields
Enables site builders to easily generate dynamic QR codes and integrate them into their content types.
https://www.drupal.org/project/endroid_qr_code -
QR Code Field Formatter
Used to encode and display the content to QRcode.
https://www.drupal.org/project/qr_code_field_formatter -
vCard QRCode Generator
This module aims to generate a vCard as QRcode for contacts.
https://www.drupal.org/project/vcard_qr -
EasyQRCodeJS
A render element for rendering a simple QR-code.
https://www.drupal.org/project/easyqrcodejs -
Auto Short QR
Adds autocomputed short url and QR code fields to nodes and terms.
https://www.drupal.org/project/autoshortqr -
Page URL QR Code Block
Just for displaying a block with QR Code of current Page URL.
https://www.drupal.org/project/page_url_qr_code_block -
Draw Barcode
Create a barcode images on the web without any kind of software support.
https://www.drupal.org/project/draw_barcodes -
Data Matrix API
Provides a PHP wrapper API enabling Drupal developers to make use of libdmtx's matrix code.
https://www.drupal.org/project/datamatrix -
UPC Barcode Field
Defines a UPC barcode CCK field in Drupal.
https://www.drupal.org/project/upcfield
🇺🇦 |
#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
- Module categories: Content Display, Site Structure
- 669 sites report using this module
- Created by sanduhrs on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.