|
You maybe interested: |
Barcode |
|
BIRT Code 128 Generator Tutorial Generate barcode Code 128 images in BIRT Reports We tested several barcode solutions for our project, and found this one the most reliable barcoding software.
- Tim Martin, NYC BIRT Code 128 Generator to Generate Code-128 in BIRT Reports, Code-128 Barcode Generation
- Easy to generate Code 128 barcodes in BIRT reports
- Simple to redistribute BIRT Code 128 barcode library (jar)
- No registration key or activation code required
- Generating high quality Code 128 Bar Code images in GIF, PNG, JPG format
- Flexible barcode settings to adjust size, image, rotation, font, etc
- Completely developed in Eclipse BIRT Custom Extended Report Item framework.
- Mature BIRT Code128 barcode generation plugin using Java Barcode Generator library
BIRT Barcode Code 128 Generator Introduction  Top
BIRT Barcode is an Eclipse BIRT Custom Extended Report Item which helps you easily generate and print high quality 1D (linear) and 2D (matrix) barcodes in your BIRT reports. Barcode Code-128 Introduction
Code 128 is a very high-density barcode symbology. (A special version of it called GS1-128 is used extensively world wide in shipping and packaging industries.) It is used for alphanumeric or numeric-only barcodes. BIRT Code 128 Generator - Valid Data Scope
- All 128 characters of ASCII: A-Z, a-z, 0-9, etc
- Values 128-255 in accordance with ISO 8859-1. There are referred to as extended ASCII.
Code 128 Generators
How to Generate Code 128 in BIRT Report  Top
Below is a simple Code 128 generation sample in BIRT Report. For more, view here: BIRT Barcode Generator - Developer Guide
- Copy com.onbarcode.barcode.birt_2.2.1.jar to Eclipse plugins directory "\eclipse\plugins\"
- Create a new empty report in your BIRT Report barcoding project
- Open View "Palette", and add report item "Barcode" to your created BIRT report
- Right click the report item you have added, and select "Properties" menu item to adjust barcode properties
- All barcode properties are in the "General" tab. Note that the values for "Data" and "UPC/EAN Supplement Data" should be arounded by """", unless you are inputting expression
- Preview the report and a Code 128 barcode image is printed on your BIRT report
- To encode barcode data from BIRT report data set, input expression to "Data" property like "row["CUSTOMERNUMBER"]"
BIRT Barcode Code 128 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 128 Valid Data Char Set:
- all 128 characters of ASCII
- values 128-255 in accordance with ISO 8859-1. There are referred to as extended ASCII.
|
Property: Add CheckSum Char
|
Type: boolean
Default: false
|
Add CheckSum Char property is not applied here. |
|
Code 128 Special |
Property: Code 128 Code Set
|
Type: int
Default: AUTO
|
4 valid code sets: AUTO, A, B, C
|
Property: processTilde
|
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
- 2-byte character (Unicode): ~6ddddd (character value from 00000 ~ 65535)
Strings from "~665536" to "~699999" 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 |
BIRT Barcode Generator Supporting Barcode Symbology Types  Top |