I am trying to print to an HP DeskJet 450wbt printer from my T-Mobile Pulse Mini phone, using the Android Bluetooth API. The code is as shown below. The connection fails with \"
If your phone model (here Android) has built-in support for the Bluetooth Printing Profile, then the phone supports printing to a Bluetooth printer. If you do not see any settings/options on your phone to print (from, for example, the built-in photo gallery applications) to a Bluetooth printer, then in all likelihood the phone does not support Bluetooth printing.
If the support is not built-in, there is little or no chance for you to add the support; it has to come from the device manufacturer(here Android).
(Ref: http://discussion.forum.nokia.com/forum/showthread.php?76295-Bluetooth-printing-option-in-application)
For Bluetooth profile support to be implemented on Android, there is a project called “Sybase-iAnywhere-Blue-SDK-for-Android”, which replaces Android's version, and provides all interfaces into the underlying Bluetooth profiles and protocols. Using this, printing over bluetooth using your Android phone will be possible using the BPP profile provided by this SDK.
See links below for more details: link 1: http://www.sybase.com/detail?id=1064424 Link 2: http://www.sybase.com/products/allproductsa-z/mobiledevicesdks/bluetoothsdks