在蓝牙打印机上打印
我需要在蓝牙打印机上打印。 我已经有一个适用于 Windows 移动平台的程序,该程序通过蓝牙将命令和数据发送到 Zebra RW 420 打印机,使用 Zebra 打印机协议。这只是通过蓝牙发送的流。
现在,我们想在 Android 上执行此操作。我想知道一些基本信息:
- 这种类型的打印是否可能/可行(我们很少看到有关 Android 上打印的信息),或者蓝牙仅限于音频和文件传输?
- 如何将蓝牙打印机连接到 Android 设备。
I need to print on a Bluetooth printer.
I already have a program for the Windows mobile platform, that sends commands and data via Bluetooth to a Zebra RW 420 printer, using the Zebra Printer Protocol. It's just a stream sent on Bluetooth.
Now, we'd like to do this on Android. I would like to know some basic information:
- Is this type of printing possible/doable (we've seen very little information regarding printing on Android), or is Bluetooth limited to audio and file transfer?
- How to connect a Bluetooth printer to the Android device.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
最好的选择是使用适用于 Android 设备的 ZebraLink SDK。您可以从 Zebra 此处。该 SDK 附带了大量示例代码和文档,其中介绍了如何使用它,因此您应该能够立即开始使用!
Your best bet will be to use the ZebraLink SDK for Android devices. You can download it from Zebra here. The SDK comes with a load of sample code and documentation which covers how to use it, so you should be able to jump right in!
目前在 Android 上通过蓝牙进行打印是不可能的(据我所知),因为 Android 不支持蓝牙“配置文件”,例如 BPP(基本打印配置文件)、HCRP(硬拷贝替换配置文件)、BIP(基本成像配置文件)等等,这是蓝牙打印使用的常见配置文件。参考号这个了解打印英国电信简介。
目前,Android 支持 OPP(对象推送配置文件),用于通过蓝牙甚至 A2DP 发送文件。
要在 Android 蓝牙堆栈中实施蓝牙配置文件,您可以参考 Sybase-iAnywhere- Blue-SDK-for-Android,它提供了一个 SDK 来将此功能添加到 Android 上现有的 BT 堆栈实现中。
Printing via Bluetooth on Android is not possible as of now (as per my knowledge), as Android does not support Bluetooth 'Profiles', such as BPP (Basic Printing Profile), HCRP (Hardcopy Replacement Profile), BIP (Basic Imaging Profile) etc. which are the common profiles used with Bluetooth Printing. Ref. this to know about Printing BT profiles.
Currently, Android supports OPP (Object Push Profile) which is used to send files over Bluetooth and perhaps even A2DP.
To have Bluetooth profiles implemented within the Bluetooth Stack for Android, you can refer Sybase-iAnywhere-Blue-SDK-for-Android, which provides an SDK to add this functionality to the existing BT stack implementation on Android.
您也可以使用 datecs 打印机:http://www.datecs.bg/en(查找 SDK )。有很多打印机、读卡器等。
You can use a datecs printer too: http://www.datecs.bg/en (look for SDK). There are many printers, card readers, etc.