Streaming Barcodes into Jasper Reports Image Elements


We provides several methods to generate and print barcodes in Jasper reprts.  

Install Java Barcode Generator

  1. Under demo package, copy barcode folder and its contents to your tomcat.

  2. Restart tomcat.

  3. To test it. Open your web browser, and navigate to http://YourDomain:Port/barcode/barcode?DATA=0123456789&TYPE=CODE128

How to print barcodes in your Jasper reports?

  • Draw barcodes on your Jasper report.
        <reportElement x="265" y="44" width="100" height="50"/>
        <imageExpression class=""><![CDATA[new"http://YourDomain:Port/barcode/barcode?DATA=0123456789&TYPE=CODE128")]]>
  • To use OnBarcode Online Barcode Generator Hosting Service, you need change the URL to


Each Barcode Type Property Settings in Java Barcode Generator

Java Reporting Barcode Generation Guide

Jasper Reports Barcode Generation     |     iReport Barcode Generation     |     Eclipse BIRT Barcode 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. 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.