Question: how to connect two computers to one printer via usb cable?
Answer: Shut down both computers and the printer.
Plug 2 USB cables into the input jacks on the back of the USB hub.
Plug the opposite ends of the USB cables into a free USB port on each computer.
Plug the out jack from the USB hub into the USB port on the back of your printer.
Turn on the printer.