ZPL ^FH command doesn't match the right UTF-8 code.

^XA

^A0N90,43^FH^FD_c2_a1

^FS

^XZ

The above ZPL command prints "í" ( small letter i with Acute). But the correct one is "¡" (inverted exclamation) as per the UTF-8 code  "c2a1". It happens with most of other characters.

I would like to print the character "ó" (small letter o with acute). The UTF-8 code for this character is "c3b3". when I use the above utf-8 character code. The printer doesn't print anything at all.

Please let me know what is the Encoding technique that ZPL use to print spanish or special characters.

Brian Moore
Dheeraj,The ZPL code for the


Dheeraj,

The ZPL code for the "ó" is:

^XA

^A0N,90,43^FH^FD_a2

^FS

^XZ

The printer supports Code page 850, which can be found on page 1318 of the ZPL programming guide: https://www.zebra.com/content/dam/zebra/manuals/printers/common/programming/zpl-zbi2-pm-en.pdf

A1 is the inverted exclamation point.

Brian Moore

Software Engineer Kutir Mobility

Posted on behalf of Zebra Technologies

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments