USB plug identification
USB Type B Plug (left), Type A Plug (right)
USB Type A Plug:
Flat form factor
Commonly used used at the end of the cable that plugs into the host/computer USB port or USB hub.
 
USB Type B Plug:
Square form factor
Commonly used at the end of the cable that plugs into the USB peripheral, printer or cash drawer.