barcode-scanner

Get data from barcode reader without textbox

感情迁移 提交于 2021-02-19 06:54:16
问题 My barcode reader is a HID type and use the USB. I can get the data when the text box is focus and do some business logic. private void Form1_KeyUp(object sender, KeyEventArgs e) { if (e.KeyValue == (char)Keys.Return) { e.Handled = true; int barcodeLength = textBox1.TextLength; textBox1.Select(0, barcodeLength); queryData(textBox1.Text); } } After I google, I found this article and try to implement to my application. But the problem now, the value return with double character. If string is

How HID devices work when programming?

北城以北 提交于 2021-02-18 08:19:49
问题 I have a barcode scanner works as HID device. Everytime a barcode scans it goes directly to windows keyboard, for example if I open notepad I can see the barcode typed there. As far as I know programmatically is it possible to to read HID data from your HID devices. But what happens if the user is already on a form with a text edit control? The scanned code will go inside the text box. Can you block incoming text and make a background-only processing? Can you explain the theory please? 回答1:

Produce Manual beep sound from Magellan 9800i scanner scale device using Microsoft Point of Services in C#

杀马特。学长 韩版系。学妹 提交于 2021-02-11 13:54:35
问题 Hello everyone here I'm stuck in this issue can you please help me out from this. Here I'm using this device and I want to generate a beep sound manually from Magellan 9800i scanner/scale device. I used Microsoft Point of Service to integrate this hardware device in my application. 回答1: The tone and bell commands are listed in Appendix D, Host Commands, in the Magellan 9800i Product Reference Guide. One of 0x42,0x01,0x07. Beep Good Read Tone 'B' 0x42 Force Good Read Tone 0x01 Bel 0x07 The

Flutter: Cloud_firestore will break your Android build if it or its dependencies aren't compatible with AndroidX

扶醉桌前 提交于 2021-02-10 07:04:46
问题 I can not use these both flutter plugins together: cloud_firestore: ^0.9.0+2 barcode_scan: ^0.0.8 When run, error occured: D8: Program type already present: android.arch.core.util.Function ********************************************************* WARNING: This version of cloud_firestore will break your Android build if it or its dependencies aren't compatible with AndroidX. See https: //goo.gl /CP92wY for more information on the problem and how to fix it. This warning prints for all Android

Datalogic Falcon X3 - Barcode Scanner

♀尐吖头ヾ 提交于 2021-02-05 09:43:45
问题 I just got the Datalogic Falcon X3+ Barcode Device and got asked, if I could make a javascript application which reads the barcode and send it via sql to a database. Since I'm not really into C++/C# and the Windows SDK in Visual Studio 2008, I don't know exactly how to start. On the homepage of datalogic I found some ActiveX API examples which are written in javascript for scanning (Memor X3 SDK). 5 files: BARCODE_Identifiers.js SCAN_PARAMENTERS.js jsBarcodeIdDemo.htm jsScanDemo.htm

Image capturing via SNAPI.dll API for Symbol barcode scanner DS4208

杀马特。学长 韩版系。学妹 提交于 2021-01-29 11:54:31
问题 I want to capture image via SNAPI API from Symbol (currently Zebra) barcode scanner, model DS4208 (we're also using another but compatible models from Zebra). Barcode capturing/recognition works pretty well, but looks like SnapiDLL.SNAPI_SnapShot(hScanner) call don't work correctly: no WM_XFERSTATUS message received at all. Here is small & simplified code snippet: // Set image format short[] parms = new short[2] { (short)SnapiParamIds.ImageFileType, (short)SnapiImageTypes.Jpeg }; var retCode

VS 2008 SP1 can't deploy on MC9200 with Windows CE 7.0

北城以北 提交于 2021-01-29 07:47:58
问题 Whenever I try to deploy solution to above mentioned device I'm getting error: Connection Failed. The RPC Server is unavailable. I tried the solutions from following link, but no help: https://www.auslogics.com/en/articles/fixing-the-rpc-server-is-unavailable-error-in-windows/ Windows Mobile Device Center says device is connected. 回答1: I managed to dig up an old email (June 2012) which gives some instructions I sent to my team: Install Microsoft® Visual Studio 2008 with Service Pack1 (make

How get the usb barcode scanner input into python in Raspberry pi 4

≯℡__Kan透↙ 提交于 2021-01-29 06:39:52
问题 I am trying the get a usb barcode reader input in python so I used this code #thanks to https://stackoverflow.com/questions/19732978/how-can-i-get-a-string-from-hid-device-in-python-with-evdev #thanks to https://raspberrypi.stackexchange.com/questions/82418/how-to-route-barcode-tty-input-to-python from evdev import InputDevice, categorize, ecodes scancodes = { # Scancode: ASCIICode 0: None, 1: u'ESC', 2: u'1', 3: u'2', 4: u'3', 5: u'4', 6: u'5', 7: u'6', 8: u'7', 9: u'8', 10: u'9', 11: u'0',

ZXing only recognizes QR-Code

落花浮王杯 提交于 2021-01-06 14:21:52
问题 I am trying to develop a barcode scanner for google glass (don't judge) using the ZXing library. Scanning QR-Codes works perfectly fine, but I can't scan any 1D-barcodes. This is my code: Intent intent = new Intent(this, CaptureActivity.class); //intent.putExtra("SCAN_MODE", "PRODUCT_MODE"); //doesn't work with or without this line startActivityForResult(intent, SCAN_REQUEST); Here is an example (EAN-8): Scanning this with a scanner from the PlayStore works on my phone, but not using my app

ZXing only recognizes QR-Code

匆匆过客 提交于 2021-01-06 14:18:26
问题 I am trying to develop a barcode scanner for google glass (don't judge) using the ZXing library. Scanning QR-Codes works perfectly fine, but I can't scan any 1D-barcodes. This is my code: Intent intent = new Intent(this, CaptureActivity.class); //intent.putExtra("SCAN_MODE", "PRODUCT_MODE"); //doesn't work with or without this line startActivityForResult(intent, SCAN_REQUEST); Here is an example (EAN-8): Scanning this with a scanner from the PlayStore works on my phone, but not using my app