Android: Connecting and Printing to Bixolon SPP-R200

前端 未结 2 1779
栀梦
栀梦 2021-01-02 15:22

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 starte

相关标签:
2条回答
  • 2021-01-02 15:34

    I've been working with this JAR (Dated 2014) that may be help. However, it is possible that the easier solution could be sending ESC sequences via the bluetooth serial port. So, in this point if your are creating a Phonegap App, you can use from this Plugin the Chat sample and send ESC sequences (documentation about printer ESC secuences available too).

    0 讨论(0)
  • 2021-01-02 15:44

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

    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).

    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.

    UPDATE

    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.

    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.

    UPDATE 2

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

    • 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
    0 讨论(0)
提交回复
热议问题