Friday 21 May 2021

Barcodes generation tutorial

In this tutorial series, I am going to explain how to generate and read different types of bar codes.

 

a.   Aztec 2D barcode format

b.   CODABAR 1D format

c.    Code 39 1D format.

d.   Code 93 1D format

e.   Code 128 1D format

f.     Data Matrix 2D barcode format

g.   EAN-8 1D format

h.   EAN-13 1D format

i.     ITF (Interleaved Two of Five) 1D format

j.     MaxiCode 2D barcode format

k.    PDF417 format

l.     QR Code 2D barcode format

m. RSS 14

n.   RSS EXPANDED

o.   UPC-A 1D format

p.   UPC-E 1D format

q.   UPC/EAN extension format. Not a stand-alone format

 

      Generate Aztec 2D barcode
      read information from Aztec 2D barcode
      Generate CODABAR 1D format code
      Read CODABAR 1D format code
      Generate Code 39 1D format code
      Read Code 93 1D format image
      Generate Code 128 1D format barcode
      Read information from 128 1D format bar code
      Generate Data Matrix 2D barcode
      Read information from Data Matrix 2D barcode
      Generate EAN-8 1D format code
      read information from EAN-8 1D format code
      Generate EAN-13 1D format code
      Read information from EAN-13 1D format code
      Generate ITF (Interleaved Two of Five) 1D format code
      read information from ITF (Interleaved Two of Five) 1D format code
      Generate PDF417 format barcode
      Read information from PDF417 format code
      Generate UPC-A 1D format code
      Read information from UPC-A 1D format code
      Generate UPC-E 1D format code

 

Dependencies used

<dependencies>
  <!-- https://mvnrepository.com/artifact/com.google.zxing/core -->
  <dependency>
    <groupId>com.google.zxing</groupId>
    <artifactId>core</artifactId>
    <version>3.4.1</version>
  </dependency>

  <!-- https://mvnrepository.com/artifact/com.google.zxing/javase -->
  <dependency>
    <groupId>com.google.zxing</groupId>
    <artifactId>javase</artifactId>
    <version>3.4.1</version>
  </dependency>
</dependencies>

 

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment