B4X FEED ESC/POS thermal printers showing incorrect Arabic characters

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: ESC\/POS thermal printers showing incorrect Arabic characters است. این موضوع تا کنون 24 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع ESC\/POS thermal printers showing incorrect Arabic characters
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
24
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
I have been using @agraham's for ESC/POS printing for the last few months and it has worked great. Recently I got a client from the Middle East and they want to print Arabic along with English characters.

I understand that you need to set the codepage corresponding to the language you intend to use. This is the codepage manual of the printer my client uses.



According to the printed by the printer, it uses code page by default, which is what is used to display Arabic characters. The data reaches the app via an HTTP request, in JSON string. This is how the Arabic string looks within the app and my client confirms this is the right form.
برای دیدن تصاویر باید ثبت نام کنید


But when the same data is printed via the ESC/POS printer, this is how it looks.

برای دیدن تصاویر باید ثبت نام کنید


I don't know Arabic but visually it looks different and the client confirms the same...



 

عقب
بالا