
3
Contents
10/29/2010 Software Integrator Guide P1026208-001 Rev. B
The ZPL Format (Receipt Form or Template) . . . . . . . . . . . . . . . . . . . . . 54
ZPL Format Structure Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Printer Memory Management and Related Status Reporting . . . . . . 61
ZPL Printer Memory Management . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Placing Objects in the Image Map . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Inputting Various Data into ZPL Code and the Printer . . . . . . . . . . . 63
6 • Learning ZPL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
An Example of a Basic Receipt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Basic ZPL Exercises and Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Before you begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
7 • Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Bitmap Graphics and Logos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
ZPL Graphics Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Importing Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Using Graphics in a Receipt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Line Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Simple Line Graphics as Objects: Placement and Order . . . . . . . . 105
8 • Text and Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113
Global Language Script Support . . . . . . . . . . . . . . . . . . . . . . . . . . . .114
Languages Support by ZPL Kiosk Printers . . . . . . . . . . . . . . . . . . . .114
Supported Text Character Encoding Methods . . . . . . . . . . . . . . . . .115
What is Unicode? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115
Selecting Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116
ZPL Font History and Selecting Fonts for Your Application . . . . . . .117
International Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Fonts and Font Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Zebra Technologies Corporation - Font Licensing and Usage Warning 122
Installing Fonts with ZPL Programming . . . . . . . . . . . . . . . . . . . . . 122
ZPL Text Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
ZPL Basic and Global Text Printing Options . . . . . . . . . . . . . . . . . . . . . 125
Designing for Multiple Language and Global Regions . . . . . . . . . . . . . 126
Using the Windows Character Map Utility . . . . . . . . . . . . . . . . . . . . 127
Language and Font Support ZPL Modeling Code Exercises . . . . . 128
9 • Bar Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Bar Code Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Bar Code Orientation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Commentaires sur ces manuels