支持蓝牙打印的打印机可以使用通用蓝牙适配器吗?
我尝试过在“KodakESP-3+2445”打印机上使用蓝牙适配器 (Advik)。我创建了一个 Android 客户端来连接到这台打印机。我为 OPP(对象推送配置文件)选择一个 UUID,并且能够获取 BluetoothSocket 并将文件“socket.write”到打印机。然而,打印机没有获得打印输出。
我尝试了其他蓝牙 UUID,例如(BIP、BPP、直接打印、SPP 等),但除了 OPP(对象推送配置文件)之外,每个配置文件的套接字连接均失败。
我访问了柯达商店购买“柯达无线 2.0 USB 蓝牙适配器”(http://store.kodak.com/store/ekconsus/en_US/pd/Wireless_USB_2.0_BLUETOOTH_Adapter/baseProductID.145081200/productID.145081300),并注意到某些蓝牙配置文件(OPP、BIP 和 FTP)蓝牙适配器本身支持。
普通的蓝牙适配器可以连接支持蓝牙打印的打印机吗?
或者我是否必须购买专门的蓝牙适配器来支持这些蓝牙配置文件(OPP、BIP、FTP 等)?
对于要在 Android 上实现的蓝牙配置文件支持,有一个名为“Sybase-iAnywhere-Blue-SDK-for-Android”的项目,该项目替换了 Android 的版本,并提供了底层蓝牙配置文件和协议的所有接口。使用此 SDK 提供的 BPP 配置文件,您可以使用 Android 手机通过蓝牙进行打印。
请参阅以下链接了解更多详细信息:
链接 1: http://www.sybase.com/detail?id=1064424
链接 2: http://www.sybase.com/products/allproductsa-z/mobiledevicesdks/bluetoothsdks
我还联系了柯达技术支持团队,询问是否可以将通用蓝牙适配器连接到柯达 ESP-3 打印机以启用蓝牙无线打印。
这是我收到的答案:
“对于无线打印,您只能 使用柯达无线 2.0 USB 独一无二的 BLUETOOTH® 适配器 您的设备支持蓝牙适配器 柯达多合一打印机。”
但是,根据我上面添加的评论,我能够使用通用蓝牙适配器从诺基亚设备打印到柯达打印机。
警告:
我尝试使用 2 个通用蓝牙适配器蓝牙加密狗 (Advik) 无法与该设备配合使用(该加密狗无法通过蓝牙发现来发现打印机,并且加密狗的 LED 灯处于持续亮起位置,并且不是正常的闪烁频率)。
这我尝试过其他蓝牙适配器(另一个通用的现成 BT 适配器),但是确实可以与打印机配合使用,即可以通过蓝牙发现“找到”打印机,并且我能够使用诺基亚设备打印 jpg 文件这个加密狗
希望这对某人有帮助。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
哦,等等,我看到了问题。 OPP、FTP、BPP 等都是基于 OBEX(又名 GOEP)的,这是一个有点像 HTTP 的“协议”。人们不能只将原始字节发送到 OBEX 服务器。
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.