Hello,

It seems there is a bug with BarcodeGeneratorMBS.EANChecksum.

The doc:
http://www.monkeybreadsoftware.net/barcode-barcodegeneratormbs-shared-method.shtml#1

Actually, it works with the EAN13. But with the EAN8, this feature does 
not return the same checksum as BarcodeGeneratorMBS.encode.

For example:

EAN13:
- symbology = BarcodeGeneratorMBS.BarcodeEanX (or BarcodeEan13)
- BarcodeGeneratorMBS.EANChecksum("000000000403") -> 9
- encode("000000000403")
- barcode.text -> 0000000004039
OK

EAN8:
- symbology = BarcodeGeneratorMBS.BarcodeEanX (or BarcodeEan8)
- BarcodeGeneratorMBS.EANChecksum("0000403") -> 3
- encode("0000403")
- barcode.text -> 0000000004039
Not ok (9 instead of 3)

olivier
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to