B4A Library ThermalPrinterHelper

Discussion in 'Additional libraries, classes and official updates' started by somed3v3loper, Jul 1, 2019.

  1. somed3v3loper

    somed3v3loper Well-Known Member Licensed User

    I don't have a thermal printer , I am just wrapping blindly :D
    refer to this link to know more about how to use this library


    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()
      • 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)
      • Properties:
        • DeviceAddress As String [write only]

    add these lines to your manifest file

    AddApplicationText(<activity android:name="com.atalay.bluetoothhelper.View.PrinterList.PrinterListActivity"/>)
    activity android:name="com.karumi.dexter.DexterActivity"/>)

    sorry no screenshots
    If you enjoyed this wrap , please consider a donation :)

    Attached Files:

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice