Forum > LazReport

BarfCode

(1/1)

michoux:
Hi

Hello

I have issue with barcode on LazReport.
I have Ean13 barcode on the report.
In many cases I send some 13 digits to generate the code but on report I get different one.

For example
2023001004144
Generates
2023001004141

There is a checksum check box in the bar code options, if I check this out the number(human readable code is correct), but the barcode read by reader is tootaly wrong.

Anyone faced suchj issue??

Thaddy:
No.
And I see no code at all....

dseligo:

--- Quote from: michoux on February 06, 2023, 06:31:12 pm ---I have issue with barcode on LazReport.
I have Ean13 barcode on the report.
In many cases I send some 13 digits to generate the code but on report I get different one.

For example
2023001004144
Generates
2023001004141

There is a checksum check box in the bar code options, if I check this out the number(human readable code is correct), but the barcode read by reader is tootaly wrong.

Anyone faced suchj issue??

--- End quote ---

You don't have issue with Lazreport, but with your EAN13 code.
Last digit in EAN13 is checksum: EAN13 consists of 12 digits + checksum digit. So for code 202300100414 check digit is 1.

michoux:
Thank, yes I did some reading on EAN 13, we changed the logic to 12 digits.

Navigation

[0] Message Index

Go to full version