Solved

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

Posted on 2015-01-11
2
165 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 35

Accepted Solution

by:
Kimputer earned 500 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Move constructor only called if marked noexcept? 6 116
C++ Language error 28 281
c++ substatte a varabe for a string in a LPCTSTR statment 8 95
visual C++ 1 16
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

697 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