Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
129 views
in Technique[技术] by (71.8m points)

android - can generic Bluetooth dongle be used for printers that support printing over Bluetooth?

I have tried using a Bluetooth dongle (Advik) with my "KodakESP-3+2445" printer. I have created an Android client to connect to this printer. I select a UUID for OPP (Object Push Profile) and was able to obtain a BluetoothSocket and 'socket.write' a file to the printer. However, no print out was obtained from the printer.

I tried other Bluetooth UUID such as (BIP, BPP, Direct Printing, SPP etc), but socket connection fails for each of these profiles, except OPP (Object Push Profile).

I visited the Kodak store for the "KODAK Wireless 2.0 USB BLUETOOTH Adapter" at (http://store.kodak.com/store/ekconsus/en_US/pd/Wireless_USB_2.0_BLUETOOTH_Adapter/baseProductID.145081200/productID.145081300), and noticed that certain bluetooth profiles ( OPP, BIP, and FTP) were supported with the bluetooth adapter itself.

Can a normal bluetooth dongle be used to connect to printers that support Bluetooth printing?

Or would I have to procure a specialized Bluetooth adapter to support these Bluetooth profiles ( OPP, BIP, FTP etc)?


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


I also contacted the Kodak Technical support team inquiring, whether any generic Bluetooth dongle can be attached to the Kodak ESP-3 printer to enable Bluetooth wireless printing.

Here's the answer I received:

"For wireless printing you can only use a KODAK Wireless 2.0 USB BLUETOOTH? Adapter as no other BLUETOOTH Adapter is supported by your KODAK All in One Printer."

However, as per my comment added above, I was able to print from a Nokia device to the Kodak printer, using a generic Bluetooth dongle.

Caveat:

I tried with 2 generic Bluetooth dongles. One (Advik) would not work with the device. (This dongle does not let the printer be discovered by bluetooth discovery, and the LED light of the dongle, was in a constant ON position and not the normal blinking frequency).

The other Bluetooth dongle I tried (another generic off-the-shelf BT dongle), however did work with the printer i.e, The printer could be 'found' with Bluetooth discovery, and I was able to print a jpg file from a Nokia device using this dongle.

Hope this helps somebody.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Oh wait I see the problem. OPP, FTP, BPP etc are all OBEX-based (aka GOEP), and that is a 'protocol' a wee bit like HTTP. One can't just send raw bytes to an OBEX server.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...