Re: how to read from a magnetic card reader

new topic     » goto parent     » topic index » view thread      » older message » newer message

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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu