Barcode Scanner Component Help

I am trying to use the barcode scanner component. I want the operator to scan a barcode without having to select a text box and have the barcode automatically captured. How exactly does this component work?