Jump to content

Recommended Posts

Posted

I would like to make Orangepi zero to  capture USB output destined for a printer in order to log the output from a system. 

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 the printer.

 

 

 

Posted

After you've done this, just write something to /dev/usb/lp0 on the host side, again just a standard file. Simplest would be to echo "asdf" >> /dev/usb/lp0 Take care of the permissions for both files, you need your user to be in the lp group and have write permissions.

snaptube telegram web

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines