On Sun, Mar 23, 2008 at 11:36 PM, Pokkai D. [email protected] 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!
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.