react-native-bluetooth-escpos-printer icon indicating copy to clipboard operation
react-native-bluetooth-escpos-printer copied to clipboard

Print german special characters

Open christianrank opened this issue 4 years ago • 6 comments

Which encoding / codepage settings do I need to get the german special characters printed? (ä, ö, ü, Ä, Ö, Ü, ß)

christianrank avatar Aug 11 '20 12:08 christianrank

@christianrank Any solution on this? I am looking for a solution from 2 months now

dnyaneshk8 avatar Aug 15 '20 14:08 dnyaneshk8

@dnyaneshk8 No idea, I'm now replacing it with ae, oe, ue, ss. 😞

christianrank avatar Aug 15 '20 15:08 christianrank

@christianrank I found a solution use {encoding: 'Cp1252', codepage: 32}. NOTE - You might need to change codepage according to your printer Check encodings here - https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html

dnyaneshk8 avatar Aug 28 '20 19:08 dnyaneshk8

@christianrank I found a solution use {encoding: 'Cp1252', codepage: 32}. NOTE - You might need to change codepage according to your printer Check encodings here - https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html

Do you have any idea for Hindi Devanagari ?

tanishabedi avatar Dec 30 '21 08:12 tanishabedi

@dnyaneshk8 how did you find the code page?

usman1579 avatar Feb 26 '22 10:02 usman1579

@dnyaneshk8 how did you find the code page?

bro, did you solve that issue? did you find the codepage details?

Oshannk avatar Feb 16 '23 16:02 Oshannk