Hi,
A device that sits between
the PC and USB Printer thus capturing all the data that has been pushed to printer . PC shall assume the device to be the printer and hence push the data , which will further push the data to the connected printer.
I have tried with
OrangePi zero over USB OTG device. Now my pc detects OrangePi zero as
g_printer and i could initiate print to this. But i cannot capture anything at the OTG side. I cannot read printer status of g_printer.
How can i trouble shoot to identify the communication?
I have just followed this
https://www.kernel.org/doc/Documentation/usb/gadget_printer.txt