?
Solved

Is it possible that determine the bardcode  from which barcode scanner?

Posted on 2015-01-11
2
Medium Priority
?
170 Views
Last Modified: 2015-01-14
hello sir
i have a computer with multiple USB barcode scanner .is it possible that detemine the barcode is from which scanner when it's scanning?how do i do this,im using Visual c++?
best regards & thanks
ken
0
Comment
Question by:ken yup
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 36

Accepted Solution

by:
Kimputer earned 2000 total points
ID: 40544028
It requires a lot of low level programming and Windows API call, maybe also keyboard hooks. I foresee extra problems if the barcode scanners are EXACTLY the same too (easier programming if they're all different brand/types). However, I don't have the answer to this, sadly.

Here's a link that might help though (since a barcode scanner is basically still a "keyboard", and after you get this c# working, slowly try to translate back to c++): http://www.codeproject.com/Articles/17123/Using-Raw-Input-from-C-to-handle-multiple-keyboard
0
 
LVL 14

Expert Comment

by:frankhelk
ID: 40544625
Depending on the type of barcode scanner you might be able to program them for the inclusion of a fingerprint into the scan result - i.e. S01#BARCODE instead of BARCODE.

There might be more ways to distinguish the source scanner, but these depend on the scanner type and the exact way of integration into the system, either ...
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question