Shailesh Shetty

Shailesh Shetty

  • NA
  • 5
  • 28.7k

DOS Command to print to the Ethernet Printer

Jul 30 2011 5:22 AM
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...


Answers (1)