Bluetooth serial + IPL

I am developing an application with ionic 3 and the final objective is that I can print a receipt on a thermal printer (intermec pb21), the plugin I am using is serial Bluetooth:

I can print text from the application perfectly, but I need to print a barcode which can be developed with the language (IPL), does anyone know how I can use this language from the application or a way to print the image of the code?

IPL looks a lot like the AT command set that we used to use with serial modems back in the 1980s. So I would think that you could just follow a guide like this one to figure out the necessary IPL syntax and then just throw it at the BLE plugin’s write() method.

it is tried but the printer does not recognize the language and prints the code nothing more.