i have my flutter app that use cpcl commands to communicate with zebra zq220 printer. it works fine but doesn't print € euro symbol
here my function to create cpcl commands
List<String>lst=[];
lst.add("TEXT 4 2 0 80 € 12.9");
//HERE WITH OTHER COMMANDS AND FINALLY
String ss="";
for(int i=0;i<lst.length;++i)
{
ss+="${lst[i]}\r\n"
}
await sendByte(ss);
and here my function to send to my zebra printer
Future<void> sendByte(String scmd) async {
List<BluetoothService> services = await connectDevice!.discoverServices();
for (BluetoothService service in services) {
var characteristics = service.characteristics;
for (BluetoothCharacteristic c in characteristics) {
//here are three encode type that work fine all with zebra printer, but they don't print euro symbol
c.write(gbk.encode(scmd));
//c.write(utf8.encode(scmd));
//c.write(gbk_bytes.encode(scmd));
}
}
}
So could someone help me to find the solution, how to print euro symbol with this?? Thanks in advance Best Regards
You should check the CPCL for Link-OS Enabled Printers manual.
On page 198 it says that - without any codepage change - character 0x80
should be a € sign.