USB-B Pinout
The square 4-pin USB 2.0 Standard-B plug used on printers, hubs, and devices.
Overview
USB-B (Standard-B) is the square-ish upstream connector on peripherals such as printers, scanners, and powered hubs. Electrically it is identical to Type-A: 5 V power, the D+/D- pair, and ground.
Only the connector body geometry differs from Type-A; the four signals are the same.
Pinout
| Pin | Name | Function | Description |
|---|---|---|---|
| 1 | VBUS | POWER | +5 V bus power |
| 2 | D- | USB2 / DATA | USB 2.0 data, negative |
| 3 | D+ | USB2 / DATA | USB 2.0 data, positive |
| 4 | GND | GND | Ground |
Notes
- The device-end (upstream) connector; same 4 signals as Type-A.
- USB 3.0 Standard-B is taller, adding the 5 SuperSpeed contacts.
Reference: USB-IF / Wikipedia - USB hardware· verified 2026-06-27