KA.Barcode for Java
EAN 128 Image Setting for Java
Full EAN 128 linear barcode image setting function with Java various projects
EAN 128 Barcode Generator for Java Overview
  • Mature & Reliable Java EAN 128 generation library with latest barcode symbology ISO Standards
  • Provide professional features to set EAN 128 image concerned properties using Java developmental environment
  • Java Client applications - Java Class, Swing, Applet, Java Bean and J2SE are supported
  • Royalty free with the purchase or Java EAN 128 generator developer license
  • EAN 128 barcode can be set in the center, right or left of the image
  • Java EAN 128 generation component supports rotating EAN 128 image with 0, 90, 180, 270 angles
  • High quality EAN 128 images may be printed with any printers, including those low resolution printers
  • Encode Application Identifier code for EAN 128 linear barcode generation in Java
Related EAN 128 Java Generation Setting Guide
Java EAN 128 Image Setting Properties
EAN 128 barcode image generated in Java developmental environment can be adjusted from the following properties:
  • displayText - show the EAN 128 image text after setting it to be true
  • rotate - EAN 128 image rotate angle with 0, 90, 180 and 270 degrees
  • resolution - EAN 128 image resolution in dpi (short for dot per inch) can be set to be any value to meet your possible need
  • backgroundColor - the color of EAN 128 barcode image background
  • foregroundColor - the color of EAN 128 barcode image foreground
  • textColor -the color of EAN 128 text under the barcode
  • ApplyChecksum - to add the check sum digit after the EAN 128 encoding data in the text
  • barAlignment - put the barcode in the left, right and center inside the EAN 128 image
Note that once setting displayText to be false, textColor and applyChecksum will be invalid for use in Java developmental environment.
EAN 128 Image Setting in Java - Implementation
All EAN 128 image setting concerned properties’ implementation needs installing EAN 128 Generator in Java and do as below:
BarCode barcode = new BarCode();
barcode.setType(IBarCode.EAN128);
//Encode all 128 ASCII data with AI code in Java
barcode.setData("(1234)1234567");

EAN 128 Image Resolution Setting in Java

For EAN 128 image resolution using Java, it can be set to be any fixed value with default value 72 for the EAN 128 image, like below:
Barcode.setResolution(110);

EAN 128 Image Positon Setting using Java

EAN 128 image position can be described with two aspects which are EAN 128 angles and EAN 128 bar placement:
//Set EAN 128 rotation angle using Java with 0, 90, 180, 270
barcode.setRotate(IBarCode.ROTATE_0);
//Set EAN 128 bar alignment in Java with left, right and center
Barcode.setbarAlignment(center);

EAN 128 Image Color Setting with Java

EAN 128 image color can be influenced with three properties which are background color, foreground color and text color. Here is an example below:
barcode.setbackgroundColor(black);
barcode.setforegroundColor(red);
barcode.settextColor(red);

Text Setting for Java EAN 128 Image

Text setting is valid for all linear barcodes like EAN 128 here which includes display text; add check sum digit like the following example:
// Display human readable text by setting it to be true as default
barcode.setDisplayText(true);
//Add a checksum digit after GS1 128 encoding code which is calculated automatically with Java EAN 128 generator
barcode.setApplyChecksum(true);