在蓝牙打印机上打印

发布于 2024-10-19 11:26:47 字数 369 浏览 1 评论 0原文

我需要在蓝牙打印机上打印。 我已经有一个适用于 Windows 移动平台的程序,该程序通过蓝牙将命令和数据发送到 Zebra RW 420 打印机,使用 Zebra 打印机协议。这只是通过蓝牙发送的流。

现在,我们想在 Android 上执行此操作。我想知道一些基本信息:

  1. 这种类型的打印是否可能/可行(我们很少看到有关 Android 上打印的信息),或者蓝牙仅限于音频和文件传输?
  2. 如何将蓝牙打印机连接到 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:

  1. 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?
  2. How to connect a Bluetooth printer to the Android device.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

未央 2024-10-26 11:26:47

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!

指尖微凉心微凉 2024-10-26 11:26:47

目前在 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.

感情废物 2024-10-26 11:26:47

您也可以使用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文