brasizza / sunmi_printer

BSD 3-Clause "New" or "Revised" License
39 stars 46 forks source link

Right to left the Right text not show more than 10 letters #18

Closed SamadDev closed 1 year ago

SamadDev commented 2 years ago

Right to left the Right text not show more than 10 letters from printRow await SunmiPrinter.printRow(cols: [ ColumnMaker(text: numberOfAmpere, width: 20, align: SunmiPrintAlign.LEFT), ColumnMaker(text: 'ژمارەی ئەمپێر', width: 40,align: SunmiPrintAlign.LEFT), ]);

brasizza commented 2 years ago

@SamadDev can y ou send me a image or something ? as long as i know printRow can't print arabic text

SamadDev commented 2 years ago

printer

SamadDev commented 2 years ago

Dose there any solution please?

brasizza commented 2 years ago

Dose there any solution please?

I don't think there is one. if you see in the official doc here Sunmi official and search the 1.2.7. Print Tables you will see tha't rows are not avaliable in arabic text