Bluetooth Printing on Android

前端 未结 4 921
孤独总比滥情好
孤独总比滥情好 2021-02-06 19:52

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 \"

4条回答
  •  一整个雨季
    2021-02-06 20:17

    There are various bluetooth profiles that maybe used for printing namely, HCRP, BPP, SPP, OPP, DirectPrinting etc. (Ref: http://www.alanjmcf.me.uk/comms/bluetooth/Bluetooth%20Profiles%20and%2032feet.NET.html#_Toc266869878)

    Try these other profiles (UUIDs) to try a 'socket.connect'with the printer... Perhaps your Palm OS device would be using another profile than BPP?

    By the way Philip, for your printer - HP DeskJet 450wbt, are you using a generic Bluetooth dongle or something you purchased specifically for your printer from HP?

    Or does your printer support Bluetooth out of the box, without need to plugin a Bluetooth adapter?

    Perhaps you can answer my question here: can generic Bluetooth dongle be used for printers that support printing over Bluetooth?

    Let me know how it works out for you.

提交回复
热议问题