Integrated barcode scanner