B4A Library ESC/POS Thermal Printer

Hi, I share this ESC/POS Thermal Printer lib, I only tried it with Bluetooth, and to try with USB and TCP and BLE, I didn't have the opportunity to try it, anyway for help https://github.com/DantSu/ESCPOS-ThermalPrinter- Android".
a greeting
 

Attachments

  • ESCPOSThermalPrinter.zip
    22.6 KB · Views: 416
  • Lib.zip
    63.8 KB · Views: 367

amarnath

Member
Licensed User
Longtime User
build tools: 34.0.0, android jar: android-34
Compiling debugger engine code. (8.62s)
Compiling generated Java code. Error
Cannot find: C:\Program Files\Anywhere Software\B4A\libraries\core-3.5.2.jar
 

Xfood

Expert
Licensed User
build tools: 34.0.0, android jar: android-34
Compiling debugger engine code. (8.62s)
Compiling generated Java code. Error
Cannot find: C:\Program Files\Anywhere Software\B4A\libraries\core-3.5.2.jar
try downloading the missing file from here, put it in the additional libraries folder


1730709693872.png
 

Setlodi

Member
Hi, roberto64

Thank you for this library. How do you change the width of the paper. It seems to be set for 58mm paper and I want to see if I can use with my printer which is 80mm.

Thanks
 
Last edited:

vecino

Well-Known Member
Licensed User
Longtime User
You don't have to do anything, you can simply write longer lines, instead of:
print(‘123456789*123456789*123456789*12345’)
you can print more:
print(‘123456789*123456789*123456789*123456789*123456789*12345’)
 
Top