B4A Library SD EscPos Printer (Lan,USB, Bluetooth SPP, BLE)

Star-Dust

Expert
Licensed User
Longtime User
Update release 1.11

Added ReadDataResponse method to USB_printer class

B4X:
If USBp.FindAdbDevice Then
        If USBp.HasPermission=False Then
            USBp.RequestPermission
            Wait For Activity_Resume
        End If
        USBp.OpenConnection
        USBp.Write_ArrayByte(array as Byte(0x10,0x04,0x04))
        Dim Data() As Byte = USBp.ReadDataResponse
        USBp.CloseConnection
    End If
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…