Reading magnetic ink patterns with magnetoresistive sensors