-
Notifications
You must be signed in to change notification settings - Fork 57
Printing in arabic is not working. #50
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
Comments
Hi @mustafa-altai77, unfortunately no. Thanks. |
This can happen due to a mismatch between the ESC/POS character set and the iconv-lite encoding options. (I haven't tested all other languages.) You can specify a custom encoder in the <Printer encoder={(text, charSet) => ...}>
</Printer> |
added support for pc853_turkish, pc720_arabic, pc1098_farsi, pc1118_lithuanian, pc1119_lithuanian, and fixed the typo in pc1125_ukrainian. updated related mappings in encode.ts and commands/characterSet.ts. Possibly related to seokju-na#50.
added support for pc853_turkish, pc720_arabic, pc1098_farsi, pc1118_lithuanian, pc1119_lithuanian, changes were made based on [this document](https://download4.epson.biz/sec_pubs/pos/reference_en/escpos/esc_lt.html). Possibly related to seokju-na#50.
added support for pc853_turkish, pc720_arabic, pc1098_farsi, pc1118_lithuanian, pc1119_lithuanian, changes were made based on [this document](https://download4.epson.biz/sec_pubs/pos/reference_en/escpos/esc_lt.html). possibly related to seokju-na#50.
* fix: add character sets added support for pc853_turkish, pc720_arabic, pc1098_farsi, pc1118_lithuanian, pc1119_lithuanian, changes were made based on [this document](https://download4.epson.biz/sec_pubs/pos/reference_en/escpos/esc_lt.html). possibly related to #50. * fix: add support for PC874 Thai character set Reference: https://github.com/netguycode/citaq/blob/main/printer_spec.md
I'm trying to print Arabic text on a POS printer.
i have tried both "star" and "Epson" types
and i have tested on both
wpc1256_arabic
andpc864_arabic
.Printing in English is working fine. printing images using
<Image src.. />
also works fine.but when I try to print an Arabic text, it shows an unknown character. (not
???
)Printer function:
Printing function
printChunks function:
Printer trigger:
The text was updated successfully, but these errors were encountered: