安卓:连接和打印到BIXOLON SPP-R200 [英] Android: Connecting and Printing to Bixolon SPP-R200

查看:197
本文介绍了安卓:连接和打印到BIXOLON SPP-R200的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想打印到<一个href="http://www.bixolon.de/index.php?option=com_content&view=article&id=34&Itemid=53&lang=de">Bixolon SPP-R200 因为我听说,这是比较容易移动蓝牙打印机设置与Android之一。但是我不知道如何开始。

I would like to print to a Bixolon SPP-R200 as I've heard, it's one of the easier mobile bluetooth printers to set up with android. However I am not sure how to get started.

  1. 我想首先我不得不通过蓝牙连接打印机 - ?我想为这个目的,我求助于原生的Andr​​oid蓝牙API

  1. I guess first I'd have to connect to the printer via bluetooth - I assume for this purpose I resort to the native Android bluetooth API?

我可能需要某种形式的SDK将数据发送到打印机 - 我这里阅读,有一个SDK,但浏览BIXOLON页面还没有产生任何结果(即无SDK) - 我写的支持,但我没想到的答案,任何时间很快...

I'd probably need some kind of SDK to send data to the printer - I read here, that there is an SDK, but browsing the bixolon page has not yielded any results (i.e. no SDK) - I wrote to support, but I am not expecting an answer any time soon...

我想其他的问题,我必须(如:你发送的位图到打印机,你可以在NET CF的吗?)是紧密相连的一个SDK,该打印机 - 如果存在的话...

I guess the other questions I'd have (like: Do you send bitmaps to the printer as you can do in .Net CF?) are tightly linked to an SDK for that printer - if it exists...

推荐答案

好了,因为事实证明,出于支持是快如闪电,并为我提供了一个Android SDK,回答了第二个问题,我有。

Okay, as it turned, out support was lightning fast and provided me with an Android SDK which answers the second question I had.

说SDK附带AA示例项目以及用户手册和SDK的API(不幸的是,SDK的jar文件不包含任何的javadoc ...)。我不得不说的SDK API是......写得不好和缺乏深度,除此之外,有些方法在样本项目中使用不包括在所有(如初始化,我觉得声音比较重要的和强制性... )。然而,当在看样你会得到关于如何使用该SDK的想法。它涵盖了从通过Wifi,USB或蓝牙(其中回答我的第一个问题)进行连接。

Said SDK comes with a a sample project as well as a user manual and an API of the SDK (Unfortunately the SDK jar file contains no javadoc...). I have to say the SDK API is ... poorly written and lacks depth, aside from that, some methods used in the sample project are not covered at all (such as "initialize" which I thought sounds rather important and mandatory...). However when looking at the sample you get an idea about how to use the SDK. It covers everything from connecting via Wifi, USB or bluetooth (which answers my first question).

如果有谁需要帮助的SDK /示例项目,我建议撤去BIXOLON支持家伙是通过电子邮件的 techsupp@bixolon.de 接受最先进的最新SDK。我没有找到BIXOLON网站上的Andr​​oid SDK中!我发现的唯一的SDK进行净相关。

If anyone is in need of the SDK/Sample Project, I suggest dropping the bixolon support guy's an email via techsupp@bixolon.de for receiving the most up-to-date SDK. I did NOT find the android SDK on Bixolon's website! The only SDK I found was .Net related.

更新

在一个附加说明:原来一个不真正需要的SDK。我们甩了SDK,取而代之,创建了两个线程:一个接受连接请求(连接到打印机),另一种,它(一旦连接已经建立)拥有的BluetoothSocket并写入它/从中读取。这具有的优点,我们可以用它与任何移动打印机,因为它不是BIXOLON特异性了。

On an Additional note: Turns out one does not really need the SDK. We dumped the SDK and instead, created two threads: One that accepts connection requests (to connect to the printer) and another one, which (once a connection has been established) has a BluetoothSocket and writes to it/reads from it. This has the advantage, that we can use it with any mobile printer, as it is not Bixolon-specific anymore.

有关更多蓝牙有关的相关信息请查看这个Q&放大器; A 我的记录步骤获得的BIXOLON(和富士通)与Android设备进行通信。

For more Bluetooth-related infos check out this Q&A where I documented the steps to get the Bixolon (and Fujitsu) to communicate with android devices.

更新2

由于我经过这个帖子近日,看着它,这里有一些额外的链接为BIXOLON SPP-R200:

Since I passed by this post recently, and looked it up, here is some additional links for the Bixolon SPP-R200:

  • 下载的BIXOLON SPP-R200 (驱动程序,手册,命令手册等)
  • 产品概述BIXOLON SPP-R220
  • 有一个Q&功放;在BIXOLON网站这里一节。然而,你需要首先创建一个帐户,看看在问答放大器的答案,A部分。如果您键入的搜索框中一些答案弹出机器人 - 然而,因为我没有户口,我没看过他们 - 但它可能是值得一试
  • Downloads for Bixolon SPP-R200 (drivers, manuals, command manuals etc...)
  • Product Overview Bixolon SPP-R220
  • There is a Q&A section in Bixolon's website here. However you need to create an account first to see the answers in the Q&A section. If you type "android" in the search box a few answers pop up - however since I have no account, I did not read them - but it might be worth a shot

这篇关于安卓:连接和打印到BIXOLON SPP-R200的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆