Universal Serial Bus (USB) cables are used to connect a computer to a suitably equipped peripheral device such as a printer or digital camera. Devices will be either fitted with an A-type, B-type or MiniB-type port, which will denote the termination method required.