I have a question for you:
How can I redirect the flow that comes to my tcp port 5677 on my printer /dec/usb/lp0
the printer is set as {generic, raw)
and all the data comes from different servers on the same port (5677)
so far I tried with
Code: Select all
cat /dev/tcp/10.0.0.1/5677 >/dev/usb/lp0
Code: Select all
dd if=/dev/tcp/10.0.0.1/5677 of=/dev/usb/lp0