Configuring a code scanner means pointing a barcode or QR scanner at the right connection mode, keyboard layout and scan parameters so that scanned codes arrive in the correct field of the right app. For a common USB barcode scanner the shortest working setup is: connect it, let the operating system detect it as a keyboard, open the app or spreadsheet you want the codes to go into, click into the input field, and scan the scanner's own configuration barcodes from its manual to set the keyboard language (US English is the usual default) and, if needed, a termination character such as Enter or Tab. Everything beyond that — symbologies, prefixes, suffixes, Bluetooth pairing — is refinement on top of those four steps.
This guide uses menu and option names that appear on most scanners from mainstream brands such as Zebra, Honeywell, Datalogic and Socket Mobile. Labels differ slightly between manufacturers, between models and between firmware versions, so read your own model's user guide alongside this. Where a scanner has no display, all configuration is done either by scanning setup barcodes from that guide or through the vendor's configuration utility on a PC.
What You'll Need
- The scanner itself, plus its cable (USB, USB-C, RS-232 serial or Bluetooth, depending on the model).
- The printed quick-start sheet or full user guide that shipped with it — this contains the configuration barcodes you will scan. Many makers also publish it as a PDF.
- A computer, tablet or phone with the app or spreadsheet you want the scans to land in, plus permission to install software if you use the vendor's configuration tool.
- For Bluetooth models, the scan code that puts the scanner into pairing mode (usually in the quick-start sheet) and the host device's Bluetooth settings.
- For serial models, the port settings from the scanner's guide (baud rate, parity, data bits, stop bits) so you can match them on the host.
- A few sample codes to test with — a product barcode from your own stock and, if you scan them, a QR code or a code from your internal system.
Step-by-Step
- Connect it physically first. Plug a USB scanner into a powered USB port (not an unpowered hub where it shares with other high-draw devices) or connect the serial/Bluetooth adapter. Many models emit a short beep and flash a green or blue indicator when they receive power. A red or blinking fault light usually means the cable or port is bad.
- Confirm the host sees it. On Windows, open Device Manager and look under Keyboards or Human Interface Devices; a USB keyboard-emulation scanner normally appears there because it types like a keyboard. On a Mac, check System Information under USB. If nothing appears, try a different cable and port before going further — a scanner that never enumerates cannot be configured.
- Do the first test scan into a plain text field. Open Notepad, TextEdit or a blank note, click in the text area, and scan one barcode. If characters appear, the scanner is in keyboard-emulation mode and is basically working. If nothing appears, the input focus was elsewhere, the scanner is in a non-keyboard mode (such as serial emulation), or the symbology you scanned is disabled. If a garbled string appears with odd characters, the scanner's keyboard layout does not match the host's layout — that is fixed in step 5.
- Choose the right interface mode. Most USB scanners support at least keyboard emulation (also called HID keyboard) and sometimes a USB virtual COM port. Keyboard emulation works with any app with no software installed and is the right choice for spreadsheets and web forms. USB virtual COM or serial mode is used when an inventory or point-of-sale application expects a serial port and opens the device itself. Pick the mode your app documents; if you are unsure, keyboard emulation is the safer default. Switching modes is done with a mode barcode in the guide, and the scanner usually reboots when you scan it.
- Set the keyboard layout. Scan the configuration barcode for the host's keyboard language — typically a set of country-specific barcodes in the guide, with US English as the factory default. A US layout on a UK or German operating system (or the reverse) produces wrong characters for symbols such as hyphens, slashes and accents, even though the letters and digits look fine.
- Set the termination suffix. Decide what the scanner should send after each code: nothing, or Enter (carriage return), or Tab. Enter is what you want when each scan should move to the next row in a spreadsheet or submit a lookup field. Tab is useful when you scan several codes per row and want to move across columns. In the guide this is usually called something like Suffix, Terminator or Postamble, with a barcode for Enter, Tab and None. Add a line-feed only if your app expects it separately from Enter.
- Enable only the symbologies you actually scan. Turn on the code types in use — EAN-13 and UPC-A for retail products, Code 128 for shipping labels, QR or Data Matrix for 2D labels — and turn off the rest. Leaving every symbology on makes reading slower and increases the chance of misreads, especially of partial codes. Each symbology has its own enable/disable pair of barcodes.
- Add prefixes or suffixes if your app needs them. Some field apps and warehouse systems require the scanned value to carry a marker, such as a quantity or location prefix, so they can recognise which field the code belongs to. If your software documentation specifies one, set it in the prefix (preamble) or suffix (postamble) section using the guide's alphanumeric barcodes. You can combine a fixed prefix with the Enter terminator. Do not add prefixes speculatively — they will show up in the data.
- Set Bluetooth pairing the correct way for your model. For a Bluetooth scanner, scan the pairing barcode from its quick-start sheet, then open the host's Bluetooth settings, find the scanner in the list of available devices and pair it. Many models also offer an HID mode and a serial-port (SPP) mode; use HID for keyboard entry into apps, and SPP only when your app opens a serial connection. On iOS and iPadOS, check the maker's documentation for what your specific model supports before relying on it.
- Match serial settings if you are on a serial or virtual COM port. Set the host's port to the exact baud rate, data bits, parity and stop bits listed for the scanner (commonly described in the guide as standard 8-N-1 at a given baud rate — use your model's stated values) and confirm the correct COM port number in your application.
- Test in the real application, not just Notepad. Scan into the actual field the codes will go to, including a long code, a code with letters and a code with punctuation, and check the values arrive complete and in the right order. Test the scan speed your workflow needs: rapid successive scans can drop characters if the app cannot keep up.
- Record what you changed. Note the interface mode, keyboard layout, suffix, symbologies and any prefixes, and keep the guide somewhere the next person can find it. Consider saving a configuration file with the vendor utility so a replacement scanner can be set up identically.
Common Mistakes
- Configuring before testing a basic scan. If the scanner cannot type into Notepad, no amount of suffix tuning will help. Fix the connection first.
- Wrong keyboard layout. Letters and digits look correct so the problem hides in punctuation: scanned values land in a database with a wrong character in the middle. Always run a punctuation test scan.
- Double Enter. The scanner appends Enter and the receiving app also adds one, so each scan submits twice or skips every other row. Remove one of the two.
- Leaving all symbologies enabled. This causes slow reads and occasional misreads of partial or damaged labels.
- Using an unpowered hub. Scanners that draw more current than the hub supplies will work intermittently or fail after a while, which is easily blamed on the scanner.
- Assuming the scanner works with every phone app. Many phone and tablet apps do not accept external keyboard input in every field, and Bluetooth support varies by model. Test in the actual app before buying a fleet.
- Forgetting the reset barcode. If you have changed many settings and lost track, return the scanner to factory defaults with the reset barcode in the guide, then start again.
Tips
- Keep the configuration sheet with the scanner or filed digitally by model number. Replacing a lost barcode sheet is far easier than troubleshooting a setting nobody remembers changing.
- Use the vendor's configuration utility on a PC when available. It shows all current settings in one place, lets you save and reload a profile, and is easier to audit than a stack of scanned barcodes.
- Label cables and ports so a scanner moved between stations does not get plugged into the wrong mode.
- If your workflow scans thousands of codes a day, consider a presentation or hands-free stand and test the standby behaviour in the guide, since some models exit sleep with the first scan and others need a trigger press.
- For barcode labels, check print quality and quiet zones (the blank margin around the code) before blaming the scanner — marginal labels read inconsistently no matter how the scanner is configured.
Troubleshooting
Nothing appears when you scan. Click directly into the text field, then scan. Check that the scanner is in keyboard-emulation mode if your app expects typing. Confirm the symbology is enabled — a QR code will not read on a scanner that only has 1D symbologies enabled. Try a known-good sample code from the guide.
Characters are wrong or scrambled. This is nearly always the keyboard layout mismatch described in step 5. Set the scanner's language to match the host operating system's active keyboard layout. If the layout is correct but the data is cut off, the app may be losing characters at speed, or the suffix is firing before the scanner finishes sending the code.
The scan goes into the wrong place. Keyboard-emulation scanners type into whatever field has focus. Make sure the cursor is in the intended field before scanning, and avoid extra windows or dialogs taking focus.
Bluetooth will not pair. Remove the scanner from the host's paired devices list, scan the pairing barcode again to re-enter pairing mode, and pair within the time window stated in the guide. Make sure you are not trying to pair a model that only supports serial mode with a host that expects keyboard input.
Settings will not stick. Some scanners must be in a configuration state to accept settings; scanning the wrong barcode can exit that state. Return to factory defaults and redo the changes one at a time.
If none of this works, reset to factory defaults with the guide's reset barcode and rebuild the configuration step by step, testing after each change so you know which setting caused the problem.
Frequently Asked Questions
Does a barcode scanner need drivers or software?
Not for keyboard emulation. The host sees it as a keyboard and it needs nothing installed. Serial and virtual COM modes may need a driver or port setup, and the vendor's configuration utility is optional but useful.
Can I use a USB barcode scanner with a phone or tablet?
Often yes, with an appropriate adapter or a Bluetooth model, because it types like a keyboard — but only in apps that accept external keyboard input in the field you use. Check the maker's documentation for supported hosts before relying on it.
Why does my scanner add an Enter after every code?
A carriage return suffix is enabled, which is usually a deliberate factory or user setting for spreadsheet entry. Scan the barcode in the guide for no suffix to remove it.
How do I stop the scanner reading the wrong code type?
Disable the symbologies you do not use and leave only the ones your labels contain. This reduces misreads and speeds up decoding.
Can I copy the settings to another scanner of the same model?
Yes. Scan the same configuration barcodes, or use the vendor utility to save and load a profile. Settings do not transfer between different models, so repeat the setup for each model type.
Is it safe to scan codes from an unknown source?
The scanner itself only decodes the printed pattern into text, so the risk sits in what the receiving app does with the value. Treat scanned text from unknown labels like any other untrusted input, and never approve or install anything just because a code told you to.