KhairoHumsi / Printer-ktx

Useful library to help Android developers to print with (Bluetooth, TCP, USB) ESC/POS thermal printers.
35 stars 5 forks source link

Bytecode print #4

Open iAmAndroidDeveloper opened 2 years ago

iAmAndroidDeveloper commented 2 years ago

@KhairoHumsi @mohammadKhairHumsi

I have receipt formatted byte code array that i pass Bluetooth printer and work perfect any idea how should i used same thing with your library without convert your side(i means your TAG) just simple i pass byte array to printer for print

KhairoHumsi commented 2 years ago

I believe that you should convert your text to bitmap to print it in this library, And unfortunately I don't have a printer know but once I get one I'll try check your point

iAmAndroidDeveloper commented 2 years ago

@KhairoHumsi accept graphic printer take long time to print any image so i just want to send byte array to printer after successfully connection, so i want to reduce rest of process like create formatted receipt and convert it to byte with library