Unable to print arabic EscPosEncoder ionic

Published

const encoder = new EscPosEncoder();
let result = encoder.initialize();
result
.codepage(‘cp864’)
.align(‘center’)
.newline()
.text(‘السلام عليكم’)
.newline()
.cut(‘partial’)
const resultByte = result.encode(‘utf-8’);
this.print2.sendToBluetoothPrinter(this.selectedPrinter, resultByte)

Source: Angular Questions

Published
Categorized as angular, ionic-framework, ionic5 Tagged , ,

Answers

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq