The code for button click for arabic printing
private void btnPrintArabic_Click(object sender, EventArgs e)
{
//Just For Display in List
AddList("+Print Arabic");
var source = "على";
var westernLatin = Encoding.GetEncoding(1256);
var arabic = Encoding.GetEncoding(1256);
var bytes = arabic.GetBytes(source);
var result = westernLatin.GetString(bytes); // Uáì
Printer.MapCharacterSet = true;
Printer.CharacterSet = 864;
int nRC = Printer.PrintNormal(2, result);
AddList("Print Arabic = " + nRC);
AddList("-Print Arabic " + ((nRC == (int)OPOS_Constants.OPOS_SUCCESS) ? "Succeeded" : "Failed"));
}
Is there any mistake in what iam doing.I tried for the result for long but even in stack there was no proper answer.Printer opening and closing and normal printing is working fine.Its not working when it comes to other languages
I tried several references but was not able to print arabic
Reference for Other Result
Reference for Opos Manual For Bixilon