[Ilugc] Access barcode scanner data using ttyUSB0

  • From: steve@xxxxxxxxxxxx (steve)
  • Date: Tue Sep 29 12:15:28 2009

Hi,

On 09/29/2009 11:15 AM, Shakthi Kannan wrote:

Hi,

--- On Mon, Sep 28, 2009 at 5:43 PM, -<vkslist@xxxxxxxxx>  wrote:
| I'm trying to access barcodes scanned and saved in a scanner's flash
| memory.
[...snip...]
You can use libusb library to send specific requests to the device and
read the responses.
http://www.libusb.org/

Also refer their developers' guide:
http://libusb.sourceforge.net/doc/function.usbbulkread.html

...beside that you may also be interested in taking a look at 
http://zbar.sourceforge.net/

"""
ZBar is an open source software suite for reading bar codes from various 
sources, such as video streams, image files and raw intensity sensors. It 
supports many popular symbologies  (types of bar codes) including EAN-13/UPC-A, 
UPC-E, EAN-8, Code 128, Code 39 and Interleaved 2 of 5.

The flexible, layered implementation facilitates bar code scanning and decoding 
for any application: use it stand-alone with the included GUI and command line 
programs, easily integrate a bar code scanning widget into your Qt, GTK+ or 
PyGTK GUI application, leverage one of the script or programming interfaces 
(Python, Perl, C++) ...all the way down to a streamlined C library suitable for 
embedded use.
"""

Disclaimer: I know next to nothing about bar code scanning. I just saw this 
application in the results list when I did a "yum search scanner" (was 
searching 
for alternatives to xsane).

cheers,
- steve

-- 
random non tech spiel: http://lonetwin.blogspot.com/
tech randomness: http://lonehacks.blogspot.com/
what i'm stumbling into: http://lonetwin.stumbleupon.com/

Other related posts: