EAN 128 Check Digit

  carajones 04:44 AM 29 May 12
Locked

Hi, everybody, I am implementing an barcode API and want to generate a EAN 128 barcode as below: BarCode barcode = new BarCode(); barcode.setType(IBarCode.EAN128); barcode.setData("(00) 00030017 000043516"); The correct check sum should be 8, however, the API output 2. Is there something wrong? Can I output EAN 128 without check digit?

  berylross987 10:00 AM 29 May 12

The data you encode should be calculated with 10 Module Algorithm. If you sue the 103 module algorithm, there must be change to the Check Sum Class with different results.

  Greece_6 03:39 AM 30 May 12

Maybe, the check digit calculation does not take the FNC1 start character into account, but it should do.

  Greece_6 08:17 AM 30 May 12

There must be a bug with the barcode generator you use as above saying. A mature and reliable EAN 128 barcode generation component is required for you to quickly and exactly calculate the check sum for the generated EAN 128 barcode image.

  Erica_S 03:34 AM 31 May 12

For hiding the EAN 128 check sum digit, you may use the following code for the EAN 128 barcode image without checksum: barcode.setdisplayCheckSum(false); Hope I helped.

Advertisement

This thread is now locked and can not be replied to.

How to get Windows 10 now: how to download and install Windows 10 even if GWX.exe is missing

1995-2015: How technology has changed the world in 20 years

Nokia rolls out spherical camera for virtual reality apps

7 best iPhone web browser apps: Why Safari for iOS is still a better option than Chrome, Dolphin,…