I have to develop an App for Android tablets that demands printing files to a Bluetooth printer. Printing over Bluetooth is one of the most important features of my app. Unfortunately, there's not a lot of information about this subject so I'd like to ask for advice.
As far as I know it's not possible to print over Bluetooth on Android (using native calls), as Android's BT Stack doesn't implement BPP (Basic Printing Profile). Doing a little research I've found the following alternatives:
SDKs/Libraries
Google Play Apps
Ideally I wouldn't want to be tied to a specific brand or printer model. Now the questions:
Thanks in advance for your help ;)
Star Micronics has an SDK for Android printing via Bluetooth (as well as ethernet and USB). You can download it here: http://www.starmicronics.com/support/SDKDocumentation.aspx.
As you mentioned, you can't print natively at this point in time so the alternate solutions you found are your options today.
In my experience, it's best to use an API and not an external application. The biggest reason is you get total control over printer behavior. It's easy too if the API is built intelligently. Using an external app is limiting because you can't customize your print outs the way you want to.
The Star SDK I linked you to has a really nice sample app that lets you test and customize a lot of printer functions to see them in action. Each function is documented in the source code. The commands and their parameters are also available in the app itself as a quick on screen reference which is convenient. On top of all that, it's well documented.
Star's a great company to work with because you can get a free demo printer of your choice to use for your development.
If you choose this way, you can send plain text to the printer along with commands. The API handles converting the data into what the printer can understand.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With