Streaming Barcodes into Eclipse BIRT Reports Image Items
Index
We recommend you use BIRT Barcode Generator Plugin to generate and print barcodes in BIRT reports.
Install Java Barcode Generator
- Under demo package, copy barcode folder and its contents to your tomcat.
- Restart tomcat.
- 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 BIRT reports?
-
Create a new empty report in your BIRT Report project
-
In BIRT buildin demo dataset, select "CUSTOMERNUMBER", and "CUSTOMERNAME" from table "CUSTOMERS".
-
Open View "Palette", add report item "Image" to a new column.
-
Double click the image report item you added, select "URI" option. Then select "JavaScript Syntax" as Enter URI data format.
-
In "Expression Builder" window, input "http://YourDomain:Port/barcode/barcode?TYPE=CODE128&DATA="+row["CUSTOMERNUMBER"], then click "OK" button.
Or you can use OnBarcode Online Barcode Generator Hosting Service, and you need input "http://azuredemo.onbarcode.com/linear.aspx?TYPE=7&DATA="+row["CUSTOMERNUMBER"]
-
Click "Insert" button
-
Preview the report. All customer numbers are encoded into barcode Code 128.
Each Barcode Type Property Settings in Java Barcode Generator
1D / Linear Barcodes
- Codabar
- Code 11
- Code 39
- Code 93
- Code 128
- UCC/EAN128 (GS1 128)
- Interleaved 2 of 5
- Code 2 of 5 (Industrial 2 of 5)
- ITF-14
- UPC-A, supplement 2, 5 digits
- UPC-E, supplement 2, 5 digits
- EAN-8, supplement 2, 5 digits
- EAN-13, supplement 2, 5 digits
- ISBN, supplement 2, 5 digits
- ISSN, supplement 2, 5 digits
- MSI Plessey
- POSTNET
- PLANET
- USPS Intelligent Mail Barcode (OneCode)
- Identcode
- Leitcode
- RM4SCC
|
|
Java Reporting Barcode Generation Guide
Jasper Reports Barcode Generation
|
iReport Barcode Generation
|
Eclipse BIRT Barcode Generation