[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

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

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
ken yup
Asked:
ken yup
1 Solution
 
KimputerCommented:
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
 
frankhelkCommented:
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now