Recent

Author Topic: BarfCode  (Read 1822 times)

michoux

  • Full Member
  • ***
  • Posts: 112
BarfCode
« on: February 06, 2023, 06:31:12 pm »
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

  • Hero Member
  • *****
  • Posts: 14373
  • Sensorship about opinions does not belong here.
Re: BarfCode
« Reply #1 on: February 06, 2023, 06:54:34 pm »
No.
And I see no code at all....
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

dseligo

  • Hero Member
  • *****
  • Posts: 1221
Re: BarfCode
« Reply #2 on: February 06, 2023, 10:19:53 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??

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

  • Full Member
  • ***
  • Posts: 112
Re: BarfCode
« Reply #3 on: February 11, 2023, 12:29:28 pm »
Thank, yes I did some reading on EAN 13, we changed the logic to 12 digits.

 

TinyPortal © 2005-2018