print unicode characters on thermal printer

hi sir how to print unicode characters on thermal printer

Which printer? Link please to the documentation.

thermal printer...which is worked on adfruit library.....

Without inspecting the library i would assume it just print standard chars not wchar_t which is 2 bytes so you wont be able to directly use unicode chars, instead you could just create an extra 128 glyph's in the font file starting from the end of the standard 127 char cutoff point and then phrase the byte value and print the representing glyph. Sounds hard but it is in fact very easy, it will just take you some time to draw all the glyph's to the correct size and text style, FYI i just use paint to create font glyph's and save it as a bitmap then convert that bitmap to a XBMP HEX array.

hi sir how to read unicode characters through serial port..and print the characers in serial monitor....

Link to the thermal printer? If the printer is commanded by telling it where to put the black, you have hope. If it is commanded by telling it what character to print and where on the paper, it may well only accept ASCII characters, and so a different printer would be required.

Serial port is byte based. You have to do all the interpretation of the multi-byte unicode sequences and figure out how to deal with them in your code (probably including figuring out what the character you want looks like so you can tell the printer to print it). There is no native support in Arduino for unicode strings.

You will also probably need to make (probably extensive) modifications to the library to support printing these weird characters.

My impression of this request is that, unless someone else has already figured this out and posted their code/info somewhere, it could easily turn into a huge undertaking.

Note also that if you only want to print the common things, like accented characters and that sort of thing, try sending it the character codes in the high half of ascii and see what it prints out. If this works and gets you the characters that you need, this is way the hell easier.

I think this guy may be a troll. Check out his posts history. Same story every time with a slightly different subject. We are wasting time attempting to answer his questions. He'll be back tomorrow asking "hi sir how to..." about some other random thing.

hi sir how to print the unicode characters on thermal printer

This is your post #39 and you still do not know how to properly ask for help. Not by saying sir but by providing information that will help people to help you.

how to print unicode characters "আপনি কি ডাটা সংরক্ষন করতে চান" on thermal printer.........

Thanks for the information.

And another cross post from @DSMohan. I already warned you that if you did it again I would give you an account suspension. So DSMohan is going to be spending the next 3 days away from the forum. Please follow the forum rules in the future to avoid even longer suspensions.