Zebra KR403 Spezifikationen Seite 83

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 158
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 82
77
Learning ZPL
Basic ZPL Exercises and Examples
10/29/2010 Software Integrator Guide P1026208-001 Rev. B
Exercise 11 This exercise shows you how to import an object (font or graphic) using ZPL.
This exercise works for all supported file types and includes graphics the other typical
object (file data type) that you may import into your kiosk printer.
1. Open the Font folder (located under Control Panels). Verify that the Verdana font is
there, and drag it to your working directory. The font un-installs. Drag the font back to
the Windows Font folder. A copy of the font will remain in your working directory. The
Verdana font has a OpenType symbol (‘O’ icon). Some other fonts have other symbols
for other font types including the other ZPL kiosk printer compatible font type,
TrueType, which are designated with an overlapping ‘TT’ icon.
Note: If the Verdana font is not available choose the Tahoma and replace all instances
of Verdana in this exercise and following exercises.
2. Click on the font file in your working directory and right click. Select Properties. The
version of the Verdana font used in this exercise is 171,792 bytes. Don’t use the ‘file
size on disk’ value.
3. Send this command to the printer immediately followed by the Verdana font (<DATA>):
•The data (
<DATA>) can be sent two different ways:
Two separate files. The first file sent contains
~DY command and
parameters 2-5. The second file sent immediately after it is the font file.
One merged file using code editor capable of encoding binary data with
ASCII or file merging utility or program to concatenate the two file data
strings.
The easiest method for downloading and creating this ZPL font download file is to use
the tool in the ZebraNet Bridge printer management utility.
4. Verify that the font has been downloaded by printing a directory receipt (refer to
Exercise 4 • on page 70).
1
~DY (Download Object) control (~) command
2
Printer memory location where font will be stored.
(
R:= RAM, E:= EPROM, B:= Factory Optional EPROM)
3
The font name (max. 16 characters).
You can specify a different name, i.e. rename it).
4
B = Binary file data (for TrueType fonts).
5
E = TTE OpenType font type or extended or combined fonts;
T = TTF - TrueType (Many fonts will accept either T or E)
6
File Size (to be downloaded). In this example: 171792
7
0 (Zero) a placeholder needed to correctly process fonts
8
<DATA> = The Verdana font file.
~DYE:VERDANA,B,E,171792,0,<DATA>
Seitenansicht 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 157 158

Kommentare zu diesen Handbüchern

Keine Kommentare