I want to use a Raspberry Pi Zero W to capture (and manipulate) data between a computer and a usb printer. I was thinking I could set up two usb ports - one a host USB port, the other a device (gadget) port. The gadget port would have to be configured to look like the printer.
Unfortunately the pi only has one OTG port, and I have not been able to find a hat to add a second port. I suppose I could add a usb chip via gpio, but that will also requires a bunch of driver coding. Its been a few year since I have done any driver work, so I am try to avoid this option. Does any one have any suggestions on how to add and addition Host or device port (not hub).