-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arabic language not support?? #21
Comments
@justinmichaelvieira can u please help me |
You should try making a bitmap and printing that with Arabic characters are not directly supported by this library, so I can't offer more help, and it would take some time to implement. However using If you get it to work well, I would suggest offering a pull request, yourself. |
@Alii-isk take a look at https://github.com/hqbobo/text2pic as it may help you with creating the necessary image. To summarize concisely, you want to:
Technical note: Because the escpos printer language communicates with the ascii character set for text, printing an image is the best we can do if we want it to work on all escpos label printers. Some printers do support changing between "international code tables", which changes the "character set" of the printer, itself (see https://stackoverflow.com/a/63548498/106625 if interested in that). If you need it to print "fast", that may be the better option for you. |
I tried to print something in Arabic but it got printed as random mixed chars
The text was updated successfully, but these errors were encountered: