I have an IP address of my my printer on the network. I want to send print command on that printer. What shoul i do for this.. Any one help me fo this. Thanks
Asked
Active
Viewed 3,037 times
3
-
Here's an easy way to print text to a network printer from Android: http://stackoverflow.com/a/13584763/1172181 – Luis Jan 28 '13 at 20:07
1 Answers
4
It is simple as HttpConnection & writing DataOutputStream, First of all you need to make Serial Connection with that IP address. After making Connection you need to make DataOutputStream for writing files/words , these will goes to printer & will print it. I did same for Bluetooth Printer previously.

Lucifer
- 29,392
- 25
- 90
- 143
-
At Present , i do not have it. but I will try to look for it in my folder, if found then surely give you. – Lucifer Jan 10 '12 at 12:22
-
-
@Android i have same problem so please give me the source code to print text from my app to printer – itechDroid Sep 28 '12 at 11:55
-
Here'a an easy and straight forward implementation for printing text: http://stackoverflow.com/a/13584763/1172181 – Luis Jan 28 '13 at 20:08