In the old days, these cables used to be used for USB printers, but I think the printer industry has moved on to newer cables. You might check if you have older printers, and such whether you already have the cable or not.
This industry moves on far too quickly without you wishing it away as well. The USB A-B lead is still almost universal for printers. New fangled ones are often wireless as well but often need the USB for setting up the wireless in the first place (or squinting at a tiny display and working through endless menus) . Some low end Multifunction wireless devices are only wireless as printers and need a USB cable to use the scanner part. Network printers often have ethernet as well as USB, but the USB A-B is still the cable of choice for printers. More often than not, NOT included with the printer so the store can charge you some exorbitant fee on top of the printer. Available for very little on Ebay.
Many other devices have moved on to Mini and Micro USB but as a printer can't really shrink very much, there's little point in shrinking the USB connection.
Its only fairly recently the industry has abandoned the old Centronics parallel connector altogether. The computer manufacturers kept it on so if you still had a really