Barcode Technology

Barcode History

Barcode Label Paper

Barcode Printer

Barcode Application

Inventory Management

AI Barcode QRCode

Barcode Scanner

Barcode Software

Barcode Software B

Barcode Software C

Barcode Software D

Barcode Software E

New Technology A

New Technology B

Robot Technology

Barcode Types

Barcode Types B

Barcode Types C

Barcode Types D

Barcode Types E

Barcode Types F

Electronic Technology

Psychology at Work

Barcode Technology and Barcode Software Related   <<< Back to Directory <<<

OnBarcode Barcode SDK (P3)

OnBarcode Barcode SDK Comprehensive Technical Analysis

Part 3 of 17: Two-Dimensional (2D) Barcode Symbologies Architecture, Encoding Models, and SDK Implementation

1. Introduction to 2D Barcode Support in OnBarcode Barcode SDK

1.1 Fundamental Differences Between 1D and 2D Barcodes

Two-dimensional barcodes differ fundamentally from linear barcodes in how they store and present data. Instead of encoding information along a single axis, 2D barcodes encode data in both horizontal and vertical directions, enabling:

1. Significantly higher data capacity

2. Built-in error correction and redundancy

3. Robust scanning from damaged or partially obscured symbols

4. Support for binary and non-textual data

5. Compact physical symbol size

OnBarcode Barcode SDK encapsulates these properties into a consistent programming model that shields developers from the mathematical and structural complexity of 2D encoding.

1.2 Industrial Importance of 2D Barcodes

2D barcodes have become indispensable in modern software systems due to their use in:

1. Mobile device scanning ecosystems

2. High-density logistics and traceability

3. Manufacturing process control

4. Healthcare and pharmaceutical labeling

5. Document authentication and digital linking

The SDK support for multiple 2D symbologies allows developers to choose the optimal balance between capacity, robustness, and symbol size.

1.3 SDK Design Principles for 2D Encoding

OnBarcode Barcode SDK applies several consistent design principles across all supported 2D symbologies:

1. Automatic error correction generation

2. Flexible data encoding modes

3. Deterministic symbol layout

4. Configurable size and scaling

5. Standards-compliant quiet zones

These principles ensure predictable and repeatable barcode output regardless of platform.

2. QR Code

2.1 Overview and Global Adoption

QR Code is the most widely recognized 2D barcode symbology worldwide. It is used extensively in:

1. Mobile payments

2. Marketing and advertising

3. Product packaging

4. Web linking

5. Authentication workflows

Its popularity is driven by ease of scanning, strong error correction, and broad device compatibility.

2.2 Symbol Structure

A QR Code symbol consists of several functional regions:

1. Finder patterns (three corners)

2. Alignment patterns (for distortion correction)

3. Timing patterns

4. Format information

5. Version information (for larger symbols)

6. Data and error correction modules

OnBarcode Barcode SDK internally manages placement of all functional patterns according to the QR Code specification.

2.3 Data Encoding Modes

QR Code supports multiple encoding modes, including:

1. Numeric mode

2. Alphanumeric mode

3. Byte mode

4. Kanji mode

The SDK can automatically select the most efficient mode based on input data, or allow developers to specify a preferred mode.

2.4 Error Correction Levels

QR Code defines four error correction levels:

1. Low

2. Medium

3. Quartile

4. High

Higher levels increase redundancy at the cost of reduced data capacity. OnBarcode Barcode SDK allows developers to configure the desired level while ensuring valid symbol construction.

2.5 SDK Abstraction for QR Code

From a developer perspective, QR Code generation typically requires:

1. Providing the input data

2. Selecting error correction level

3. Configuring module size and margins

The SDK handles version selection, bitstream construction, and Reed-Solomon error correction internally.

3. Data Matrix

3.1 Industrial and Regulatory Significance

Data Matrix is a compact, high-density 2D barcode widely used in:

1. Electronics manufacturing

2. Medical device labeling

3. Aerospace components

4. Pharmaceutical traceability

Its ability to encode large amounts of data in very small physical areas makes it ideal for direct part marking.

3.2 Symbol Layout

A Data Matrix symbol consists of:

1. L-shaped solid finder pattern

2. Alternating timing pattern

3. Data region

4. Error correction codewords

The SDK ensures correct placement of these structural elements regardless of symbol size.

3.3 Encoding Schemes

Data Matrix supports multiple encoding schemes, including:

1. ASCII encoding

2. C40 encoding

3. Text encoding

4. X12 encoding

5. EDIFACT encoding

6. Base256 encoding

OnBarcode Barcode SDK dynamically selects encoding schemes to optimize symbol size and density.

3.4 Error Correction

Data Matrix uses Reed-Solomon error correction, enabling recovery from partial damage or poor print quality. Error correction generation is entirely automatic within the SDK.

3.5 SDK Handling of Data Matrix Complexity

The SDK abstracts Data Matrix complexity by:

1. Validating input length and format

2. Selecting optimal symbol dimensions

3. Generating error correction codewords

4. Rendering precise module grids

This makes Data Matrix accessible even to developers unfamiliar with its encoding theory.

4. PDF417

4.1 High-Capacity Stacked Barcode

PDF417 is a stacked linear 2D barcode capable of encoding large volumes of data. It is commonly used in:

1. Identification documents

2. Transportation tickets

3. Government forms

4. Shipping manifests

4.2 Structural Characteristics

PDF417 symbols consist of:

1. Multiple stacked rows

2. Start and stop patterns per row

3. Codewords representing data

4. Error correction codewords

The number of rows and columns is configurable within allowable limits.

4.3 Error Correction Levels

PDF417 supports multiple error correction levels, each increasing redundancy. OnBarcode Barcode SDK allows developers to balance data capacity against robustness.

4.4 SDK Configuration Model

Within the SDK, developers can configure:

1. Number of columns

2. Row height

3. Error correction level

4. Compact or standard mode

The SDK ensures that chosen parameters result in a valid and scannable symbol.

5. Aztec Code

5.1 Compact Design Without Quiet Zones

Aztec Code is a 2D symbology known for:

1. Central bullseye finder pattern

2. High data density

3. Minimal or no quiet zone requirements

It is widely used in transportation and ticketing systems.

5.2 Symbol Structure

Aztec Code symbols include:

1. Central finder pattern

2. Data layers arranged concentrically

3. Mode and error correction information

5.3 SDK Support Characteristics

OnBarcode Barcode SDK supports Aztec Code by:

1. Automatically selecting symbol size

2. Managing layered data placement

3. Generating error correction bits

This allows developers to use Aztec Code without deep knowledge of its layout rules.

6. MaxiCode

6.1 Logistics-Focused Symbology

MaxiCode is designed primarily for high-speed package sorting and logistics environments.

6.2 Fixed-Size Symbol Characteristics

Unlike other 2D barcodes, MaxiCode has:

1. Fixed symbol dimensions

2. Hexagonal module grid

3. Central bullseye locator

6.3 SDK Implementation Constraints

The SDK enforces MaxiCode constraints by:

1. Restricting symbol size options

2. Validating structured data formats

3. Automatically encoding error correction

7. Encoding Performance and Memory Considerations

7.1 Computational Overhead

2D barcode encoding requires:

1. Bitstream construction

2. Error correction computation

3. Symbol matrix layout

The SDK is optimized to perform these steps efficiently even in batch scenarios.

7.2 Mobile Environment Constraints

On Android, the SDK minimizes:

1. Memory allocations

2. CPU usage

3. Rendering overhead

This ensures acceptable performance on resource-constrained devices.

8. Rendering and Output for 2D Barcodes

8.1 Module Size Control

Developers can specify:

1. Module width and height

2. Overall symbol dimensions

3. Scaling behavior

The SDK ensures that scaling preserves symbol readability.

8.2 Image and Graphics Output

2D barcodes can be rendered as:

1. Bitmap images

2. Vector graphics

3. Graphics context drawings

This flexibility supports diverse output pipelines.

9. Validation and Error Handling

The SDK validates:

1. Data length limits

2. Encoding compatibility

3. Error correction constraints

Invalid configurations result in predictable error reporting.

10. Summary of Part 3

This part has explored:

1. Core principles of 2D barcodes

2. QR Code, Data Matrix, PDF417, Aztec Code, and MaxiCode

3. Encoding models and error correction strategies

4. SDK-level abstraction and configuration

5. Performance and rendering considerations

In Part 4, we will dive deeper into barcode rendering engines, including image generation, vector output, DPI scaling, color management, and print fidelity, which are critical for real-world deployment.

 

EasierSoft Barcode Label Design & Bulk Printing Software

---- Use Excel Data to Batch Print Barcodes on Label Sheets or Roll Labels  

---- How to use this barcode software

Download:  Free Barcode Software + Barcode Label Designer

Download Free Barcode Software at Softonic

     Download at CNET

Once you obtain a GS1/UPC/EAN barcode, or other barcode type and QR code, you can use our free software to batch print barcode labels onto Roll label paper using a professional label printer, or to batch print barcodes onto Avery 5160 label sheets using a regular laser or inkjet printer. Our software has free and paid versions.

The free version fully meets your needs for batch printing GS1/UPC/EAN barcodes. The paid version can import data from Excel and databases to batch print barcode labels with different values.

How to Start

Input Data

Import Excel Data

Print Barcode

Barcode Format

Label Designer

All Screen Shot

Export Barcode Image

Save Template

Output Word Excel

How to Use & FAQ:

Input data (Std)

Export barcodes to Excel

Export barcodes to Word

Add ascii key to barcode

Auto calculate barcode size (Std)

Make barcode by command line

Export barcode image files

Barcode text font setting

Generate ISBN barcode

Predefined label templates

Printing setup

Save settings

Serial number generator

The supported barcode types

Load Excel data (pro)

Manually copy data from Excel files

Filter some data for printing

Edit imported barcode data

Input data (Pro)

Label Designer

Edit data in Label designer

Label Designer - Add new label

Label Designer - Printing

Set the barcode label format to be printed

Other Barcode Label Format Settings

Barcode types supported by this program

Barcode Label Font Settings

Configuring the Barcode Print Rotation

Text Alignment for Barcode Labels

Automatically Adjusting Barcode Width

Text Beneath the Barcode

Configuring Barcode Size

Auto Calculate the Barcode Size

Export Barcode images

Export Barcode Image Format

File Names for Exported Barcode

Resolution of Exported Barcode Images

Fixed Folder for Exporting Barcode

Default Barcode Image Export Format

Print bulk barcodes quickly

Print barcodes to Avery 5160 label

How to bulk Barcode Printing

Sample - Avery 5162 (2x7) Label Sheet

Example: Print barcodes to 5*3cm roll

Example: Print barcodes to 5161 label

Example: Print barcodes to 5162 label

Example: Print barcodes to 5163 label

Example: Print barcodes to 5164 label

Example: Print portrait orientation 5164

Example: Print barcodes to 5167 label

Highlights

Excel integration: Import data directly from Excel to generate and print barcodes in bulk.

Label designer: Create complex labels with multiple barcodes, text, logos, and shapes.

Batch printing: Print thousands of barcodes at once using standard inkjet/laser printers or professional barcode printers.


Flexible editions:

Standard Edition: Simple batch printing with Excel data.

Professional Edition: Adds command-line automation for workflow integration.

Label Designer Edition: Advanced design features for complex labels.


Why Choose Our Barcode Solutions?

Cost-effective: Free online generator and permanent free desktop version available.

Easy to use: No technical expertise required—just input data and print.

Versatile: Supports nearly all 1D and 2D barcode types, including QR codes.

Trusted: Recommended by CNET and widely downloaded by users worldwide.


Suitable Use Cases

Small businesses and startups needing quick barcode labels for products.

Retailers and online sellers managing inventory with batch barcode printing.

Manufacturers requiring sequential or custom barcode labels for packaging.

Educational and testing environments where barcodes are used for tracking.

 

 

CONTACT

cs@easiersoft.com

If you have any question, please feel free to email us.

 

https://free-barcode.com

 

<<< Back to Directory <<<     Barcode Generator     Barcode Freeware     Privacy Policy