Page 145 - ZPL II Programming Guide
P. 145
ZPL Commands 125
~DE
~DE
Download Encoding
Description The standard encoding for TrueType Windows® fonts is always Unicode. The
ZPL II field data must be converted from some other encoding to Unicode that the Zebra
printer understands. The required translation tables are provided with font packs. Some tables
can be downloaded from www.zebra.com.
Format ~DEd:o.x,s,data
This table identifies the parameters for this format:
Parameters Details
d = location of table Accepted Values: R:, E:, B:, and A:
Default Value: R:
o = name of table Accepted Values: any valid name, up to 8 characters
Default Value: if a name is not specified, UNKNOWN is used
x = extension Fixed Value: .DAT
s = table size Accepted Values: the number of memory bytes required to hold
the Zebra downloadable format of the font
Default Value: if an incorrect value or no value is entered, the
command is ignored
data = data string Accepted Values: a string of ASCII hexadecimal values
Default Value: if no data is entered, the command is ignored
Example • This is an example of how to download the required translation table:
~DER:JIS.DAT,27848,300021213001...
(27848 two-digit hexadecimal values)
Comments For more information on ZTools or ZebraNet Bridge, see the program
documentation included with the software.
For assistance with editing or adding mappings to .DAT tables, ZebraNet Bridge includes a
.DAT table editor in the font wizard.
Encoding scheme for the data sent to the printer is the second four character and the encoding
scheme for the font is the first four characters throughout the .DAT file. The data must be
ordered by the second four characters (the encoding table).
9/15/06 ZPL II Programming Guide 45541L-004 Rev. A