Sign in with
Sign up | Sign in
Your question
Solved

Connecting usb android printer wirelessly

Last response: in Wireless Networking
Share
July 15, 2013 8:18:50 AM

Hi.I have a star micronics 100U/143U.It's an USB printer,i succesfully developed an android app that prints to it thru a direct USB cable.The printer supports android.
What i want to do next is to try and connect to that printer thru a wireless network.Something like connecting the printer to a device that transforms the USB into an IP.There are Star Micronics printers that connect wirelessly.In the Android SDK you can access the printer either by using "USB:" or using "TCP:ipHere".

What device do i need to achieve this ? To be able to transform that USB: to an IP.

I've thought about the following :
1. connecting the printer to a router with an USB port but i don't know if that router will give an IP to my USB printer.
2. connecting the printer to a USB-LAN adapter or to something like this that transforms my printer into a wireless network ?

Also,my printer doesn't send current thru USB.
Is there any solution to my problem ?
Thanks in advance !

Best solution

July 15, 2013 7:32:15 PM

You are looking for a Print Server. Haven't used one in about 5 years.
This lists both wired and wireless.
http://www.newegg.com/Network-Print-Servers/SubCategory...

Cheapest solution though is to hook up the printer via USB to a computer and share it, making the PC a print server.
The printer server will have an IP and allow access to printing via that IP.
EG: tcp:\\192.168.1.1:9100\VritalPrinterInstance
Depending on the server software and configuration you use, like Linux and CUPS.

Linux/CUPS Instructions:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collect...


Windows instruction:
http://www.microsoft.com/resources/documentation/window...

See also:
http://usbip.sourceforge.net/

I use a CUPS printer server via Samba for my work. Simple one click driver installs after configuring it etc.

Some routers also support print servers such as the ASUS RT-N16 - http://www.asus.com/Networking/RTN16/
http://support.asus.com/FAQ/Detail.aspx?SLanguage=en&no...
https://www.youtube.com/watch?v=5kQU8lF0-5Q

No clue on drivers for the printer working with the phone however.
I assume your app handles that or you are feeding PS or Raw data to the printer.
Share
June 10, 2014 7:12:21 AM

please can you give me your code to print via usb in android?
i have bluetooth printer share code.

I need help.

please send me simple demo project of code to my mail id.
technocratsappware@gmail.com
m
0
l
!