ESC/POS Thermal Printer

I am using Android library for ESC/POS Thermal Printer.I am able to print invoice,but on second time it also print new invoice but along with old invoice.
it seems like buffer is not clearing.

Here is the library i am using in android “DantSu/ESCPOS-ThermalPrinter-Android” to print document
Here is link GitHub - DantSu/ESCPOS-ThermalPrinter-Android: Useful library to help Android developpers to print with (Bluetooth, TCP, USB) ESC/POS thermal printer.

May I suggest a different topic for this post? Perhaps Android related? It will gain more visibility and a response.

It’s definitely out of place in Sprite Kit.

Please suggest any forum

Android

@hajiahmad Do you still have issues with this?