CastawayLabs / dart-escpos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CodeTable for ß,ä,ö,ü

emmaxCreative opened this issue · comments

Until now I was using setGlobalCodeTable('CP1252') to print all german characters like äöü but since using your package it does not work anymore. Did the codeTable change somehow or is it not supported anymore?

Should be working the same. The repo has the same code tables as the original

Thats strange. I think I´ll figure it out then.

photo_2021-07-24_09-37-49

Just tested with CP1252 on Epson TM-T20II

I have the same printer but still they are not printing. I think its something on my side but I don´t know where to look. Thanks for testing :)

I figured it out. Somehow the setGlobalCodeTable is not working. If I set the codetable only for a text via PosStyles then its working

@matejkramny would it be possible for you to test it with setGlobalCodeTable?

tested with this minimal code.

ticket.setGlobalCodeTable('CP1252');
      ticket.text('ßÄäÖöÜü € éúóíi');