iReport UPC-A Generator Plugin Tutorial
Generate, create linear barcode UPC-A 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

UPC-A for iReport plugin generate, create UPC-A barcode in iReport Jasper Reports

  • Professional Java Barcode Library to generate UPC-A barcodes in iReport reports
  • Simple to redistribute iReport UPC-A linear barcode library (jar)
  • Easy to use barcode tool with no registration key or activation code needed
  • Totally compatibile with latest GS1 General Specifications for valid output
  • Generating high quality UPC-A Bar Code images in GIF, Png and Jpeg image formats
  • Completely developed in NETBeans iReport Custom Extended Report Item framework.
  • Mature iReport UPC-A barcode generation plugin using Java Barcode Generator library


iReport Barcode UPC-A 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 UPC-A Introduction

UPC-A is also known as Universal Product Code version A, UPC-A Supplement 5/Five-digit Add-On, UPC-A Supplement 2/Two-digit Add-On, UPC-A+5, UPC-A+2, UPC Code, UPC Symbol, GTIN-12, GS1-12, UCC-12

iReport UPC-A Generator - Valid Data Scope

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

UPC-A Generators

OnBarcode provides several UPC-A Generator components and software, including UPC-A Generator .NET, UPC-A Generator Java, UPC-A Generator C#, UPC-A Generator VB.NET, UPC-A Generator.
How to generate UPC-A barcodes in iReport?
Top
Please follow the steps to create a UPC-A barcode in iReport. View details here: how to generate and print barcodes in iReport reprts.

One more method to print UPC-A: stream UPC-A barcodes in iReport using Java Barcode Generator buildin 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 UPC-A barcode data manually, set property "Image Expression" to "new com.onbarcode.barcode.jasper.JasperRenderer(
    com.onbarcode.barcode.jasper.BarcodeGenerator.draw(19, "12345678901", "", "X=2&Y=60"))
    "
  6. To print UPC-A with data from database, please set property "Image Expression" to "new com.onbarcode.barcode.jasper.JasperRenderer(
    com.onbarcode.barcode.jasper.BarcodeGenerator.draw(19, $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 UPC-A property table below
iReport Barcode UPC-A 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.

UPC-A Valid Data Char Set:

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Property: Add CheckSum Char Type: boolean
Default: false
Add CheckSum Char property is not applied here. iReport Barcode will always add a check character in the last digit (modulo 10).
 
UPC-A Related Property: UPC/EAN Supplement Data Type: expression
Default: ""
  • If you encode the barcode supplement data text directly, the text string should be around by " " ", such as "12345"

  • If you encode the barcode supplement data from dataset, input the expression, such as row["CUSTOMERNUMBER"]
Set the supplement data to encode. Valid values are 2 or 5 digits
Property: UPC/EAN Supplement Bar Height Type: float
Default: 0.8f
This is a multiplicator of the height of the bar module; The default is 0.8 (80% of Y - bar module height).
Property: UPC/EAN Space between main bar and supplement bar Type: float
Default: 15
The separation between the barcode and the supplement. Default is 15 pixel.
 
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
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 ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.