Tutorial :iPhone Bluetooth application to connect to a Bluetooth printer



Question:

Has anybody succeeded in developing a bluetooth application on the iPhone that prints to a Bluetooth printer?

I have been investigating the feasibility of developing an iPhone application that could print to a Bluetooth-enabled printer. I've gone through the most of the postings in this thread and was confused by the mail exchanges.

As per my analysis:

Gamekit - can be used for bluetooth connectivity between iPhones and IPods ONLY

Bonjour - can be used for wi-fi connectivity between iPhones/IPods and bonjour-enabled printer

We can use an external accessory to connect to a third party Bluetooth-enabled printer provided the 3rd-party printer complies with the necessary regulations from Apple (registering for either “Made for iPod”/ “Works with iPhone”, and also customizing their printer with specific hardware/software, etc.)

Could someone please share their experiences?


Solution:1

You want their external accessory framework. Not GameKit. Happy coding!

The External Accessory framework provides support for communicating with external hardware connected to an iPhone OSâ€"based device through the 30-pin dock connector or wirelessly using Bluetooth.

(This is exactly what you were looking for)


Solution:2

To detect and connect to external devices ExternalAccessoryFramework should be used.Me too developing an application for connecting iphone to other hardware devices via bluetooth .A'm facing the problem with the protocol.The protocol should be the hardware supported ones and the protocol should be given in the info plist file.. Happy coding.


Solution:3

You can want to try this Bluetooth printer, which is Apple MFI approved

http://www.bluebamboo.com/other_file/P25i%20Datasheet%20%28EN%29%20v1.0%2009-Oct-2011.pdf


Solution:4

I would bet that you would need to use Bonjour and Wi-Fi for this application. The bluetooth hardware is restricted to gameplay from what I've seen.


Solution:5

well i have sucsessfully accomplished bt printing on a customers I-phone both devices have to be in discovery mode to do so and then the combination wireless and bt will allow only photo printing though otherwise you will need an app


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »