USB A male to B male:

https://www.canadatoner.ca/High-Quality-USB-20-A-Male-to-B-Male-2824AWG-Cable--10ft_p_8826.html

Most of printers are using this cable, and, Brother recommends no longer than 6 Feet (2 Meters).