KA.Barcode for Java
Guide for Encoding Numeric-only Data in Java EAN 13
Complete EAN 13 source code to generate, print EAN-13 images using Barcode Generator for Java Control
EAN-13 Generator for Java Overview
  • Royalty free with the purchase or Java EAN 13 generator developer license
  • Check sum digit of EAN 13 image can be automatically computed
  • Applet allows EAN 13 easily integrated into web pages
  • Detailed tutorial guide for Java EAN 13 generator is provided for your easier programming
  • Unit of Measure can change the generated EAN 13 image in Inch, CM or Pixel
  • Text margin, text font can influence the size of EAN 13 in Java
  • Encoding EAN 13 valid data set to generate valid EAN 13 images in Java applications
  • EAN 13 barcode can be set in the center, right or left of the image
  • EAN-13 for Java Valid Data Set and Data Length
  • Java EAN-13 generator can only encode 13 numeric digits(from 0 to 9) without the check sum automatically calculated and printed to output EAN-13 images in Java programming development.
Related EAN-13 Java Generation Setting Guide
EAN-13, aka European Article Number 13, EAN/UCC-13, GS1-13, GTIN-13, with variants EAN-13 Supplement 2 (a two-digit Add-On), EAN-13 Supplement 5(a five-digit add-on). EAN-13 generator for Java is dedicated to solve all the EAN 13 generation in Java applications with all kinds of option description:
Encode EAN-13 Available Data with Valid data Set and Length
  • Install Java EAN-13 generator and set up it;
  • Build EAN-13 object;
  • Input EAN-13 valid character set with valid data length;
Barcode barcode = new Barcode(); barcode.setType(IBarCode.EAN13); barcode.setData("123456791234");
Encode Supplement letters for EAN-13 in Java
During generating EAN-13 image, you need to encode lowercase letters, therefore, you need to construct the code of Extended EAN-13 to be true to generate EAN-13 image by encoding lowercase letters in Java programming.
  • Install Java EAN-13 generator and set up it;
  • Call EAN-13 type in the beginning of Java;
  • Input EAN-13 valid character set with valid data length;
  • Input supplement data with 2 or 5 letters;
For 2 supplement data:
barcode barcode = new Barcode();
barcode.setType(IBarCode.EAN13_2);
barcode.setCode("123456791234);
barcodee.setSupData("12");
For 5 supplement data:
barcode barcode = new Barcode();
barcode.setType(IBarCode.EAN13_5);
barcode.setCode("123456791234);
barcodee.setSupData("54321");