A scanner is just like a keyboard - just an input device, and Access doesn't know what hit it.
The scanner is normally programmable to send some character at the end of the scan, which normally is just a set of letters and digits, corresponding to yuo pressing Return on the keyboard. Look in the scanner's manual. And make code as if you were keying the barcode on the keyboard. Same same.