Bluetooth serial + IPL


#1

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:

https://ionicframework.com/docs/native/bluetooth-serial/

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?


#2

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.


#3

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