All barcode scanners function in fundamentally the same manner:
The scanner produces a beam of light, which it uses to detect the width
of the bars in a barcode and the spaces between them. The difference
between laser scanners and imagers is in how they detect these bars.