Re: how to read from a magnetic card reader
- Posted by unkmar Jan 16, 2011
- 1128 views
Generally a magnetic card reader is no more than a keyboard stuffer. They will return 1 or more lines of data, each line generally ends with a linefeed or '\n'. So, what you need is a program that reads a number of lines of data and can determine how many which lines belong where because, you state some cases you get 2 lines and others you get 3.