Skip to content

mPop How to print in Arabic? #49

Open
@deepakasatech

Description

@deepakasatech

How to print in Arabic? I used this code

let twoInchReceipt: CommandsArray = [];
  twoInchReceipt.push({appendEncoding:'UTF-8'});
  twoInchReceipt.push({appendCodePage:'1001'});  
 
    twoInchReceipt.push({appendAlignment: this.starprnt.AlignmentPosition.Center});
    twoInchReceipt.push({appendMultiple:"TCCS\n", width:3, height:3});
   
    twoInchReceipt.push({append:"شكرا شكرا شكرا شكرا شكرا شكرا شكرا شكرا شكرا \n\n"});

But I got a different language. It's not Arabic.

Screenshot 2020-10-18 at 1 12 41 PM

Please let me know, What Should I use Encoding and CodePage or any other settings I need to apply?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions