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

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

  • Easy to generate Code 39 barcodes in iReport reports
  • Simple to redistribute iReport Code 39 barcode library (jar).
  • No registration key. No activation code.
  • Generating high quality Code 39 Bar Code images in GIF format
  • Completely developed in NETBeans iReport Custom Extended Report Item framework.
  • Mature iReport Code39 barcode generation plugin using Java Barcode Generator library

iReport Barcode Code 39 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 Code-39 Introduction

Code 39 (also known as "USS Code 39", "Code 3/9", "Code 3 of 9", "USD-3", "Alpha39", "Type 39") is a barcode symbology that can encode uppercase letters (A through Z), digits (0 through 9) and a handful of special characters like the $ sign.

Code 39 is restricted to 44 characters. In Full ASCII Code 39 Symbols 0-9, A-Z, "." ,and "-" are the same as their representations in Code 39. Lower case letters, additional punctuation characters and control characters are represented by sequences of two characters of Code 39.

iReport Code-39 Generator - Valid Data Scope

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Uppercase letters (A - Z)
  • - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
  • iReport Code 39 Extension Generator supports all 128 ASCII characters

Code 39 Generators

OnBarcode provides several Code 39 Generator components and software, including Code 39 Generator .NET, Code 39 Generator Java, Code 39 Generator C#, Code 39 Generator VB.NET, Code 39 Generator.
How to Generate Code 39 Barcode in iReport?
Top
Here are simple steps to create a Code 39 barcode in iReport. View details here: tutorial to generate and print barcodes in iReport reprts.

One more guide for you to stream Code 39 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 Code 39 barcode data manually, set property "Image Expression" to "new com.onbarcode.barcode.jasper.JasperRenderer(
    com.onbarcode.barcode.jasper.BarcodeGenerator.draw(2, "12345", "", "X=2&Y=60"))
    "
  6. To print Code 39 with data from database, please set property "Image Expression" to "new com.onbarcode.barcode.jasper.JasperRenderer(
    com.onbarcode.barcode.jasper.BarcodeGenerator.draw(2, $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 Code 39 property table below
iReport Barcode Code39 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.

Code 39 Valid Data Char Set:

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

  • Uppercase letters (A - Z)

  • - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)


Code 39 extension Valid Data Char Set:

  • all 128 ASCII characters

Property: Add CheckSum Char Type: boolean
Default: false
Add CheckSum Char property is optional. Modulo 43 will be applied, if addCheckSum property is true.
 
Code 39
Special
Property: Code 39 extension Type: boolean
Default: false
If you want to encode any 128 ASCII characters, extension must be true.
Property: I Type: float
Default: 1.0f
The space between 2 characters in code 39. This a multiple of X.
Property: N Type: float
Default: 2.0f
Wide/narrow ratio, 2.0 - 3.0 inclusive, default is 2.
Property: Code39 Show Start Stop Chars Type: boolean
Default: true
If true, display a * in the beginning and end of barcode text
Property: Process Tilde Type: boolean
Default: false
Set the processTilde property to true, if you want use the tilde character "~" to specify special characters in the input data.

  • 1-byte character: ~0dd/~1dd/~2dd (character value from 000 ~ 255); ASCII character '~' is presented by ~126
    Strings from "~256" to "~299" are unused
 
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 Generator for iReport - Barcode 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, Paint QR Bar Code in Java, Print QR Code in Software. 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.