How can I print unicode? Korean is not printable.
Closed this issue · 1 comments
chanjungkim commented
I tested with
Future<List<int>> customEscPos() async {
final profile = await CapabilityProfile.load();
final generator = Generator(PaperSize.mm58, profile);
List<int> bytes = [];
bytes += generator.text(
'Regular: aA bB cC dD eE fF gG hH iI jJ kK lL mM nN oO pP qQ rR sS tT uU vV wW xX yY zZ');
...
This is printable.
Future<List<int>> customEscPos() async {
final profile = await CapabilityProfile.load();
final generator = Generator(PaperSize.mm58, profile);
List<int> bytes = [];
bytes += generator.text(
'Regular: aA bB cC dD eE fF gG hH iI jJ kK lL mM nN oO pP qQ rR sS tT uU vV wW xX yY zZ 안녕');
...
is not printable.
Do you support unicode?
I tested with PosStyles(codeTable: 'CP850')
and also PosStyles(codeTable: 'CP1252')
and CP928, CP858, CP874, CP864
. But all of them didn't work.
brasizza commented
Hey @chanjungkim , esc/pos is not the package that i maintain, you can try de print text from the sunmi to see if can print as well.