i am new to this card reader category
its very urgent
thank you .
--
Posted via http://www.ruby-forum.com/.
Keyboard Wedge -- these are probably the most common type in use today
since PC hardware is so damned cheap. They look like a keyboard, and
actually type out the numbers. You can usually program what they send
before and after a bar code or credit card is read, so you could (for
instance) send some codes to focus on the right input field, where the
number will just be typed as any other keyboard input would go. I
also suspect some clever Javascript might help here.
Serial types are usually driven by a central server or some other
special driver on a local machine. For example, I've had up to 32
serial barcode scanners tied into one machine before, each doing
inventory processing. The user would scan in the box, then scan in a
quantity from a card they had. This is probably not what you mean
though when you want to use it with Rails.
This is where a real application (written in Java, C++, or whatever)
would work better than a Web application. If you really want to limit
people to using IE (like so many do...) then you can write an ActiveX
based application, but that's not really Rails anymore. You can also
just require the user to focus on the right field when scanning /
swiping, but that is going to cause errors.
--Michael
They are probably by far the easiest to handle when a web browser is
the application in use. However, it is still necessary to either have
the user focus on the right field, have a screen used just for
scanning (a pop-up Javascript window, etc) or have some way to make
the keyboard wedge scanner focus the display.
Most sites I've seen recently will use the Javascript pop-up modal
window method, which will ask the user to scan / swipe, and the
"submit" button will automatically be pressed. This also allows
manual entry of some data.
Just remember, most credit card swipes won't really be human readable,
and you have to be prepared for this. The readers I use (Scanteam
models of various types) are all keyboard wedge or serial, and they
frame the credit card, check MICR, or barcodes well, and are easily to
process.
I also have several serial-only 2c barcode scanners made by Symbol,
which will read 1D and 2D barcodes in common use, as well as take
(rather crappy) photos. :)
yes
through USB Port
A web server running RoR, with a USB-connected bar code or other scanner.
A client which may or may not be running on the same machine.
You want the client to see data coming in from the bar code scanner.
This is a rather unusual situation, as most bar code scanners will
typically connect to the client machine. If they are the same
machine, I could see what you're wanting to do, but really the server
part doesn't come into play at all -- the USB scanner will look like
someone is typing into the browser.
If you really want to read a "remote" scanner from the client somehow,
then you need to have some way (in Ruby or callable from Ruby) to read
server keyboard input or to talk to the USB scanner in some other
manner.
If the device looks like a serial port this is fairly easy to do, but
if it looks like a keyboard, this is going to be hard.
thank you for the help ...
this is exactly what i want.
my client machine have one bar code reader which is connected through
USB Port.
In client browser html form has lots of text_fields one of that is
register_no.
When the cursor point that register_no text_field, that time the barcode
reader should read a ID card (which have registration_no,etc,..those are
encrypted in barcode styles). And the corresponding registration_no
text_filed should be filled automatically .that is my requirement.
thank you for your help
thank you
can you send me the source code what you have ?
thank you saljamil to give the source code
thank you to all..
__________________
http://moviesonlineworld.com