it works :=) > Christian Schmitz <mailto:[email protected]> > mercredi 3 février 2016 19:31 > > EAN8 uses UPC Checksum. > > MsgBox BarcodeGeneratorMBS.UPCChecksum("0000403") > > Sincerely > Christian > > olivier vidal <mailto:[email protected]> > mercredi 3 février 2016 19:15 > 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
_______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
