个人工具

UbuntuHelp:BarcodeReaders

来自Ubuntu中文

Wikibot讨论 | 贡献2008年10月19日 (日) 14:22的版本

跳转至: 导航, 搜索

Software

See the serial-text project on Launchpad. https://launchpad.net/serial-text. Other serial character input devices should work, too. Somebody should package and put this in the repository. Jiri Bohac wrote it and sent it to me in August of 2007, and until now I've neglected to post it anywhere. --LoyeYoung

Known Barcode Readers working

Hand Held Products (HHP) 3800g

  • Works fine in 8.04 but needs to be set in USB keyboard mode. Otherwise, it won't do anything.

Motorola Symbol LS2208

Laser Barcode Reader. Packed with features and works perfectly with 8.04

  • lsusb: Symbol Technologies
  • dmesg: USB HID v1.10 Keyboard [?Symbol Technologies, Inc, 2002 Symbol Bar Code Scanner]

No problem with the "-" to "+" on Code 39 Barcodes

Datalogic Touch 90

  • lsusb: Datalogic S.p.A. Gryphon D120 Barcode Scanner)
  • dmesg: Datalogic 2002 Datalogic Bar Code Scanner.

This barcode-reader converts "-" into "+"

TechScan Korea Barcode reader(v3xx) - TSK-800

  • TSK-800 (from the TechScan site at http://www.techscan.co.kr/product/product_scan1.php ).
  • This is a generic re-branded DSE reader. The TSK-800 has a "plugable/swapable" tail (i.e. you can buy a new lead/tail and open the unit and swap out the lead/tail from a PS/2 to USB or vice versa).
  • Minor problems:
  • Was experiencing crashing and USB disconnects in dmesg the was possibly with the reader having problems responding to device interrogation requests.
  • Swapped to the PS/2 tail and that worked fine.
  • Replaced the USB tail with a newer tail (which seems to contain some sort of inline buffer/converter) and everything worked fine.

Cypress Semiconductor Corp. SO-800

  • SO-800 this is CMOS Barcode reader with PS/2, Serial or USB connector, mine is with USB and works perfectly with usbkbd module loaded

ADESSO CCD Contact Barcode USB Scanner

  • doesn't work
  • 7.10 sees it as a USB HID v1.00 Keyboard, powers it up, but when you scan a valid barcode, it shuts off and doesn't output the barcode.
  • usbkbd.ko was loaded but still didn't work.

CipherLab 1100 USB HID

works fine with usbkbd module (sudo modprobe usbkbd).

Collectorz.com laser barcode scanner (aka: Microvision ROV Scanner)

  • Have not been successful in getting the serial cable to work with or without the supplied Serial-to-USB adapter.
  • Using the "USB Cable - Straight" from Microvision (the supplier of the device's original Windows driver and wedge software) allows you to use it in keyboard emulation. ( http://www.microvision.com/store/USB-Cable-Straight-p-7.html )
  • In the manual that comes with the cable you have to use the Flic Control Bar Codes instead of the Rov Control Bar Codes (like you would think) to reset the Collectorz scanner to the Flic factory settings. The Rov codes would not work for me.

When you get the cable follow these steps:

  • Select the keyboard function on the inline control on the cable.
  • Then go to the back couple pages of the manual
  • Scan the "Flic Clear Bar Codes from Memory" option
  • Scan the "Flic Return to Factory Defaults" option
  • Scan the "Flic Bar Code Prefix (STX) is False" option
  • Scan the Flic Download Delay is 0 milliseconds" option (optional, I just like immediacy)
  • You may experience odd behavior with your Collectorz.com scanner if you don't follow those steps and use it in Ubuntu right after using it in Windows for a while. For instance in Firefox (Ubuntu) if you attempt to scan a code into the search box the scanner will enter the first part of the code into the search box but then open the bookmarks side pane and enter the rest into the bookmarks search box. With these steps the scanner is reset to be a simple keyboard device with a carriage return. Basic enough to work with any basic code recording software. So for instance the code is entered into the Firefox search box followed by the carriage return to take you to the results page of your preferred search engine. This is also true of other programs that only require a carriage return to return results.
  • Keyboard mode is the only mode Microvision says that works with Linux distros. VCOM mode is only for Windows devices.
  • Cable stopped being recognized by all OSes (Linux, Windows, Mac OS X) for a while then started working again. It is unknown what prevented it from working but I isolated it to a cable malfunction of some sort. Possibilities could be bad wiring, incompatibility/intermittent compatibility, or USB device interference. The cable is an active device with circuitry inside of an inline cable wart instead of a passive cable.

Microvision Flic Scanner

Seing as there wasn't any Linux software that supported this scanner using Bluetooth and only one non open source, non free software wedge that supported cabled connections I wrote my own in Perl. My software supports both cabled and Bluetooth connection, supports both server mode where scans are put into a FIFO queue and retrieved with a keyboard shortcut and non-server mode where scans are immediately processed, supports the use of the scanners memory (disconnect the scanner, scan lots of codes, reconnect the scanner and all codes are transfered), allows automatically adding a simulated press of the <Enter> key after processing a code, and is licensed under GPL. Download and instructions: FlicServ 1.0.

Other readers

Please add your barcode-readers to this list!

Keymap correction

Most barcode-readers work out-of-the-box, but have some problems with the selected keymap. For example "-" is often converted into "+" CMP-BARUSBCA1 is read as CMP+BARUSBCA1 I'll try to find a fix for this! If you have a fix, please add in!

Software for barcode creation

Package Describtion In the repository?
kbarcode Easy GUI tool for barcode creation Universe
barcode Commandline tool for barcode creation Universe

PHP barcode project

IMO, this is the best PHP (online) project regarding barcodes: http://www.mribti.com/barcode/sample.php

Troubleshooting

PS2 scanner, connected to USB with an adapter

There seems to be difficulties using an adapter. Please just find a way to connect it to PS2. (You can buy a PS2 split-cable in most hardware stores! - at least on http://www.elav.dk, but thats a danish site!)

Other

Please mail me with any questions! [email protected]