DOS Command to print to the Ethernet Printer
I have connected my 3 inch printer to the ethernet. Now I want to print the text file to it. its IP address is 192.168.2.46 and port 9100.
If I want to print to com port then I can use following command:
copy textfile.txt <comport such as com1,com2,com3..>
copy a.txt com1
vb.net code shell("cmd /c copy a.txt com1")
But How can I print to ethernet printer?
Plz help me.....
thank you...