flutterbluetooththermal-printer

How to change Xpriter code page to code page 27?


I'm using print_bluetooth_thermal to connect and print.

Selftest

List<int> command = [27,116,27];
final result = await PrintBluetoothThermal.writeBytes(command);

I can change any code page with this command but when it comes to cp 27, it changes to Thai instead of Vietnamese. I try Android app on Xprinter website to change cp to 27 and it did change to Vietnamese. How can I fix this?


Solution

  • It's kinda weird, I try 28 and it change to Vietnamese, don't really know why but I think this maybe the solution for now.