1
Reply

DOS Command to print to the Ethernet Printer

Shailesh Shetty

Shailesh Shetty

Jul 30 2011 5:22 AM
2.4k
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)