Java QR Code Barcode Generator

Generate, draw & print QR Code in Java applications with Java barcode generation component
Java Barcode Trial Package
Download
Java Barcode Trial Package
Java QR Code Barcode Generator - Benefits
To create 2D barcode QR code for Java Application

Mature Java QR Code generator

Mature Java QR Code generator is completely developed in Java on any operating systems with Java Virtual Machine

Check Sum Digit

Check sum digit may be automatically calculated with Terrekā€™s QR Code generator.

Available Java Development Environment

  • Easy to generate and print QR Code barcode in Java Server Side projects, such as JSP, Servlet, EJB, J2EE, Web Service.
  • Easy to generate and print QR Code barcode in Java Client applications, such as Java Class, Swing, Applet, Java Bean, J2SE.
  • Easy to generate and print QR Code barcode in Java Reports, such as Jasper Reports, iReport, Eclipse BIRT, Oracle Reports.

Java IDES

Java QR Code generator can be easily integrated into Java IDEs without any efforts.
Java QR Code Barcode Generator --- Overview
Java QR Code Generator is a single small JAR file that can be easy-to-integrate into Java applications. JSP, Java Servlet, Applet, Java Bean and J2EE web projects are included in this package, which makes easy and simple generation of QR Code.

QR Code Introduction

QR code is abbreviated from Quick Response code, a type of two-dimensional code, which was first designed for tracking vehicles during the manufacturing process by Toyota subsidiary Denso Wave in 1994. Recently, it has become popular outside of the industry due to its fast readability and comparatively large storage capacity.
Java QR Code symbology encodes:
  • Numeric Characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Uppercase letter: A-Z
  • Special characters: - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus), *(Star)
  • byte data (default: ISO/IEC 8859-1)
  • Kanji characters
Java QR Code Generator --- Generating Barcode

Generate QR Code in Java class by customizing barcode properties.

// Create Java QR Code object
QRCode barcode = new QRCode();
// Set QR Code data text to encode
barcode.setData("87654321");
// Generate QR Code & print into Graphics2D object
barcode.drawBarcode("Java Graphics2D object");
// Generate QR Code & encode into GIF format
barcode.drawBarcode("C://barcode-qrcode.gif");
// Generate QR Code & encode into JPEG format
barcode.drawBarcode("C://barcode-qrcode.jpg");

Generate & encode QR Code to EPS by changing the concerned values.

// Create Java QR Code object
QRCode barcode = new QRCode();
// Set QR Code data text to encode
barcode.setData("87654321");
// Generate QR Code & encode into EPS format
barcode.drawBarcode2EPS("C://barcode-qrcode.eps");

Generate & encode QR Code in html or jsp pages.

Add barcode folder and its contents from demo package to Apache Tomcat.
Start Apache Tomcat, go to http://YourDomain:Port/barcode/barcode?DATA=87654321&TYPE=QRCODE
Add an image tag (img) into your target page. Like following one,

Customize the width and height of generated QR Code image

You can choose to set the values of the barcodeWidth and barcodeHeight properties or set QR Code (bar module width) and Y (bar module height) values.
Java QR Code Generator --- Setting QR Code Properties
  • QR Code Basic Settings
  • QR Code Size Settings
  • QR Code Special Settings
  • QR Code Text Settings
  • QR Code Color Settings
  • QR Code Image Settings