MICR
Magnetic ink character recognition — the digits along a cheque's bottom edge are printed in iron-laden ink and read magnetically, not optically.
MICR (Magnetic Ink Character Recognition) is the technology behind the odd line of figures along the bottom of a paper cheque. The characters are printed in iron-oxide ink in special typefaces — E-13B in the US, CMC-7 in Europe — where each digit produces a unique waveform as it passes a magnetic head. The reader interprets the magnetic flux, not the shape.
The point is robustness: a cheque that's stamped, scribbled on or coffee-stained still reads correctly, because the ink shows up magnetically even under grime. Bank of America and Stanford developed E-13B in the 1950s to automate cheque clearing, and though the cheque is dying slowly, the format lingers in banking. That an ordinary-ink forgery can fool a reader is a known weakness.