iReport GS1 128 Generator Plugin Tutorial
Generate, create linear barcode GS1 128 (EAN 128) images in iReport reports
I was looking for an iReport barcoding tool for our project! And OnBarcode provided exactly what we needed!
- Adam Landon, UK
GS1 128 (EAN 128) for iReport plugin generate, create GS1 128 (EAN 128) barcode in iReport Jasper Reports
- Simple to generate, print GS1 128 / EAN 128 barcodes in iReport reports
- Redistribute iReport GS1 128 / EAN 128 barcode library (jar) easily
- Easy to use with no barcode fonts or programming required
- No reguistration key or activation code needed
- Completely developed in NETBeans iReport Custom Extended Report Item framework.
- Printed GS1-128 barcodes are compatible with latest GS1 specifications
- Mature iReport GS1 128 / EAN 128 barcode generation plugin using Java Barcode Generator library
iReport Barcode GS1 128 / EAN 128 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.
c# code 39 generator,
barcode excel 2007 freeware,
free pdf417 generator c#,
c# generate upc barcode,
barcode project in vb.net,
excel code 128 function
EAN-128 / GS1-128 Introduction
GS1-128 is an application standard of the GS1 implementation using the Code 128 barcode specification. The former correct name was UCC/EAN-128. Other no longer used names have included UCC-128 and EAN-128. GS1-128 uses a series of Application Identifiers to include additional data such as best before dates, batch numbers, quantities, weights and many other attributes needed by the user.
iReport EAN 128/GS1 128 Generator - Valid Data Scope
- all 128 characters of ASCII, including A-Z, a-z, 0-9,etc
- values 128-255 in accordance with ISO 8859-1. There are referred to as extended ASCII.
GS1 128 Generators
How to generate GS1-128 barcodes in iReport?

Top
- Create a new report, and add barcode.jar to report classpath from the downloaded evaluation package
- Drag an image item in Palette to report
- Click "Cancel" button, in "Select an image file" window
- Right click on the image and edit its "Properties", and set property "Expression Class" to "net.sf.jasperreports.engine.JRRenderable";
- To input GS1-128 barcode data manually, set property "Image Expression" to "new com.onbarcode.barcode.jasper.JasperRenderer(
com.onbarcode.barcode.jasper.BarcodeGenerator.draw(13, "(12)12345", "", "X=2&Y=60"))" - To print GS1-128 with data from database, please set property "Image Expression" to "new com.onbarcode.barcode.jasper.JasperRenderer(
com.onbarcode.barcode.jasper.BarcodeGenerator.draw(13, $F{data field} + "", "", "X=2&Y=60"))";
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 GS1-128 property table below
iReport Barcode GS1-128 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.
GS1 128 / EAN 128 Valid Data Char Set:
- all 128 characters of ASCII
- values 128-255 in accordance with ISO 8859-1. There are referred to as extended ASCII.
|
|
Property: Add CheckSum Char
|
Type: boolean
Default: false
|
Add CheckSum Char property is not applied here. |
| |
GS1 128 EAN 128 Special |
Property: Process Tilde
|
Type: boolean
Default: false
|
Set the Process Tilde property to true, if you want use the tilde character "~"
to specify special characters in the input data.
|
| |
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: Y
|
Type: float
Default: 30
|
Height of barcode bar module, default is 30 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)
|
| |
Font Style |
Property: Show Text
|
Type: boolean
Default: true
|
If true, display barcode data text under the barcode, otherwise do not display. |
|
Property: Text Font Size
|
Type: int
Default: 11
|
Barcode text font size.
|
|
Property: Text Margin
|
Type: float
Default: 6
|
Space between barcode and barcode data text, default is 6 pixels |
iReport Barcode Generator Supporting BarCode Types

Top
Barcode for iReport - Bar Code Types Generation