i tried with USB gadget 'g_printer'.. successfully communicated with /dev/lp0 and /dev/gprinter0.
When i connect my Orangepizero to my host it detected as a gadget printer. But i cannot print to it? Is my concept is correct? how to solve this?
i have a USB OTG supported device lets say Orangepi zero. I would like to convert this device as a USB Printer.
1 ) Mimic the connected USB printer (so that the machine thinks it still has the original printer attached)
2 ) Capture the output from the machine
3 ) Send the captured output to...