Printing arabic text using Zebra printer [ZPL]

2019-05-14 22:58发布

问题:

As the title says Is there any option to print the arabic content ZPL Printer.

Thing tried is adding the font and initiate the print

^XA ^FX ^FR ^CF0,40^CI28^FO130,45^FH^FD محاكمة Font file^FS ^XZ

My printer has TT0003M_.TTF font installed but it shows "????" when i tried to print arabic using

^XA^FO50,50^AE:TT0003M_.TTFN,50,50^FDمحاكمة^FS ^XZ

Any idea how to install a font and print the arabic text using ZPL language?

回答1:

^XA^CI28^CW1,E:TT0003M_.TTF^LL130^FS
^PA0,1,1,1
^FO50,50^A1N30,30^FDمحاكمة‏ ^FS
^XZ

Updated this answer to match the other question

Also found this on the Zebra KB - https://km.zebra.com/kb/index?page=content&id=SO6820&actp=RSS