New * programming on C# For Barcode Scanners and Mag Slide Readers

Hi all ... I'm not sure this is the right place to ask this question, but I hope there will be individuals who did it ... So here is my question ...

I'm trying to write application on C# to capture data from Magnetic Slide Readers and Barcode scanner .... When it's a serial device you can get that information communicating through serial port., and there is no question about it, but if I use USB devices, the system gets information from it as if it was entered by keyboard ... I don't want to allow cashiers to enter this information manualy. So if i disable keyboard entries, I will get no information from scanner... Anybody Knows How To make C# understand that keyboard entry it reads is from scanner and not from keyboard ...

Reply to
Ashot
Loading thread data ...

Well, for an MSR, the device will send track header and terminator characters which you can catch. I believe that most Barcode scanners can be programmed to do the same, but you would need to check the manufacturers documentation.

You really should not prohibit manual entry - barcodes get smudged or torn, mag stripes get demagnetized. You need to have a manual entry backup available for these cases.

Glenn Adams Tiber Creek C> Hi all ... I'm not sure this is the right place to ask this question, but I

Reply to
Glenn Adams [MVP - Retail Mgmt]

Hi Glen

Thank you for reply I understand what you tell me, but you know there can be problems with discound cards. Like cashier can just enter a cod manualy and get cash from register ... Of course I will left keyboard backup for program but I really wnat prohibit keyboard entry by default.

it seems that at the end of reading scanner send ctrl+ 74. it's kinda press ctrl+J. So my cashiers can just enter numbers and then just enter the combination from keyboard and that will work ? I though there must be any extended keycode like > 127 , that you can't enter from keyboard ... anyway my slide reader is Champ MR800 160 MM, any ideas ?

Thanks a lot

Reply to
Ashot

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.