Skip to content
Find file
e064926 Mar 22, 2011
17 lines (11 sloc) 325 Bytes
# mini tester wrapper. run this!
from scanner import *
print "Testing USB barcode scanner LS2208. Make sure you have one plugged in"
scanners = get_scanners()
scanner = None
if (scanners):
print "Found a scanner!"
print scanners
scanner = scanners[0]
print "------------------"
print scanner.getBarcode()
Something went wrong with that request. Please try again.