https://github.com/barisatalay/thermalprinterhelper
I don't have a thermal printer , I am just wrapping blindly
refer to this link to know more about how to use this library
bluetoothhelper
Author: SMM
Version: 0.01
add these lines to your manifest file
sorry no screenshots
If you enjoyed this wrap , please consider a donation
My aim is to use the simplest way to print from a Bluetooth printer.
I don't have a thermal printer , I am just wrapping blindly
refer to this link to know more about how to use this library
bluetoothhelper
Author: SMM
Version: 0.01
- BluetoothProvider
- Events:
- _onbegin
- _onerror (errorMessage As String)
- _onerrorimportant (errorMessage As String)
- _onsuccessful
- Fields:
- DEFAULT_SETTINGS As Byte()
- FEED_LINE As Byte()
- FEED_LINE_2 As Byte()
- DEFAULT_SETTINGS As Byte()
- Functions:
- connect
- Initialize (EventName As String)
- IsInitialized As Boolean
- prepareTestData As String
- printByteArray (data As Byte())
- printImageText (base64image As String)
- printText (text As String)
- showPrinterListActivity (arg As Boolean)
- connect
- Properties:
- DeviceAddress As String [write only]
- DeviceAddress As String [write only]
- Events:
add these lines to your manifest file
B4X:
AddApplicationText(<activity android:name="com.atalay.bluetoothhelper.View.PrinterList.PrinterListActivity"/>)
AddApplicationText(<activity android:name="com.karumi.dexter.DexterActivity"/>)
AddPermission(android.permission.ACCESS_FINE_LOCATION)
AddPermission(android.permission.BLUETOOTH)
AddPermission(android.permission.BLUETOOTH_ADMIN)
sorry no screenshots
If you enjoyed this wrap , please consider a donation