Inconsistent Scanner Input

I’ve been having an ongoing issue for months and I just can’t seem to pinpoint where the problem is. I’m using a barcode scanner to read a datamatrix code into a custom field. It works about 98% of the time. The other 2% of the time I get inconsistent values. I’ve tested with multiple datamatrix codes, multiple scanners, operating system, browsers, etc. I can scan the same code over and over and 1 or 2 times I get a different value. I’ve tried on a computer that has no AV or anything that might interfere with the input. I’ve also disabled spell check in the browser. I’ve been communicating with customer service for the scanner, but I’m not getting anywhere. Is there anything in Dolibarr that might be interfering with the input of this data? I can’t imaging I’m doing anything unique here, just reading the scanner code and storing it. Any suggestions? Anyone have a similar problem?

I am currently on v11.0.4 and using a Zebra wireless scanner. I have the same problem with a wired scanner.

Maybe it’s your barcode. Did you make the barcodes using Dolibarr tcpdf generator? They are ECC200 compliant (build in error detection).

Mr. Badkneecap, have you udated the driver of your scanner from your system[Ubuntu, Redhat, Windows or what so ever and try to scan the any barcode without linking to Dolibarr then if it does give you the proper output you can start linking it with Dolibarr]

Thanks for the suggestions. Yes, I did make sure I have the drivers updated on the scanner(s). We use Zebra scanners and I’ve been working with their tech support on this issue. No, I didn’t print the barcodes using tcpdf. We use Zebra printers and we have their special software to generate.

I’ve tried on multiple browsers and multiple OS, etc. The only thing that I have been able to conclude is that it seems to happen much more when in a browser. I thought maybe Dolibarr had some javascript that was running that may be interfering with the input and maybe someone else has experienced this problem and had a solution.

I believe I got to the bottom of this problem. It turns out that the Zebra scanners we are using have an issue with the “shift” key when using the keyboard emulation. When the codes are being sent to the computer, it simulates the user pressing the “shift” key for symbols like “<” and “>”. Then, it gets “stuck” on and when it sends a number like “1”, it sends “shift-1” instead which is “!”. I ended up getting a cheap wireless scanner and it worked perfectly.

1 Like