Open SamadDev opened 2 years ago
not support Arabic letter
List bytes = []; final profile = await CapabilityProfile.load(); final generator = Generator( optionprinttype == "58 mm" ? PaperSize.mm58 : PaperSize.mm80, profile); bytes += generator.reset(); Uint8List byteList = await CharsetConverter.encode('CP864', 'عربي'); bytes += generator.textEncoded( byteList, styles: const PosStyles(codeTable: 'CP864', align: PosAlign.right), ); final result = await PrintBluetoothThermal.writeBytes(bytes);
try this
hello I have tried that code but printer print just empty line please help @zhake555
not support Arabic letter