Before AI one of the common solutions was to cut a hole in a piece of paper to reduce the chance of scanning the wrong bar code.