Reply to post: Re: Poor Reliability.. better idea

Where to implant my employee microchip? I have the ideal location

Mark #255
Boffin

Re: Poor Reliability.. better idea

[...] These lines match the number 6 [...]

Yeah, erm, no: because the encoding for each digit is actually 7 stripes wide, so "6" isn't "two narrow black lines", it's:

  • "black-white-black-white-white-white-white", or
  • "white-white-white-white-black-white-black", or
  • "white-black-white-black-black-black-black"

There's three encodings for the other digits, too, then a way of encoding the first digit (in EAN-13) by swapping between encodings for the first 6 digits.

Barcode scanners work out which way round the barcode is by attempting to decode it: there's only one correct way.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon