
51
ZPL Basics
The ZPL Command
10/29/2010 Software Integrator Guide P1026208-001 Rev. B
ZPL Command Structure
Command structure basics:
• A ZPL command consists of two (2) characters proceeded by a tilde (~) or caret (^)
character. The ^ A command (Scalable/Bitmap Font) is the only exception to the two
(2) command character rule at the time of this guides release.
• Many ZPL commands have one or more parameter strings associated with them.
Changing the value of one or more of these parameters affects the outcome of the
printed label.
• Some parameters in the documentation are broken down into sub-
parameters to simplify the parameter descriptions within the programmers
guide. The typical parameter that is broken into sub-parameters is a
reference to an object in one of the printer memory locations.
Figure 5-1 • ZPL Command Structure Examples
^TBN,400,600
^IDE:TT003M_.TTF
^XA – Start Format Command
Caret (^) denotes process in order.
~JA – Cancell All Command
Tilde (~) denotes that the command is
processed immediately.
The Text Block Command
(no sub-parameters)
Parameter Delimiter (,)
c – Height Parameter
b – Width Parameter
a – Rotation Parameter
The Image Delete Command
(a single parameter with
sub-parameters)
x – Extension (name) sub-parameter
o – Object Name sub-parameter
d – Location (memory) sub-parameter
Comentarios a estos manuales