andrey-ushakov / esc_pos_printer

ESC/POS (thermal, receipt) printing for Flutter & Dart
BSD 3-Clause "New" or "Revised" License
351 stars 300 forks source link

Arabic Characters #127

Open omarsawalhah opened 3 years ago

omarsawalhah commented 3 years ago

Hi, I am using this code Uint8List encArabic = await CharsetConverter.encode("windows-1256", "اهلا"); ticket.textEncoded(encArabic, styles: PosStyles(codeTable: PosCodeTable.arabic));

to print Arabic, but rubbish characters are printed.

  1. Is there any chance to choose an Arabic font from assets.
  2. The encoding used in "encode", should match the "PosCodeTable" codepage or it is enough to support Arabic.
  3. How RTL text is printed.
  4. The Arabic characters are splitting, is there any built it solution? Regards, Omar
turkialawlqy commented 3 years ago

+1

DedSecTeam17 commented 2 years ago

+1 we need this to be fixed

iyashiyas commented 2 years ago

any update about this ?

sakAlmahdi commented 2 years ago

+1

mahmoud-haj-ali commented 11 months ago

+1