特殊:Badtitle/NS100:BarcodeReaders
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/BarcodeReaders }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/af | • {{#if: UbuntuHelp:BarcodeReaders|Afrikaans| [[::BarcodeReaders/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/ar | • {{#if: UbuntuHelp:BarcodeReaders|العربية| [[::BarcodeReaders/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/az | • {{#if: UbuntuHelp:BarcodeReaders|azərbaycanca| [[::BarcodeReaders/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/bcc | • {{#if: UbuntuHelp:BarcodeReaders|جهلسری بلوچی| [[::BarcodeReaders/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/bg | • {{#if: UbuntuHelp:BarcodeReaders|български| [[::BarcodeReaders/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/br | • {{#if: UbuntuHelp:BarcodeReaders|brezhoneg| [[::BarcodeReaders/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/ca | • {{#if: UbuntuHelp:BarcodeReaders|català| [[::BarcodeReaders/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/cs | • {{#if: UbuntuHelp:BarcodeReaders|čeština| [[::BarcodeReaders/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/de | • {{#if: UbuntuHelp:BarcodeReaders|Deutsch| [[::BarcodeReaders/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/el | • {{#if: UbuntuHelp:BarcodeReaders|Ελληνικά| [[::BarcodeReaders/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/es | • {{#if: UbuntuHelp:BarcodeReaders|español| [[::BarcodeReaders/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/fa | • {{#if: UbuntuHelp:BarcodeReaders|فارسی| [[::BarcodeReaders/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/fi | • {{#if: UbuntuHelp:BarcodeReaders|suomi| [[::BarcodeReaders/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/fr | • {{#if: UbuntuHelp:BarcodeReaders|français| [[::BarcodeReaders/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/gu | • {{#if: UbuntuHelp:BarcodeReaders|ગુજરાતી| [[::BarcodeReaders/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/he | • {{#if: UbuntuHelp:BarcodeReaders|עברית| [[::BarcodeReaders/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/hu | • {{#if: UbuntuHelp:BarcodeReaders|magyar| [[::BarcodeReaders/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/id | • {{#if: UbuntuHelp:BarcodeReaders|Bahasa Indonesia| [[::BarcodeReaders/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/it | • {{#if: UbuntuHelp:BarcodeReaders|italiano| [[::BarcodeReaders/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/ja | • {{#if: UbuntuHelp:BarcodeReaders|日本語| [[::BarcodeReaders/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/ko | • {{#if: UbuntuHelp:BarcodeReaders|한국어| [[::BarcodeReaders/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/ksh | • {{#if: UbuntuHelp:BarcodeReaders|Ripoarisch| [[::BarcodeReaders/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/mr | • {{#if: UbuntuHelp:BarcodeReaders|मराठी| [[::BarcodeReaders/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/ms | • {{#if: UbuntuHelp:BarcodeReaders|Bahasa Melayu| [[::BarcodeReaders/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/nl | • {{#if: UbuntuHelp:BarcodeReaders|Nederlands| [[::BarcodeReaders/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/no | • {{#if: UbuntuHelp:BarcodeReaders|norsk| [[::BarcodeReaders/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/oc | • {{#if: UbuntuHelp:BarcodeReaders|occitan| [[::BarcodeReaders/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/pl | • {{#if: UbuntuHelp:BarcodeReaders|polski| [[::BarcodeReaders/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/pt | • {{#if: UbuntuHelp:BarcodeReaders|português| [[::BarcodeReaders/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/ro | • {{#if: UbuntuHelp:BarcodeReaders|română| [[::BarcodeReaders/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/ru | • {{#if: UbuntuHelp:BarcodeReaders|русский| [[::BarcodeReaders/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/si | • {{#if: UbuntuHelp:BarcodeReaders|සිංහල| [[::BarcodeReaders/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/sq | • {{#if: UbuntuHelp:BarcodeReaders|shqip| [[::BarcodeReaders/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/sr | • {{#if: UbuntuHelp:BarcodeReaders|српски / srpski| [[::BarcodeReaders/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/sv | • {{#if: UbuntuHelp:BarcodeReaders|svenska| [[::BarcodeReaders/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/th | • {{#if: UbuntuHelp:BarcodeReaders|ไทย| [[::BarcodeReaders/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/tr | • {{#if: UbuntuHelp:BarcodeReaders|Türkçe| [[::BarcodeReaders/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/vi | • {{#if: UbuntuHelp:BarcodeReaders|Tiếng Việt| [[::BarcodeReaders/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/yue | • {{#if: UbuntuHelp:BarcodeReaders|粵語| [[::BarcodeReaders/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/zh | • {{#if: UbuntuHelp:BarcodeReaders|中文| [[::BarcodeReaders/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/zh-hans | • {{#if: UbuntuHelp:BarcodeReaders|中文(简体)| [[::BarcodeReaders/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BarcodeReaders | UbuntuHelp:BarcodeReaders | {{#if: | :}}BarcodeReaders}}/zh-hant | • {{#if: UbuntuHelp:BarcodeReaders|中文(繁體)| [[::BarcodeReaders/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:BarcodeReaders|:BarcodeReaders|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :BarcodeReaders/zh | | {{#ifexist: BarcodeReaders/zh | | {{#ifeq: {{#titleparts:BarcodeReaders|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:BarcodeReaders|1|-1|}} | zh | | }}
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: [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]