Is this possible? I checked out printing to an AirPrint printer from Android, but it was closed for "not being a question" (I don't really know why, it seemed like a legitimate question to me) and the only answer to it totally doesn't answer the question.
What I need is a way to print to a wireless printer on the same network (possibly intranet) via my Android device, using code. If there's no Android official SDK for it, is there a custom library anyone knows of or a possible workaround to it? Possibly using AirPrint; if PrintBot can do it, there's no reason why there shouldn't be a corresponding hack for it.
1 Answer
Yes, it is possible to print to an AirPrint printer from Android.
There are a number of printer apps available that claim to support AirPrint. As of my experience they don't work very well unfortunately.
In general it's a good idea to use the Android Print API. Job transmission and potential rendering should be done by appropriate printer drivers.
In case of AirPrint the driver only needs to send a PDF straight to the printer.
I've successfully implemented an AirPrint-compatible java-based printer driver for a client - closed source. In case of reasonable demand I might reimplement a version for androids print api - let me know, if you are interested.