Open lerasah opened 2 years ago
same problem ....
you cant arabic text draw in canvas object and then you can pass canvas bitmap object to printer. it will be print as a image.
you cant arabic text draw in canvas object and then you can pass canvas bitmap object to printer. it will be print as a image.
Hey Savindu bro - thanks for the reply. I was able to print arabic using a similar gimmick for now, but there are issues like font anti aliasing is not smooth. That's why I wanted to find the issue with the library method. SendBytesToPrinter
also me , faced that issue.
see, image is not smoot, you are correct. these days I am also trying to fix that one.
Printer: Yujin Thermal Printer Windows
Tests done: Printed arabic using Notepad / wordpad/ msword, prints perfect. Printed Arabic characters without codepage, prints question marks.
Thanks.
Code:
(ignore the paper cuts) Korean Characters are "핸 턱한"
this is the method I send it to the printer. I don't think I'm loosing any byte data: