Zebra Technologies Technical Support CBT Global Printing (Unicode) Original 08/26/05 Updated 11/3/2015
Global printing / Unicode Hardware – PAX Series V60.14.0 or greater 105SL Xi Series Z Series S4M V50.14.0 or greater All later printers Vxx.14.0 or greater
What is Unicode?
Unicode UNICODE.ORG link The Unicode Standard Defines: Unicode Character Set Encodes all characters for all languages of the world Character Encoding Forms UTF-32, UTF-16, UTF-8 By the numbers: 96,382 characters defined in version 4.0.1 UNICODE.ORG link
Unicode
Unicode
What it isn’t Not a Font! (Requires a Unicode capable font to be loaded on printer!!!) Swiss 721 Link to KA1078 with details ANDALE (Available on CDs) Link to KA9537 with details
Zebra fonts Swiss721 Andale Pan European languages including Arabic and Hebrew Factory installed in flash for EMEA printers Available on the Support and Downloads Page Andale Pan European languages plus CJKV (Chinese, Japanese, Korean, Vietnamese) Thai Indic languages Currently available on CDs
A simple script ^XA^CI0 ^FO0,0^A0,50,50^FDHELLO WORLD!^FS ^XZ ^CI= Change international font (0 = USA 1) NEW VALUES ^CI28 ^CI29 ^CI30
ZPL Examples (^CI ) ^CI28=Unicode (UTF-8 encoding) – Unicode Character Set ^CI29=Unicode (UTF-16 Big-Endian encoding) – Unicode Character Set ^CI30=Unicode (UTF-16 Little-Endian encoding) – Unicode Character Set Latin Character “A” Byte sequence UTF-8 41 UTF-16 BE 00 41 UTF-16 LE 41 00
Vietnamese example ^XA^CI28^CW1,E:ANMDJ.TTF ^FO0,100^A1,50,50^FDHELLO WORLD!^FS ^FO0,200^A1,50,50^FDViệt ngữ ^FS ^XZ Note: ^CI28 command being used (UTF-8) ^CW command specifying the ANMDJ font that is stored in E: memory
Global Printing Example Unicode UTF-8 ^XA^CW1,E:ANMDJ.TTF^CI28 ^FO20,100^A1,50,50^FD日本語/한국어/简体中文/斏體中文^FS ^FO20,250^A1,50,50^FDQuốc ngữ/English/ภาษาไทย^FS ^XZ
Global Printing Example Unicode UTF-16 BE ^XA^CW1,E:ANMDJ.TTF^CI29 ^FO100,100^A1,50,50^FDHello World!^FS ^FO100,200^A1,50,50^F8^FD ユニコード^FS ^XZ
Global Printing Example Unicode UTF-16 LE ^XA^CW1,E:ANMDJ.TTF^CI30 ^FO20,100^A1,50,50^FD日本語/한국어/简体中文/斏體中文^FS ^FO20,250^A1,50,50^FDQuốc ngữ/English/ภาษาไทย^FS ^XZ
Global Printing Example Field Hexadecimal Note the number of hex bytes representing each character!!! ^XA^CW1,E:ANMDJ.TTF^CI29 ^FO100,100^A1,100,100^FH/^FD/00/48/00/65/00/6C/00/6C/00/6F/00/21^FS ^XZ ^CI29 = UTF16 BE each character two bytes ^XA^CW1,E:ANMDJ.TTF^CI0 ^FO100,100^A1,100,100^FH+^FD+48+65+6C+6C+6F+21^FS ^CI0=Single Byte Encoding - U.S.A. 1 Character Set
H e l l o ! HEX VALUES ^CI29 UTF16-BE ^XA^CW1,E:ANMDJ.TTF^CI29 ^FO100,100^A1,100,100^FH/^FD/00/48/00/65/00/6C/00/6C/00/6F/00/21^FS ^XZ characters represented by 6 hex pairs H e l l o ! 0048 0065 006C 006C 006F 0021 Where can one find these values??? www.unicode.org
^FP command ZPL commands ^FPV^FDHello ^FPR^FDHELLO ^FPH^FDHello OLLEH
ZPL commands Justification Options Field Origin ^FOx,y,z New parameter for justification (z) Left justified Right justified Auto justification (script dependent)
ZPL commands Justification Options Field Typeset ^FTx,y,z New parameter for justification (z) Left justified Right justified Auto justification (script dependent)
^CI Parameters: a = desired character set Accepted Values: 0 =USA 1 2 = U.K. 3 = Holland 4 = Denmark/Norway 5 = Sweden/Finland 6 = Germany 7 = France 1 8 = France 2 9 = Italy 10 = Spain 11 = miscellaneous 12 = Japan 13 = IBM Code Page 850 14 =Double Asian encodings 15 =Shift-JIS 16 =EUC-JP 17 =Unicode 24 =Single byte encodings 26 =Asian with ASCII Transparency 28 =UTF-8 29 =UTF-16BE 30 =UTF-16LE
Unicode info. www.unicode.org