Closed darixsamani closed 6 months ago
The last digit might be the verification digit.
As a minimum to understand the issue I need:
for example, i provided this input: 2024012571997 the number generated is different on the last digit
EAN13 has 13 digits, of which the last is the checksum digit. You're providing the wrong checksum, so python-barcode is replacing it with the correct digit.
The no_checksum
flag should allow you to opt-out of this behaviour, but I'm noticing that it's broken right now; the original digit is lost in __init__
. I'll try and patch that.
I think https://github.com/WhyNotHugo/python-barcode/pull/98/files is the solution
@WhyNotHugo Thank you I will try this solution, and I will give my feedback
https://github.com/WhyNotHugo/python-barcode/pull/98 is not correct.
I believe https://github.com/WhyNotHugo/python-barcode/pull/224 should work
Please merge this pull request #224 for me to try
I tried it and it works very well.
this generates a bar code but the bar code scanner does not work
the number generated and the bar code is different from the one I provided to the function. I use the EAN13 standard
there are differences in last number