Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

anand_aks's avatar

Printing Arabic Using MIKE42 php Library

Does anyone manage to print Arabic using the mike42 library?

 	$connector = new NetworkPrintConnector($ip->printer_ip,9100);
 	$printer = new Printer($connector);
	$printer->setJustification(Printer::JUSTIFY_CENTER);	
	$printer->text("TAX INVOICE\n");
	$printer->text("TRN - {$shopdetails->vat_no}\n");
	$printer->bitImage($tux);
	$printer->feed(1);
	$printer->text('اثمخخخ');

I tried but nothing is printing at that place, it is just blank

0 likes
1 reply

Please or to participate in this conversation.