Ruby intergation with barcode scanner

A

Adrian Roskrow

Hi

I was wondering whether any one had got any experience or software to
access the USB ports. I have got a rs232 scanner that I can connect to a
USB port. I would like to get it to work to read ISBN numbers so I can
put the details in a mysql database. I have done programming before
(java C shell scripts) but am quite new to ruby, what I have seen so far
is really good. I would be very glade of some help/or software I can
hack to do what I want to do with ruby as the language of choice.

Adrian
 
S

Stefan Schmiedl

Hi

I was wondering whether any one had got any experience or software to
access the USB ports. I have got a rs232 scanner that I can connect to a
USB port. I would like to get it to work to read ISBN numbers so I can
put the details in a mysql database. I have done programming before
(java C shell scripts) but am quite new to ruby, what I have seen so far
is really good. I would be very glade of some help/or software I can
hack to do what I want to do with ruby as the language of choice.

Adrian

the barcode scanners I know emulate a keyboard, so using them from
ruby should be a matter of plugging them in and reading from $stdin.

s.
 
M

matt

the barcode scanners I know emulate a keyboard, so using them from
ruby should be a matter of plugging them in and reading from $stdin.

s.

There's also OPOS ( Ole for Point Of Sale), is another mechanism that is
common with scanners, especially in the retail/POS industry. They can
run through USB, parallel or rs-232. I know that there is some VB code
out there to test the OPOS interface, so it might be possible to find
that, and convert it. Sorry I don't remember how they did it, but it
wasn't too complex (c'mon, it was in VB)

Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top