How to Set Up a USB Barcode Scanner (And Fix It)
Connect a USB barcode scanner in minutes, set it to add Enter or Tab after each scan, and fix the most common reasons it stops working properly.
Setting up a USB barcode scanner takes less time than unboxing it. Plug it in, click into a text field, and scan. This guide covers the full setup, how to make the scanner add Enter or Tab after each scan, what to do when it won't work, and what those strange configuration barcodes in the manual actually do.
How Do I Connect a USB Barcode Scanner to My Computer?
Plug the scanner's USB cable straight into a USB port on your computer, ideally one on the computer itself rather than through a hub or dock. Most handheld USB barcode scanners act as HID (Human Interface Device) keyboards, the same driver class as a regular keyboard, so the operating system recognizes them instantly with no software install.
Once it's plugged in, the scanner typically beeps or flashes to confirm power. To test it, click into any text field, such as Notepad or a spreadsheet cell, and scan a barcode. The decoded number should appear as if someone typed it, usually followed by a line break. That line break comes from an automatic Enter keystroke most scanners send by default after each scan.
If nothing appears, don't assume the scanner is broken. The single most common issue at this stage is that no text field has focus. A USB scanner has no idea what application is open; it just sends keystrokes to wherever the cursor currently sits, exactly like a keyboard does.
For wireless USB scanners, the same logic applies but through a receiver dongle. Plug the dongle in first, make sure the scanner's battery has charge, and most will pair automatically. Some wireless models have a pairing button you need to hold for a few seconds if the dongle was swapped or replaced.
Why Is My USB Barcode Scanner Not Working?
Most USB scanner failures trace back to one of three things: no active text field, a loose or damaged connection, or a configuration mismatch. Before assuming hardware failure, work through the connection and software layer first, since that resolves the majority of cases without opening the scanner's manual at all.
Check the connection first. Try a different USB port, and plug directly into the computer rather than through a hub, dock, or extension cable, since those add points of failure. If the cable looks worn or the scanner worked before and suddenly stopped, wiggle the cable gently at both ends while scanning; a connection that drops intermittently points to a damaged cable rather than a scanner fault.
Confirm a text field has focus. Since USB scanners emulate a keyboard, they type wherever the cursor is. If you're scanning while no window has an active text input, or a browser tab without a form field is focused, the data has nowhere to go. Click into a field first, then scan.
Watch for garbled or wrong characters. If text appears but looks wrong, for example your OS is set to a different keyboard layout than the scanner expects, numbers may come through fine while symbols or letters don't. Set the scanner's internal keyboard layout to match your OS, or switch the OS to match the scanner, by scanning the matching country/layout configuration barcode from the manual.
Try a factory reset. If settings have drifted from repeated reprogramming or an accidental scan of the wrong configuration barcode, most scanners include a factory reset barcode on the first page of their quick start guide. Scanning it restores default suffix, format, and layout settings in one step.
For a broader troubleshooting walkthrough covering phone cameras, Bluetooth, and web-based scanners alongside USB models, see our barcode scanner troubleshooting guide.
How Do I Make a Scanner Add Enter or Tab After Each Scan?
Scan the "Suffix Setting" configuration barcode from your scanner's programming manual, then scan the barcode for the character you want, Enter/CR or Tab, then scan "Save" or "Exit" to apply it. This is standard across keyboard-emulation scanners, though the exact barcode images differ by manufacturer, so you'll need your specific model's manual.
A suffix is the character a scanner automatically sends after the decoded barcode data. Adding Enter after each scan submits the field it was typed into and moves focus to a new line, which is exactly the behavior you want in a spreadsheet: scan a product code, it lands in cell A1, Enter moves you to A2 for the next scan. Tab instead moves focus one cell to the right, useful for horizontal data entry forms.
Manufacturers publish these as printed barcodes in their programming guides rather than as a settings menu, because the scanner itself has no screen or interface beyond its trigger and LED. Honeywell's documentation, for example, describes a dedicated "Add CR Suffix" barcode and a separate "Add Tab Suffix" barcode, with a "Remove Suffix" code to clear them. Zebra's scanner guides list "Enter Key" and "Tab Key" as individually programmable parameters under their miscellaneous scanner settings, confirming this is a near-universal pattern across brands, not a quirk of one vendor.
If you've lost the printed manual, search your scanner's model number plus "programming guide" or "suffix setting" to find the manufacturer's PDF. Most keep current and legacy manuals available as free downloads.
What Are Barcode Scanner Configuration Codes?
Configuration codes, also called programming barcodes, are special barcodes that change a scanner's internal settings rather than being decoded as data when scanned. They're how you configure a device that has no screen, keyboard, or menu system of its own; the scanner reads an instruction instead of a product number.
These codes control far more than suffixes. Common categories across manufacturer manuals include: enabling or disabling specific barcode formats (so a 1D scanner doesn't try to decode formats it can't read), setting the keyboard country layout for international keyboards, switching between keyboard-emulation (HID) mode and serial/virtual COM port mode for integration with specialized software, adjusting scan beep volume, and restoring factory defaults.
The HID-versus-serial distinction matters for more advanced setups. In HID keyboard mode, every scan arrives as keystrokes with no driver required, but the host software can't distinguish between multiple connected scanners and a text field must stay focused. Serial (virtual COM port) mode makes the scanner appear as a COM port that applications read programmatically, which is the better fit for point-of-sale software or multi-scanner environments, though it usually requires enabling via its own configuration barcode first and isn't supported by every low-cost model.
Each manufacturer maintains its own configuration barcode set, so a code from one brand's manual won't apply to another model. Always use the manual that matches your scanner's exact model number, available from the manufacturer's support site, rather than a generic list found elsewhere.
Get Scanning Without a Dedicated Scanner
If you only need occasional scans and don't want to manage hardware configuration at all, barcodescanner.online reads barcodes directly through your device's camera in the browser, no USB scanner, drivers, or suffix settings required. It's a useful fallback when a USB scanner is being reconfigured or when you need to scan from a phone instead.
Sources
- Zebra Technologies: Keyboard Wedge Interface
- Zebra Technologies: Enter Key Parameter
- Opticon: USB Composite Devices (HID and Serial Modes)
- Honeywell 3800 Scanner Manual: Suffix Configuration