Considering that I am running windows 10.
considering that i’m running windows subsystem for Linux – a hobbled Ubuntu 20.04 i think.
Considering my printer was set up with something called a “WSD” port which i learned won’t work and has to be a TCP/IP port which meant going to my router to find out the LAN ip of my printer …
and considering that i am using a page printer (laser) and not line by line …
i consider reaching “receiving data” and sending bunch of form feeds and having it spit out paper but getting none of the text from ls or cat enough of a success for me.
So, that a shell script containing:
cat f | nc A.B.C.D 9100 &
cat – | tee -a f | /system/bin/sh 2>&1 | tee -a f
where A.B.C.D is the local address of the printer, right?