Solved

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

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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.

770 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