Hassan Schroeder
3/24/2008 2:12:00 PM
On Sun, Mar 23, 2008 at 11:36 PM, Pokkai Dokkai <bad_good_lion@yahoo.com> wrote:
> how to manipulate (read/write) card readers (or bar code reader ) in
> ruby program ?
The input from card readers and bar code readers attached to a PC
looks like keyboard input. So in a browser, you would have a page
with a form, position the cursor in a field and then swipe the card or
scan the barcode, and the field is populated with the data.
If, in the case of the card reader, there's multiple pieces of information
encoded on the strip, you need to parse that, with JavaScript or after
the form is submitted. Straightforward but application-dependent.
HTH!
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com