Thanks Jerson. I'll have a look again. The cards are (although nothing is printed on them) from Promag.

From the reader I still see 20 5bit digits...

Anyway, even if the case is as you describe, 2500 bytes of 5byte group, is a lot of work for a PIC to search in linear manner.

Ioannis