iReport PDF-417 Generator Plugin Tutorial
Generate, create 2d barcode PDF-417 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

PDF-417 for iReport plugin generate, create PDF-417 barcode in iReport Jasper Reports

  • Generate, print PDF 417 matrix barcode images in iReport reports
  • Easy to redistribute iReport PDF 417 barcode library (jar)
  • Creating high-quality PDF-417 barcodes in Png, Jpeg, Gif image formats in iReport
  • Draw multiple PDF-417 barcodes in iReports with data from database
  • Completely developed in NETBeans iReport Custom Extended Report Item framework.
  • No need for registration key, activation code or barcode fonts
  • Mature iReport PDF 417 barcode generation plugin using Java Barcode Generator library

iReport Barcode PDF 417 Generator Introduction
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 PDF 417 Introduction

PDF 417 is a stacked linear bar code symbol used in a variety of applications, primarily transport, identification cards, and inventory management. PDF stands for Portable Data File. The PDF417 symbology was invented by Dr. Ynjiun P. Wang at Symbol Technologies in 1991.

iReport PDF 417 Generator - Valid Data Scope

  • all 128 characters of ASCII
  • values 128-255 in accordance with ISO 8859-1. There are referred to as extended ASCII

PDF-417 Generators

OnBarcode provides several PDF-417 Generator components and software, including PDF-417 Generator .NET, PDF-417 Generator Java, PDF-417 Generator C#, PDF-417 Generator VB.NET, PDF-417 Generator Android, PDF-417 Generator.
How to generate PDF-417 barcodes in iReport?
This is a sample to create PDF-417 barcode in iReport. More dtails, view here: how to generate and print barcodes in iReport reprts.

One more guide for you to stream PDF-417 barcodes in iReport using Java Barcode Generator buildin Servlet web application.
  1. Create a new report in iReport, and add barcode.jar to report classpath from the downloaded trial package
  2. Click "Cancel" button, in "Select an image file" window
  3. Right click on the image and edit its "Properties", and set property "Expression Class" to "net.sf.jasperreports.engine.JRRenderable";
  4. To input PDF-417 barcode data manually, set property "Image Expression" to "new com.onbarcode.barcode.jasper.JasperRenderer(
    com.onbarcode.barcode.jasper.BarcodeGenerator.draw(101, "12345", "", "X=2&Y=60"))
  5. To print PDF-417 with data from database, please set property "Image Expression" to "new com.onbarcode.barcode.jasper.JasperRenderer(
    com.onbarcode.barcode.jasper.BarcodeGenerator.draw(101, $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 PDF-417 property table below
iReport Barcode PDF-417 Generator - Property Settings
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

PDF-417 Valid Data Char Set:
  • Text Compaction mode permits all printable ASCII characters to be encoded, i.e. values 32 - 126 inclusive in accordance with ISO/IEC 646 (IRV), as well as selected control characters.
  • Byte Compaction mode permits all 256 possible 8-bit byte values to be encoded. This includes all ASCII characters value 0 to 127 inclusive and provides for international character set support.
  • Numeric Compaction mode permits efficient encoding of numeric data strings.
  • Up to 811,800 different character sets or data interpretations.
  • Various function codewords for control purposes.

PDF 417
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
  • Programming for reader initialisation: ~rp.
    This should be located at the beginning of the encoding data, e.g. data = "~rpABCD1234".
  • ECI: ~7dddddd (valid value of dddddd from 000000 to 999999)
Property: PDF 417 Data Mode Type: int
Default: AUTO
Valid values:
  • AUTO
  • TEXT
  • BYTE
Property: PDF 417 Error Correction Level Type: int
Default: 2
Error correction level, values are from 0 to 8.
Property: PDF 417 Row Count Type: int
Default: 3
The number of rows for PDF417. The value range is from 3 to 90. The default is 3.
Property: PDF 417 Column Count Type: int
Default: 5
Number of columns. The value range is from 1 to 30. The default is 5. Increase this value, if your data size is large.
Property: PDF 417 Truncated Type: boolean
Default: false
truncated PDF417 may be used where space considerations are a primary concern and symbol damage is unlikely.
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.
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)
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
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, 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 © . All rights reserved.