Java Code 39 Barcode Generator Library
Generate high resolution barcode Code 39 image label in Java class, apache tomcat web application. Free download with Java example source code.
How to generate, create, print barcode code 39 in Java, apache web application without using javascript, itext
- An easy-to-use Code 39 barcode generator for Java
- Entirely consistent with ISO/IEC 16388 (2nd edition 2007-05-15)
- Totally compatible with Java SDK 1.4.2 and later versions
- Professional barcode generator completely written in Java
- Easy to create high quality Code 39 barcodes in Java class
- Support Code 39 generation in iReport and Eclipse BIRT Java reporting software
- Support four image formats: PNG, BMP, GIF and JPEG
Java Code 39 Barcode Generator Introduction
KA.Barcode for Java is an advanced barcode generator which is very professional in creating great quality Code 39 barcodes and many other 1D and 2D barcode symbologies in Java class. Users can adjust the parameters of the barcodes easily.
Code 39 Barcode Overview in Java
Code 39 is a discrete and self-checking symbology which has variable data length. It is also called Alpha39, Code 3 of 9, Type 39, USS Code 39 and USD-3. This barcode is widely adopted in non-retail fields.
Code 39 Encodable Character Set
- Alphanumeric data: 0-9, A-Z
- Special characters: space $ % + - . /
- Start/stop character *
Code 39, also named as 3 of 9 Code, USD-3, Alpha39, Code 3/9, Type 39 & USS Code39, is a self-checking linear barcode symbology
which encodes alphanumeric data, including alphanumeric data: 0-9, A-Z; special characters: space $ % + - . / and start/sop character: *.
Using Java Barcode Generator library, you can not only generate Code 39 barcodes in the Java class, but also
generate Code 128,
encode GS1-128,
generate QR Code,
create Data Matrix,
generate PDF-417,
generate EAN-13,
and create UPC-A barcodes in your Java web applications.
Code 39 Character Set Encoding in Java
Code 39 standard mode in Java
Code 39 barcode standard mode supports 43 characters, including
- Numeric digit: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
- Uppercase letters (A - Z)
- Special characters: - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
- Start/Stop character
To generate Code 39 with standard mode characters in Java class, you need choose "setSymbology()" as IBarCode.CODE39 in Java code.
Code 39 full ASCII mode in Java
Code 39 supports encoding the full 128 character ASCII character set in accordance with ISO 646 IRV.
To generate Code 39 with 128 ASCII characters in java class, you need choose "setSymbology()" as IBarCode.CODE39Ex in Java code.
Code 39 start/stop characters in Java
Code 39 uses asterisk character (*) as Start and Stop characters, and it should not be part of the Code 39 barcode data.
In the Code 39 displayed text area (Human-readable interpretation), it can display or hide start/stop characters (asterisk *).
Using Java Code 39 generator, you can easily customize to show or hide the start/stop characters in displayed code 39 text. Call method setDisplayStartStop(true or false).
Code 39 symbol check digit in Java
Code 39 does not include a checksum or check digit by default. For applications requiring enhanced data security, the modulo 43 (MOD43) check character may be used as a check digit.
To enable Code 39 check digit in your Java program, you need apply
the method setChecksumEnabled() to turn on or off applying check sum digit in Java class.
Download Code 39 Barcode Generator for Java
Customers are free to download this evaluation version of KA.Barcode for Java. Once you unzip the evaluation version, you can see:
- com.keepautomation.barcode.jar
- "barcode" folder & "java-barcode-api" folder
- End user license agreement, user manual, and order page
Note that: Customers can use this evaluation version permanently. However, the generated barcode images will include a "KA Barcode" watermark randomly. Create Code 39 Barcode Image in Java Class
Install KA.Barcode for Java
- Download KA.Barcode for Java package and unzip it.
- Find "com.keepautomation.barcode.jar" file and copy it to your Java project library folder.
- Add "com.keepautomation.barcode.jar" to your project reference.
Generate Code 39 in Java Class with Sample Code
A sample code for generating a Code 39 barcode in Java class is presented below. The properties of Code 39 are adjustable. So you can create the barcodes you want by changing the properties. Sample code
public static void main(String[] args) {
BarCode code39 = new BarCode();
code39.setCodeToEncode("123456789"); code39.setSymbology(IBarCode.CODE39); code39.setX(2); code39.setY(50); code39.setRightMargin(0); code39.setLeftMargin(0); code39.setTopMargin(0); code39.setBottomMargin(0); code39.setChecksumEnabled(false); code39.setDisplayStartStop(true); code39.setWideNarrowRatio(2.0f); try {
code39.draw("c://code39.gif");
} catch (Exception e) { e.printStackTrace(); } } }
Generate Code 39 in iReport Through JRRenderable Implementation
KA.Barcode for Java also supports to insert Code 39 barcodes in iReport through JRRenderable implementation. If you want to read detailed information about how to generate barcodes in iReport through JRRenderable implementation, please refer to the user manual in the KA.Barcode for Java free trial package. Create Code 39 in iReport Through Servlet Web Application
Users can also use KA.Barcode for Java to add Code 39 barcodes in iReport through servlet web application. For more information about how to generate barcodes in iReport through servlet web application, please read the user manual in the KA.Barcode for Java free trial package. |
Free Trial DownloadJava Class Code 39iReport Code 39How To Start Data Matrix for JavaPDF417 for JavaQR Code for JavamoreCodabar for JavaCode 39 for Java Code 128 for JavaEAN-8 for JavaEAN-13 for JavaEAN 128 for JavaIntelligent Mail for JavaInterleaved 2 of 5 for JavaISBN for JavaITF-14 for JavaRM4SCC for JavaUPC-A for JavaUPC-E for Javamore
|