iReport QR Code Generator Plugin Tutorial
Generate, create 2d barcode QR Code images in iReport reports
Download iReport Barcode Generator Free Evaluation Package
Purchase This Mature Barcode SDK Now
I was looking for an iReport barcoding tool for our project! And OnBarcode provided exactly what we needed!
- Adam Landon, UK

QR Code for iReport plugin generate, create QR Code barcode in iReport Jasper Reports

  • Print, generate high-quality QR Code barcode images in iReport
  • Developed completely in NETBeans iReport Custom Extended Report Item framework.
  • Simple to redistribute iReport QR Code barcode library (jar)
  • Easy to install and use with no registration key or activation code needed
  • Various QR Code barcode settings customizable to control size / shape, etc
  • Best iReport QRCode barcode generation plugin using Java Barcode Generator library

iReport Barcode QR Code Generator Introduction
Top
iReport Barcode is a NETBeans iReport Custom Extended Report Item which helps you easily generate and print high quality 1D (linear) and 2D (matrix) barcodes in your iReport reports.

Barcode QR-Code Introduction

QR Code is a matrix code (or two-dimensional bar code) created by Japanese corporation Denso-Wave in 1994. The "QR" is derived from "Quick Response", as the creator intended the code to allow its contents to be decoded at high speed.

iReport QR-Code Generator - Valid Data Scope

  • numeric data (digits 0 - 9);
  • alphanumeric data (digits 0 - 9; upper case letters A -Z; nine other characters: space, $ % * + - . / : );
  • byte data (default: ISO/IEC 8859-1);
  • Kanji characters (Japanese characters)

QR Code Generators

How to generate QR Code barcodes in iReport?
Top
Below is a sample to create QR Code barcodes in iReport. View details here: how to generate and print barcodes in iReport reprts.

One more guide for you to stream QR Code barcodes in iReport using Java Servlet web application.
  1. Create a new report, and add barcode.jar to report classpath from the downloaded trial package
  2. Drag an image item in Palette to report
  3. Click "Cancel" button, in "Select an image file" window
  4. Right click on the image and edit its "Properties", and set property "Expression Class" to "net.sf.jasperreports.engine.JRRenderable";
  5. To input QR Code barcode data manually, set property "Image Expression" to "new com.onbarcode.barcode.jasper.JasperRenderer(
    com.onbarcode.barcode.jasper.BarcodeGenerator.draw(102, "12345", "", "X=2"))
    "
  6. To print QR Code with data from database, please set property "Image Expression" to "new com.onbarcode.barcode.jasper.JasperRenderer(
    com.onbarcode.barcode.jasper.BarcodeGenerator.draw(102, $F{data field} + "", "", "X=2"))
    ";

    BarcodeGenerator.draw method accepts 4 parameters:
    the second is the barcode data to encode, in String,
    the last is the barcode settings String. More details about barcode settings string, please check the QR Code property table below
iReport Barcode QR Code Generator - Property Settings
Top
Category Properties Value Comments
Basic Property: Data Type: expression
Default: ""
  • If you encode the barcode data text directly, the text string should be around by " " ", such as "12345"

  • If you encode the barcode data from dataset, input the expression, such as row["CUSTOMERNUMBER"]
Barcode value to encode

QRCode Valid Data Char Set:
  • numeric data (digits 0 - 9);
  • alphanumeric data (digits 0 - 9; upper case letters A -Z; nine other characters: space, $ % * + - . / : );
  • byte data (default: ISO/IEC 8859-1);
  • Kanji characters

 
QRCode
Special
Property: Process Tilde Type: boolean
Default: true
Set the Process Tilde property to true, if you want use the tilde character "~" to specify special characters in the input data. Default is true.
  • 1-byte character: ~0dd/~1dd/~2dd (character value from 000 ~ 255); ASCII character '~' is presented by ~126
    Strings from "~256" to "~299" are unused
  • 2-byte character (Unicode): ~6ddddd (character value from 00000 ~ 65535)
    Strings from "~665536" to "~699999" are unused
  • for GS1 AI Code:
    ~ai2: AI with 2 digits
    ~ai3: AI with 3 digits
    ~ai4: AI with 4 digits
    ~ai5: AI with 5 digits
    ~ai6: AI with 6 digits
    ~ai7: AI with 7 digits
  • ECI: ~7dddddd (valid value of dddddd from 000000 to 999999)
  • SJIS: from ~9ddddd (Shift JIS 0x8140 ~ 0x9FFC and 0xE040 ~ 0xEBBF)
Property: QRCode Data Mode Type: int
Default: AUTO
  • AUTO : It allows encoding all 256 possible 8-bit byte values. This includes all ASCII characters value from 0 to 127 inclusive and provides for international character set support
  • ALPHANUMERIC: It allows encoding alphanumeric data (digits 0 - 9; upper case letters A -Z; nine other characters: space, $ % * + - . / : ).
  • BYTE : It allows encoding byte data (default: ISO/IEC 8859-1).
  • NUMERIC : It allows encoding numeric data (digits 0 - 9).
  • KANJI : It allows encoding Kanji characters.
Property: QRCode Error Correction Level Type: int
Default: L
QRCode Error Correction Level.
  • L
  • M
  • Q
  • H
Property: QRCode FNC1 Mode Type: int

Default: NONE
To encode GS1 compatible QR-Code barcode, you need set FNC1 Mode value to "ENABLE".
Property: QRCode Version Type: int
Default: 1.
Valid values are from 1 to 40.
Property: 2D Barcode Structured Append Type: boolean
Default: false
Set Structured Append property to true, then Structured Append is enabled.
Property: 2D Barcode Symbol Count Type: int
Default: 0
Set Symbol Count property to the number of total symbols which make the sequence.
Property: 2D Barcode Symbol Index Type: int
Default: 0
Set Symbol Index property to the position of current symbol in the secuence (Start with 0).
Property: 2D Barcode File Id Type: int
Default: 0
Set File Id property to be identified to the same file.
 
Barcode
Size
Related
Property: Unit of Measure Type: int
Default: 0 (pixel)
Unit of meature for all size related settings in the library.
Valid values: 0: pixel; 1: inch; 2: cm.
Property: X Type: float
Default: 1
Width of barcode bar module (narrow bar), default is 1 pixel
Property: Left Margin Type: float
Default: 0
Barcode image left margin size.
Property: Right Margin Type: float
Default: 0
Barcode image right margin size.
Property: Top Margin Type: float
Default: 0
Barcode image top margin size.
Property: Bottom Type: float
Default: 0
Barcode image bottom margin size.
Property: Resolution (in dpi) Type: int
Default: 72
Barcode image resolution in DPI (Dots per inch).
Property: Rotate Type: int
Default: 0 (rotate angle in 0 degree)
Valid values:

  • 0 (rotate angle in 0 degree)
  • 90 (rotate angle in 90 degree)
  • 180 (rotate angle in 180 degree)
  • 270 (rotate angle in 270 degree)
iReport Barcode Generator Supporting BarCode Types
Top
Barcode for iReport - Bar Code Types Generation
OnBarcode is a market-leading provider of barcode imaging generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding, VB.NET Barcode Image, Java JSP Servlet. OnBarcode barcode products are supported by RasterEdge high quality .NET Imaging SDK, Java Imaging Library, and their easy and simple documents, like imaging in C#, imaging in VB.NET, PDF in C# and PDF in VB.NET.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.