ZPL 命令参考与速查表

更新于 2026年9月6日

ZPL 指令与标签上的文字、条码、二维码和方框元素之间的对应关系

本文是常用 ZPL II 命令的实用参考,涵盖格式结构、文字、字体、条码、图形和打印机控制。所有位置和尺寸均以 打印机点为单位(203 dpi = 8 点/毫米——参见 什么是 ZPL?了解基础知识)。语法列中的参数说明:x,y= 距左上角的位置, h,w= 高度和宽度,o= 方向(N 正常,R 90°,I 180°,B 270°)。

标签格式

标签格式
命令语法功能说明
^XA^XA标签格式开始。每个标签均以此命令开头。
^XZ^XZ标签格式结束。打印机收到此命令后渲染并打印标签。
^FX^FXcomment注释——打印机忽略。与其他字段一样以 ^FS 结尾。
^PW^PWwidth打印宽度(点)。设置为标签宽度,防止字段被裁切。
^LL^LLlength标签长度(点)。主要用于连续(无间距)介质。
^LH^LHx,y标签原点——偏移所有后续 ^FO 位置的起点。
^PQ^PQqty打印数量——此标签打印多少份副本。
^PR^PRspeed打印速度(英寸/秒)。较慢的速度通常打印更深、更清晰。
^MD^MDdarkness介质深度调整,范围 -30 至 30。打印浅淡时适当调高。

字段与文字

字段与文字
命令语法功能说明
^FO^FOx,y字段原点——将下一字段定位在距标签原点 x,y 点处。
^FD^FDdata字段数据——当前字段的内容(文字或条码数据)。
^FS^FS字段分隔符——关闭当前字段。每个字段后均需使用。
^FB^FBwidth,lines,space,align字段块——将 ^FD 文字排版成块:最大宽度、最大行数、行间距、对齐方式(L/C/R/J)。
^FR^FR字段反色——在与黑色区域重叠处将字段打印为黑底白字。
^FH^FH字段十六进制——允许在 ^FD 中使用 _xx 十六进制转义,例如 _C3_A9 表示 é。
^CI^CIencoding字符集;^CI28 选择 UTF-8,推荐用于任何非 ASCII 文字。

字体

字体
命令语法功能说明
^A^Afo,h,w下一字段的字体:字体字母 f(0–9, A–Z)、方向、高度和宽度(点)。^A0N,40,40 表示默认可缩放字体,高度 40 点。
^CF^CFf,h,w更改所有后续未设置 ^A 的字段的默认字体。
^A@^A@o,h,w,name使用打印机上存储的字体文件(例如已下载的 TrueType 字体)。

字体 0 是可缩放矢量字体,通常为首选;字体 A–H 是固定大小的位图字体,只在其原生尺寸或整数倍时效果正常。

ZPL 字体:^A 命令、内置字体与示例 →

条码

条码
命令语法功能说明
^BY^BYw,r,h条码字段默认值:模块(窄条)宽度(点)、宽窄比、默认高度。在条码命令之前设置。
^BC^BCo,h,f,g,e,mCode 128——物流行业最常用的一维条码。f=Y 打印人类可读行,g=Y 将其打印在条码上方。
^B3^B3o,e,h,f,gCode 39——部分工业和国防规范仍要求使用的较旧一维码制。
^BE^BEo,h,f,gEAN-13 零售条码(UPC-A 请使用 ^BU)。
^BQ^BQa,model,mag,ecQR 码。放大倍数 1–10 设置模块大小;ec 设置纠错等级(H/Q/M/L)。数据前需加编码模式前缀,例如 ^FDQA,https://…
^BX^BXo,h,s,c,r,fData Matrix——广泛应用于电子产品和医疗标签的紧凑型二维码。
^B7^B7o,h,m,c,r,tPDF417——用于证件和部分物流单据的堆叠式二维码。

条码尺寸因码制而异。使用 ^BY 设置模块宽度、宽窄比和高度,然后按照适用的码制、承运商或行业规范确定最小尺寸和静区。预览不能替代使用生产扫描器和介质对实物打印结果进行验证。

图形

图形
命令语法功能说明
^GB^GBw,h,t,c,r图形方框:宽度、高度、边框厚度、颜色(B/W)、圆角程度 0–8。细 ^GB 即可绘制线条。
^GC^GCd,t,c图形圆形,直径 d,边框厚度 t。
^GD^GDw,h,t,c,o在 w×h 方框内绘制图形斜线;o 设置方向(L 或 R)。
^GF^GFa,b,c,d,data图形字段——将位图(如徽标)以十六进制或二进制数据直接嵌入标签。
~DG~DGd:name,t,w,data下载图形——将图像存储到打印机,然后通过 ^XG 调用。
^XG^XGd:name,mx,my在当前字段原点处调用已存储的图形,并设置 x/y 放大倍数。

打印机控制与状态

打印机控制与状态
命令语法功能说明
~HS~HS主机状态——打印机返回缺纸、暂停、缓冲区和里程计信息。
~HI~HI主机识别——型号、固件版本、DPI 和内存。
^MM^MMmode打印模式:T 撕离,P 剥离,R 回卷,C 切割。
^MN^MNtype介质检测:Y 间隙/网格检测,M 黑标检测,N 连续。
~JC~JC运行介质校准(打印机进给几张标签以找到间隙)。
~JA~JA取消打印机缓冲区中的所有标签格式。
^JUS^JUS将当前设置保存到闪存,断电后不丢失。

所有 ZPL 命令

文本与字体

^A Scalable/Bitmapped Font

^Afo,h,w

预览取决于参数和资源。渲染限制会显示在源码旁。

Built-in fonts use published cell metrics with bundled replacement outlines; their glyph shapes can differ from printer firmware. N/J/L use local Noto fonts. Embedded TrueType fonts load locally; fonts stored only on a printer are unavailable.

f
Font identifier
o
Orientation
h
Character height in dots
w
Character width in dots
参数参考 ↗

^A0 Scalable Font 0

^A0o,h,w

预览取决于参数和资源。渲染限制会显示在源码旁。

Built-in fonts use published cell metrics with bundled replacement outlines; their glyph shapes can differ from printer firmware. N/J/L use local Noto fonts. Embedded TrueType fonts load locally; fonts stored only on a printer are unavailable.

o
Orientation
h
Character height in dots
w
Character width in dots
参数参考 ↗

^A@ Use Font Name to Call Font

^A@o,h,w,d:f.x

预览取决于参数和资源。渲染限制会显示在源码旁。

Built-in fonts use published cell metrics with bundled replacement outlines; their glyph shapes can differ from printer firmware. N/J/L use local Noto fonts. Embedded TrueType fonts load locally; fonts stored only on a printer are unavailable.

o
Orientation
h
Character height in dots
w
Character width in dots
d
Storage device
f
Font filename
x
Filename extension
参数参考 ↗

^CF Change the Alphanumeric Default Font

^CFf,h,w

预览取决于参数和资源。渲染限制会显示在源码旁。

Built-in fonts use published cell metrics with bundled replacement outlines; their glyph shapes can differ from printer firmware. N/J/L use local Noto fonts. Embedded TrueType fonts load locally; fonts stored only on a printer are unavailable.

f
specified default font
h
individual character height (in dots)
w
Default character width in dots
参数参考 ↗

^CI Change International Font/Encoding

^CIa,s1,d1,s2,d2,...

预览取决于参数和资源。渲染限制会显示在源码旁。

a
Character encoding
s1
First output character
d1
First input character
s2
Second output character
d2
Second input character
参数参考 ↗

^CW Font Identifier

^CWa,d:o.x

预览取决于参数和资源。渲染限制会显示在源码旁。

Built-in fonts use published cell metrics with bundled replacement outlines; their glyph shapes can differ from printer firmware. N/J/L use local Noto fonts. Embedded TrueType fonts load locally; fonts stored only on a printer are unavailable.

a
letter of existing font to be substituted, or new font to be added
d
device to store font in (optional)
o
name of the downloaded font to be substituted for the built- in, or as an additional font
x
Font file extension
参数参考 ↗

^FL Font Linking

^FL<ext>,<base>,<link>

预览取决于参数和资源。渲染限制会显示在源码旁。

Resources must be defined in this source document. The preview cannot read files from printer memory.

ext
Extension font
base
Base font
link
Link or unlink (1 or 0)
参数参考 ↗

^HT Host Linked Fonts List

^HT

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^LF List Font Links

^LF

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^PA Advanced Text Properties

^PAa,b,c,d

预览取决于参数和资源。渲染限制会显示在源码旁。

Missing-glyph, bidirectional ordering, contextual shaping and OpenType feature switches apply locally. The missing-glyph marker is a consistent hollow box; a custom font’s proprietary .notdef outline may differ.

a
default glyph
b
bidirectional text layout
c
character shaping
d
OpenType table support
参数参考 ↗

^SE Select Encoding Table

^SEd:o.x

此命令无法在本地预览。原始 ZPL 会保留。

d
location of encoding table
o
name of encoding table
x
Encoding filename extension
参数参考 ↗

^TB Text Blocks

^TBa,b,c

预览取决于参数和资源。渲染限制会显示在源码旁。

a
block rotation
b
block width in dots
c
block height in dots
参数参考 ↗

条码

^B0 Aztec Barcode Parameters

^B0a,b,c,d,e,f,g

预览取决于参数和资源。渲染限制会显示在源码旁。

Single Aztec symbols and runes are rendered. Structured append is not rendered.

a
orientation
b
magnification factor
c
extended channel interpretation code indicator
d
error control and symbol size/type indicator
e
menu symbol indicator
f
number of symbols for structured append
g
optional ID field for structured append
参数参考 ↗

^B1 Code 11 Barcode

^B1o,e,h,f,g

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
e
check digit
h
barcode height (in dots)
f
print interpretation line
g
print interpretation line above code
参数参考 ↗

^B2 Interleaved 2 of 5 Bar Code

^B2o,h,f,g,e,j

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
h
bar code height (in dots)
f
print interpretation line
g
print interpretation line above code
e
calculate and print Mod 10 check digit
参数参考 ↗

^B3 Code 39 Barcode

^B3o,e,h,f,g

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
e
Mod-43 check digit
h
bar code height (in dots)
f
print interpretation line
g
print interpretation line above code
参数参考 ↗

^B4 Code 49 Barcode

^B4o,h,f,m

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
h
height multiplier of individual rows
f
print interpretation line
m
starting mode
参数参考 ↗

^B5 Planet Code Barcode

^B5o,h,f,g

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation code
h
barcode height (in dots)
f
interpretation line
g
determines if the interpretation line is printed above the barcode
参数参考 ↗

^B7 PDF417 Bar Code

^B7o,h,s,c,r,t

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
h
bar code height for individual rows (in dots)
s
security level
c
number of data columns to encode
r
number of rows to encode
t
truncate right row indicators and stop pattern
参数参考 ↗

^B8 EAN-8 Barcode

^B8o,h,f,g

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
h
bar code height (in dots)
f
print interpretation line
g
print interpretation line above code
参数参考 ↗

^B9 UPC-E Barcode

^B9o,h,f,g,e

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
h
barcode height (in dots)
f
print interpretation line
g
print interpretation line above code
e
print check digit
参数参考 ↗

^BA Code 93 Barcode

^BAo,h,f,g,e

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
h
bar code height (in dots)
f
print interpretation line
g
print interpretation line above code
e
print check digit
参数参考 ↗

^BB CODABLOCK Barcode

^BBo,h,s,c,r,m

预览取决于参数和资源。渲染限制会显示在源码旁。

Codablock F is rendered. Codablock A and E are not rendered.

o
orientation
h
bar code height for individual rows (in dots)
s
security level
c
number of characters per row (data columns)
r
number of rows to encode
m
mode
参数参考 ↗

^BC Code 128 Barcode (Subsets A, B, and C)

^BCo,h,f,g,e,m

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
h
barcode height (in dots)
f
print interpretation line
g
print interpretation line above code
e
UCC check digit
m
mode
参数参考 ↗

^BD UPS MaxiCode Bar Code

^BDm,n,t

预览取决于参数和资源。渲染限制会显示在源码旁。

m
mode
n
symbol number
t
total number of symbols
参数参考 ↗

^BE EAN-13 Barcode

^BEo,h,f,g

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
h
barcode height (in dots)
f
print interpretation line
g
print interpretation line above code
参数参考 ↗

^BF MicroPDF417 Barcode

^BFo,h,m

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
h
bar code height (in dots)
m
mode
参数参考 ↗

^BI Industrial 2 of 5 Bar Codes

^BIo,h,f,g

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
h
bar code height (in dots)
f
print interpretation line
g
print interpretation line above code
参数参考 ↗

^BJ Standard 2 of 5 Bar Code

^BJo,h,f,g

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
h
Barcode height (in dots)
f
print interpretation line
g
print interpretation line above code
参数参考 ↗

^BK ANSI Codabar Bar Code

^BKo,e,h,f,g,k,l

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
e
check digit
h
Barcode height (in dots)
f
print interpretation line
g
print interpretation line above code
k
designates a start character
l
designates stop character
参数参考 ↗

^BL LOGMARS Barcode

^BLo,h,g

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
h
Barcode height (in dots)
g
print interpretation line above code
参数参考 ↗

^BM MSI Bar Code

^BMo,e,h,f,g,e2

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
e
check digit selection
h
Barcode height (in dots)
f
print interpretation line
g
print interpretation line above code
e2
inserts check digit into the interpretation line
参数参考 ↗

^BO Aztec Bar Code Parameters

^BOa,b,c,d,e,f,g

预览取决于参数和资源。渲染限制会显示在源码旁。

Single Aztec symbols and runes are rendered. Structured append is not rendered.

a
orientation
b
magnification factor
c
extended channel interpretation code indicator
d
error control and symbol size/type indicator
e
menu symbol indicator
f
number of symbols for structured append
g
optional ID field for structured append
参数参考 ↗

^BP Plessey Barcode

^BPo,e,h,f,g

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
e
print check digit
h
barcode height (in dots)
f
print interpretation line
g
print interpretation line above code
参数参考 ↗

^BQ QR Code Barcode

^BQa,b,c,d,e

预览取决于参数和资源。渲染限制会显示在源码旁。

a
field orientation
b
model
c
magnification factor
d
error correction
e
mask value
参数参考 ↗

^BR GS1 Databar (formerly Reduced Space Symbology)

^BRa,b,c,d,e,f

预览取决于参数和资源。渲染限制会显示在源码旁。

a
orientation
b
symbology type in the GS1 DataBar family
c
magnification factor
d
separator height
e
Barcode height
f
the segment width (GS1 DataBar Expanded only)
参数参考 ↗

^BS UPC/EAN Extensions

^BSo,h,f,g

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
h
Barcode height (in dots)
f
print interpretation line
g
print interpretation line above code
参数参考 ↗

^BT TLC39 Barcode

^BTo,w1,r1,h1,w2,h2

此命令无法在本地预览。原始 ZPL 会保留。

TLC39 composite rendering is not available in the local preview.

o
orientation
w1
width of the Code 39 bar code
r1
wide to narrow bar width ratio the Code 39 bar code
h1
height of the Code 39 bar code
h2
row height of the MicroPDF417 bar code
w2
narrow bar width of the MicroPDF417 bar code
参数参考 ↗

^BU UPC-A Barcode

^BUo,h,f,g,e

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
h
Barcode height (in dots)
f
print interpretation line
g
print interpretation line above code
e
Include check digit in text
参数参考 ↗

^BX Data Matrix Barcode

^BXo,h,s,c,r,f,g,a

预览取决于参数和资源。渲染限制会显示在源码旁。

ECC 200 Data Matrix is rendered. Legacy ECC 000–140 is not rendered.

o
orientation
h
dimensional height of individual symbol elements
s
quality level
c
columns to encode
r
rows to encode
f
format ID (0 to 6)
g
escape sequence control character
a
Square or rectangular symbol
参数参考 ↗

^BY Bar Code Field Default

^BYw,r,h

预览取决于参数和资源。渲染限制会显示在源码旁。

w
Narrow module width in dots
r
Wide to narrow bar ratio
h
Default barcode height in dots
参数参考 ↗

^BZ Postal Barcode

^BZo,h,f,g,t

预览取决于参数和资源。渲染限制会显示在源码旁。

o
orientation
h
Barcode height (in dots)
f
print interpretation line
g
print interpretation line above code
t
Postal code type
参数参考 ↗

字段

^FB Field Block

^FBa,b,c,d,e

预览取决于参数和资源。渲染限制会显示在源码旁。

a
width of text block line (in dots)
b
maximum number of lines in the text block
c
add or delete space between lines (in dots)
d
text justification
e
hanging indent (in dots) of the second and remaining lines
参数参考 ↗

^FC Field Clock

^FCa,b,c

预览取决于参数和资源。渲染限制会显示在源码旁。

Date and time fields use the local preview clock. A printer clock may produce different values.

a
primary clock indicator character
b
secondary clock indicator character
c
third clock indicator character
参数参考 ↗

^FD Field Data

^FDa

预览取决于参数和资源。渲染限制会显示在源码旁。

a
Field contents
参数参考 ↗

^FE Field Concatenation

^FEa

预览取决于参数和资源。渲染限制会显示在源码旁。

a
Field concatenation delimiter
参数参考 ↗

^FH Field Hexadecimal Indicator

^FHa

预览取决于参数和资源。渲染限制会显示在源码旁。

a
hexadecimal indicator
参数参考 ↗

^FM Multiple Field Origin Locations

^FMx1,y1,x2,y2,...

预览取决于参数和资源。渲染限制会显示在源码旁。

PDF417 and MicroPDF417 split into linked symbols only when needed. Excluded origins retain their segment indexes; too few origins or insufficient macro capacity suppress the group.

x1
x-axis location of first symbol (in dots)
y1
y-axis location of first symbol (in dots)
x2
x-axis location of second symbol (in dots)
y2
y-axis location of second symbol (in dots) …
参数参考 ↗

^FN Field Number

^FN#"a"

预览取决于参数和资源。渲染限制会显示在源码旁。

#
Field number
a
Optional prompt
参数参考 ↗

^FO Field Origin

^FOx,y,z

预览取决于参数和资源。渲染限制会显示在源码旁。

x
x-axis location (in dots)
y
y-axis location (in dots)
z
Field justification
参数参考 ↗

^FP Field Parameter

^FPd,g

预览取决于参数和资源。渲染限制会显示在源码旁。

d
direction
g
additional inter- character gap (in dots)
参数参考 ↗

^FR Field Reverse Print

^FR

预览取决于参数和资源。渲染限制会显示在源码旁。

无参数。

参数参考 ↗

^FS Field Separator

^FS

预览取决于参数和资源。渲染限制会显示在源码旁。

无参数。

参数参考 ↗

^FT Field Typeset

^FTx,y,z

预览取决于参数和资源。渲染限制会显示在源码旁。

x
x-axis location (in dots)
y
y-axis location (in dots)
z
Field justification
参数参考 ↗

^FV Field Variable

^FVa

预览取决于参数和资源。渲染限制会显示在源码旁。

a
variable field data to be printed
参数参考 ↗

^FW Field Orientation

^FWr,z

预览取决于参数和资源。渲染限制会显示在源码旁。

r
rotate field
z
Default justification
参数参考 ↗

^FX Comment

^FXc

预览取决于参数和资源。渲染限制会显示在源码旁。

c
non-printing comment
参数参考 ↗

^SF Serialization Field (with a Standard ^FD String)

^SFa,b

预览取决于参数和资源。渲染限制会显示在源码旁。

The source preview shows the initial value. Batch export applies the serialization mask to each output copy.

a
mask string
b
increment string
参数参考 ↗

^SN Serialization Data

^SNv,n,z

预览取决于参数和资源。渲染限制会显示在源码旁。

The source preview shows the initial serial value. Batch export applies increments to each output copy.

v
starting value
n
increment or decrement value
z
add leading zeros (if needed)
参数参考 ↗

图形

^GB Graphic Box

^GBw,h,t,c,r

预览取决于参数和资源。渲染限制会显示在源码旁。

w
box width (in dots)
h
box height (in dots)
t
border thickness (in dots)
c
line color
r
Corner rounding, 0–8
参数参考 ↗

^GC Graphic Circle

^GCd,t,c

预览取决于参数和资源。渲染限制会显示在源码旁。

d
circle diameter (in dots)
t
border thickness (in dots)
c
line color
参数参考 ↗

^GD Graphic Diagonal Line

^GDw,h,t,c,o

预览取决于参数和资源。渲染限制会显示在源码旁。

w
box width (in dots)
h
box height (in dots)
t
border thickness (in dots)
c
line color
o
orientation (direction of the diagonal)
参数参考 ↗

^GE Graphic Ellipse

^GEw,h,t,c

预览取决于参数和资源。渲染限制会显示在源码旁。

w
ellipse width (in dots)
h
ellipse height (in dots)
t
border thickness (in dots)
c
line color
参数参考 ↗

^GF Graphic Field

^GFa,b,c,d,data

预览取决于参数和资源。渲染限制会显示在源码旁。

a
compression type
b
binary byte count
c
graphic field count
d
bytes per row
data
data
参数参考 ↗

^GS Graphic Symbol

^GSo,h,w

预览取决于参数和资源。渲染限制会显示在源码旁。

Symbols A–E, including UL and CSA approval marks, use local vector representations. Their outlines can differ from printer bitmap glyphs.

o
field orientation
h
character height proportional to width (in dots)
w
Symbol width in dots
参数参考 ↗

标签布局

^LH Label Home

^LHx,y

预览取决于参数和资源。渲染限制会显示在源码旁。

x
x-axis position (in dots)
y
Vertical label origin in dots
参数参考 ↗

^LL Label Length

^LLy,x

预览取决于参数和资源。渲染限制会显示在源码旁。

y
Label length in dots
x
Apply to all media types
参数参考 ↗

^LR Label Reverse Print

^LRa

预览取决于参数和资源。渲染限制会显示在源码旁。

a
reverse print all fields
参数参考 ↗

^LS Label Shift

^LSa

预览取决于参数和资源。渲染限制会显示在源码旁。

a
shift left value (in dots)
参数参考 ↗

^LT Label Top

^LTx

预览取决于参数和资源。渲染限制会显示在源码旁。

x
label top (in dot rows)
参数参考 ↗

^MU Set Units of Measurement

^MUa,b,c

预览取决于参数和资源。渲染限制会显示在源码旁。

a
units
b
format base in dots per inch
c
desired dots-per- inch conversion
参数参考 ↗

^PM Printing Mirror Image of Label

^PMa

预览取决于参数和资源。渲染限制会显示在源码旁。

a
print mirror image of entire label
参数参考 ↗

^PO Print Orientation

^POa

预览取决于参数和资源。渲染限制会显示在源码旁。

a
invert the label 180 degrees
参数参考 ↗

^PW Print Width

^PWa

预览取决于参数和资源。渲染限制会显示在源码旁。

a
label width (in dots)
参数参考 ↗

^XA Start Format

^XA

预览取决于参数和资源。渲染限制会显示在源码旁。

无参数。

参数参考 ↗

^XZ End Format

^XZ

预览取决于参数和资源。渲染限制会显示在源码旁。

无参数。

参数参考 ↗

文件与内存

^CM Change Memory Letter Designation

^CMa,b,c,d

预览取决于参数和资源。渲染限制会显示在源码旁。

a
memory alias for B:
b
memory alias for E:
c
memory alias for R:
d
memory alias for A:
参数参考 ↗

^CO Cache On

^COa,b,c

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
cache on
b
amount of additional memory to be added to cache (in K)
c
cache type
参数参考 ↗

~DB Download Bitmap Font

~DBd:o.x,a,h,w,base,space,#char,c,data

此命令无法在本地预览。原始 ZPL 会保留。

d
drive to store font
o
name of font
x
extension
a
orientation of native font
h
maximum height of cell (in dots)
w
maximum width of cell (in dots)
base
dots from top of cell to character baseline
space
width of space or non-existent characters
#char
number of characters in font
data
structured ASCII data that defines each character in the font
参数参考 ↗

~DE Download Encoding

~DEd:o.x,s,data

此命令无法在本地预览。原始 ZPL 会保留。

d
location of table
o
name of table
x
extension
s
table size
data
data string
参数参考 ↗

^DF Download Format

^DFd:o.x

预览取决于参数和资源。渲染限制会显示在源码旁。

Resources must be defined in this source document. The preview cannot read files from printer memory.

d
device to store the image
o
image name
x
ZPL filename extension
参数参考 ↗

~DG Download Graphics

~DGd:o.x,t,w,data

预览取决于参数和资源。渲染限制会显示在源码旁。

Resources must be defined in this source document. The preview cannot read files from printer memory.

d
device to store the image
o
image name
x
extension
t
total number of bytes in the graphic
w
number of bytes per row
data
ASCII hexadecimal string defining image
参数参考 ↗

~DN Abort Download Graphic

~DN

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~DS Download Intellifont (Scalable Font)

~DSd:o.x,s,data

此命令无法在本地预览。原始 ZPL 会保留。

d
device to store image
o
image name
x
extension
s
size of font in bytes
data
ASCII hexadecimal string that defines font
参数参考 ↗

~DT Download Bounded TrueType Font

~DTd:o.x,s,data

此命令无法在本地预览。原始 ZPL 会保留。

d
font location
o
font name
x
extension
s
font size
data
data string
参数参考 ↗

~DU Download Unbounded TrueType Font

~DUd:o.x,s,data

预览取决于参数和资源。渲染限制会显示在源码旁。

Resources must be defined in this source document. The preview cannot read files from printer memory.

d
font location
o
font name
x
extension
s
font size
data
data string
参数参考 ↗

~DY Download Objects

~DYd:f,b,x,t,w,data

预览取决于参数和资源。渲染限制会显示在源码旁。

Resources must be defined in this source document. The preview cannot read files from printer memory.

d
file location .NRD and .PAC files reside on E: in firmware versions V60.15.x, V50.15.x, or later.
f
file name
b
format downloaded in data field .TTE and .TTF are only supported in firmware versions V60.14.x, V50.14.x, or later.
x
extension of stored file
t
total number of bytes in file
w
total number of bytes per row
data
data
参数参考 ↗

~EG Erase Download Graphics

~EG

预览取决于参数和资源。渲染限制会显示在源码旁。

无参数。

参数参考 ↗

^HF Host Format

^HFd,o,x

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

d
device to recall image
o
image name
x
extension
参数参考 ↗

^HG Host Graphic

^HGd:o.x

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

d
Storage device
o
Graphic name
x
Extension
参数参考 ↗

^HW Host Directory List

^HWd:o.x

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

d
location to retrieve object listing
o
object name
x
extension
参数参考 ↗

^HY Upload Graphics

^HYd:o.x

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

d
location of object
o
object name
x
extension
参数参考 ↗

^ID Object Delete

^IDd:o.x

预览取决于参数和资源。渲染限制会显示在源码旁。

d
location of stored object
o
object name
x
Filename extension
参数参考 ↗

^IL Image Load

^ILd:o.x

预览取决于参数和资源。渲染限制会显示在源码旁。

Resources must be defined in this source document. The preview cannot read files from printer memory.

d
location of the stored object
o
object name
x
extension
参数参考 ↗

^IM Image Move

^IMd:o.x

预览取决于参数和资源。渲染限制会显示在源码旁。

Resources must be defined in this source document. The preview cannot read files from printer memory.

d
location of stored object
o
object name
x
extension
参数参考 ↗

^IS Image Save

^ISd:o.x,p

预览取决于参数和资源。渲染限制会显示在源码旁。

Resources must be defined in this source document. The preview cannot read files from printer memory.

d
location of the stored object
o
object name
x
extension
p
print image after storing
参数参考 ↗

^TO Transfer Object

^TOs:o.x,d:o.x

预览取决于参数和资源。渲染限制会显示在源码旁。

s
source device of stored object
o
stored object name
x
extension
d
destination device of the stored object
参数参考 ↗

^WD Print Directory Label

^WDd:o.x

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

d
source device
o
object name
x
extension
参数参考 ↗

^XF Recall Format

^XFd:o.x

预览取决于参数和资源。渲染限制会显示在源码旁。

Resources must be defined in this source document. The preview cannot read files from printer memory.

d
source device of stored image
o
name of stored image
x
extension
参数参考 ↗

^XG Recall Graphic

^XGd:o.x,mx,my

预览取决于参数和资源。渲染限制会显示在源码旁。

Resources must be defined in this source document. The preview cannot read files from printer memory.

d
source device of stored image
o
name of stored image
x
extension
mx
magnification factor on the x-axis
my
magnification factor on the y-axis
参数参考 ↗

介质

^CN Cut Now

^CNa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
Cut Mode Override
参数参考 ↗

^CP Remove Label

^CPa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
kiosk present mode
参数参考 ↗

~JC Set Media Sensor Calibration

~JC

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~JG Graphing Sensor Calibration

~JG

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~JL Set Label Length

~JL

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^JS Sensor Select

^JSa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
sensor selection
参数参考 ↗

~JS Change Backfeed Sequence

~JSb

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

b
backfeed order in relation to printing
参数参考 ↗

^JW Set Ribbon Tension

^JWt

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

t
tension
参数参考 ↗

^MD Media Darkness

^MDa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
media darkness level
参数参考 ↗

^MF Media Feed

^MFp,h

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

p
feed action at power-up
h
feed action after closing printhead
参数参考 ↗

^ML Maximum Label Length

^MLa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
maximum label length (in dot rows)
参数参考 ↗

^MM Print Mode

^MMa,b

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
desired mode
b
Prepeel option
参数参考 ↗

^MN Media Tracking

^MNa,b

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
media being used
b
black mark offset in dots
参数参考 ↗

^MT Media Type

^MTa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
media type used
参数参考 ↗

^PF Slew Given Number of Dot Rows

^PF#

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

#
Dot rows to advance
参数参考 ↗

^PH Slew to Home Position

^PH

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~PH Slew to Home Position

~PH

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~PL Present Length Addition

~PLa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
additional eject length
参数参考 ↗

^PN Present Now

^PNa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
media eject length
参数参考 ↗

~SD Set Darkness

~SD##

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

##
Darkness level
参数参考 ↗

^SI Set Sensor Intensity

^SIa,b

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
indicates the setting to modify
b
the value to use for the sensor being configured
参数参考 ↗

^SS Set Media Sensors

^SSw,m,r,l,m2,r2,a,b,c

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

w
web (3-digit value)
m
media (3-digit value)
r
ribbon (3-digit value)
l
label length (in dots, four-digit value)
m2
intensity of media LED (3-digit value)
r2
intensity of ribbon LED (3-digit value)
a
mark sensing (3-digit value)
b
mark media sensing (3-digit value)
c
mark LED sensing (3-digit value)
参数参考 ↗

~TA Tear-off Adjust Position

~TA###

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

###
Tear-off position in dots
参数参考 ↗

^XB Suppress Backfeed

^XB

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^XS Set Dynamic Media Calibration

^XSlength,threshold

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

length
dynamic length calibration
threshold
dynamic threshold calibration
参数参考 ↗

打印

~JA Cancel All

~JA

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~JP Pause and Cancel Format

~JP

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~JX Cancel Current Partially Input Format

~JX

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^JZ Reprint After Error

^JZa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
reprint after error
参数参考 ↗

^MC Map Clear

^MCa

预览取决于参数和资源。渲染限制会显示在源码旁。

a
map clear
参数参考 ↗

^PP Programmable Pause

^PP

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~PP Programmable Pause

~PP

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^PQ Print Quantity

^PQq,p,r,o,e

预览取决于参数和资源。渲染限制会显示在源码旁。

The source preview shows one label. Batch export includes the requested copies within its page limit.

q
total quantity of labels to print
p
pause and cut value (labels between pauses)
r
replicates of each serial number
o
override pause count
e
cut on error label (RFID void is an error label) o parameter is set to Y, the printer cuts but does not pause,
参数参考 ↗

~PR Applicator Reprint

~PR

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^PR Print Rate

^PRp,s,b

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

p
print speed
s
slew speed
b
backfeed speed
参数参考 ↗

~PS Print Start

~PS

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^SP Start Print

^SPa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
dot row to start printing
参数参考 ↗

状态与诊断

~HB Battery Status

~HB

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~HD Head Diagnostic

~HD

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^HH Configuration Label Return

^HH

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~HI Host Identification

~HI

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~HM Host RAM Status

~HM

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~HQ Host Query

~HQquery-type

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

query-type
Requested report
参数参考 ↗

~HS Host Status Return

~HS

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~HU Return ZebraNet Alert Configuration

~HU

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^HV Host Verification

^HV#,n,h,t,a

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

n
number of bytes to be returned
h
header to be returned with the data
t
termination
a
command applies to
参数参考 ↗

^HZ Display Description Information

^HZb

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

b
display description to return
参数参考 ↗

~JD Enable Communications Diagnostics

~JD

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~JE Disable Diagnostics

~JE

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~JN Head Test Fatal

~JN

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~JO Head Test Non-Fatal

~JO

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^JT Head Test Interval

^JT####,a,b,c

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
manually select range of elements to test
b
first element to check when parameter a is Y
c
last element to check when parameter a is Y
参数参考 ↗

~WC Print Configuration Label

~WC

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~WQ Write Query

~WQquery-type

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

query-type
Requested query
参数参考 ↗

打印机设置

^CC Change Caret

^CCx

预览取决于参数和资源。渲染限制会显示在源码旁。

x
caret character change
参数参考 ↗

~CC Change Caret

~CCx

预览取决于参数和资源。渲染限制会显示在源码旁。

x
caret character change
参数参考 ↗

^CD Change Delimiter

^CDa

预览取决于参数和资源。渲染限制会显示在源码旁。

a
delimiter character change
参数参考 ↗

~CD Change Delimiter

~CDa

预览取决于参数和资源。渲染限制会显示在源码旁。

a
delimiter character change
参数参考 ↗

^CT Change Tilde

^CTa

预览取决于参数和资源。渲染限制会显示在源码旁。

a
change control command character
参数参考 ↗

~CT Change Tilde

~CTa

预览取决于参数和资源。渲染限制会显示在源码旁。

a
change control command character
参数参考 ↗

^CV Code Validation

^CVa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
code validation
参数参考 ↗

^JB Initialize Flash Memory

^JBa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
device to initialize
参数参考 ↗

~JB Reset Optional Memory

~JB

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~JF Set Battery Condition

~JFp

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

p
pause on low voltage
参数参考 ↗

^JH Early Warning Settings

^JHa,b,c,d,e,f,g,h,i,j

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
Media or supplies warning
b
Labels per roll
c
Media replaced
d
Ribbon length
e
Ribbon replaced
f
Maintenance warning
g
Printhead cleaning interval
h
Printhead cleaned
i
Printhead life threshold
j
Printhead replaced
参数参考 ↗

^JI Start ZBI (Zebra BASIC Interpreter)

^JId:o.x,b,c,d

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

d
location of program to run after initialization
o
name of program to run after initialization
x
extension of program to run after initialization
b
console control
c
echoing control
参数参考 ↗

~JI Start ZBI (Zebra BASIC Interpreter)

~JI

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^JJ Set Auxiliary Port

^JJa,b,c,d,e,f

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
operational mode for auxiliary port
b
application mode
c
application mode start signal print
d
application label error mode
e
reprint mode
f
ribbon low mode
参数参考 ↗

^JM Set Dots per Millimeter

^JMn

预览取决于参数和资源。渲染限制会显示在源码旁。

n
set dots per millimeter
参数参考 ↗

~JQ Terminate Zebra BASIC Interpreter

~JQ

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~JR Power On Reset

~JR

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^JU Configuration Update

^JUa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
active configuration
参数参考 ↗

~KB Kill Battery (Battery Discharge Mode)

~KB

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^KD Select Date and Time Format (for Real Time Clock)

^KDa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
value of date and time format
参数参考 ↗

^KL Define Language

^KLa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
Printer display language
参数参考 ↗

^KN Define Printer Name

^KNa,b

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
printer name
b
printer description
参数参考 ↗

^KP Define Password

^KPa,b

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
mandatory four-digit password
b
password level (applicable to the S4M printer only)
参数参考 ↗

^KV Kiosk Values

^KVa,b,c,d,e

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
kiosk cut amount
b
kiosk cut margin
c
kiosk present type
d
kiosk present timeout
e
presenter loop length
参数参考 ↗

^MA Set Maintenance Alerts

^MAtype,print,printlabel_threshold,frequency,units

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

type
type of alert
print
determines if the alert prints a label printlabel
threshold
the distance where the first alert occurs
frequency
distance before reissuing the alert
units
odometer and printhead maintenance commands
参数参考 ↗

^MI Set Maintenance Information Message

^MItype,message

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

type
identifies the type of alert
message
message that prints on the label when a maintenance alert occurs
参数参考 ↗

^MP Mode Protection

^MPa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
mode to protect
参数参考 ↗

^MW Modify Head Cold Warning

^MWa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
Enable cold printhead warning
参数参考 ↗

~PM Decommissioning Mode

~PMa,b

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
Printer serial number
b
Erase pass count
参数参考 ↗

~RO Reset Advanced Counters

~ROc

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

c
Counter number
参数参考 ↗

^SC Set Serial Communications

^SCa,b,c,d,e,f

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
baud rate
b
word length (in data bits)
c
parity
d
stop bits
e
protocol mode
f
Zebra protocol
参数参考 ↗

^SL Set Mode and Language (for Real-Time Clock)

^SLa,b

预览取决于参数和资源。渲染限制会显示在源码旁。

The preview formats one label at a time, using the selected date language. Queue-time clock updates are not simulated.

a
mode
b
Clock language
参数参考 ↗

^SO Set Offset (for Real-Time Clock)

^SOa,b,c,d,e,f,g

预览取决于参数和资源。渲染限制会显示在源码旁。

Offsets apply to the preview clock only.

a
clock set
b
months offset
c
days offset
d
years offset
e
hours offset
f
minutes offset
g
seconds offset
参数参考 ↗

^SQ Halt ZebraNet Alert

^SQa,b,c

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
condition type
b
destination
c
halt messages
参数参考 ↗

^SR Set Printhead Resistance

^SR####

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

####
Printhead resistance
参数参考 ↗

^ST Set Date and Time (for Real-Time Clock)

^STa,b,c,d,e,f,g

预览取决于参数和资源。渲染限制会显示在源码旁。

Sets a clock value within this preview only. It does not change the computer or printer clock.

a
month
b
day
c
year
d
hour
e
minute
f
second
g
format
参数参考 ↗

^SX Set ZebraNet Alert

^SXa,b,c,d,e,f

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
condition type
b
destination for route alert
c
enable condition set alert to this destination
d
enable condition clear alert to this destination
e
destination setting
f
port number
参数参考 ↗

^SZ Set ZPL Mode

^SZa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
ZPL version
参数参考 ↗

^ZZ Printer Sleep

^ZZt,b

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

t
number of second (idle time) prior to shutdown
b
label status at shutdown
参数参考 ↗

网络

^KC Set Client Identifier (Option 61)

^KCa,b,c,d

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
enable or disable
b
device
c
prefix (optional)
d
Client identifier
参数参考 ↗

^NB Search for Wired Print Server during Network Boot

^NBa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
check for wired print server at boot time
参数参考 ↗

^NC Select the Primary Network Device

^NCa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
primary network device
参数参考 ↗

~NC Network Connect

~NC###

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

###
Network identifier
参数参考 ↗

^ND Change Network Settings

^NDa,b,c,d,e,f,g,h,i,j

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
the device that is being modified
b
IP resolution
c
IP address
d
subnet mask
e
default gateway
f
WINS server address
g
connection timeout checking
h
timeout value
i
ARP broadcast interval
j
base raw port number
参数参考 ↗

^NI Network ID Number

^NI###

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

###
Network identifier
参数参考 ↗

^NN Set SNMP

^NNa,b,c,d,e,f

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
system name
b
system contact
c
system location
d
get community name
e
set community name
f
trap community name
参数参考 ↗

^NP Set Primary/Secondary Device

^NPa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
device to use as primary
参数参考 ↗

~NR Set All Network Printers Transparent

~NR

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^NS Change Wired Networking Settings

^NSa,b,c,d,e,f,g,h,i

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
IP resolution
b
IP address
c
subnet mask
d
default gateway
e
WINS server address
f
connection timeout checking
g
timeout value
h
ARP broadcast interval
i
base raw port number
参数参考 ↗

^NT Set SMTP

^NTa,b

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
SMTP server address
b
print server domain
参数参考 ↗

~NT Set Currently Connected Printer Transparent

~NT

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^NW Set Web Authentication Timeout Value

^NWa

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
timeout value
参数参考 ↗

^WA Set Antenna Parameters

^WAa,b

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
receive antenna
b
transmit antenna
参数参考 ↗

^WE Set WEP Mode

^WEa,b,c,d,e,f,g,h

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
encryption mode
b
encryption index
c
authentication type
d
encryption key storage
参数参考 ↗

^WL Set LEAP Parameters

^WLa,b,c

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
mode
b
user name
c
password
参数参考 ↗

~WL Print Network Configuration Label

~WL

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^WP Set Wireless Password

^WPa,b

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
old wireless password
b
new wireless password
参数参考 ↗

^WR Set Transmit Rate

^WRa,b,c,d,e

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
rate 1
b
rate 2
c
rate 5.5
d
rate 11
e
transmit power
参数参考 ↗

~WR Reset Wireless Radio Card and Print Server

~WR

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^WS Set Wireless Radio Card Values

^WSe,o,p,h,i,j,k

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

e
ESSID value
o
operating mode
p
wireless radio card preamble
h
wireless pulse
i
wireless pulse interval
j
channel mask
k
international mode
参数参考 ↗

^WX Configure Wireless Securities

^WXa,[supporting parameters]

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
security type
i
user ID*
m
Key Distribution Center (KDC)*
n
Pre-Shared Key (PSK) value*
参数参考 ↗

RFID

^HL Return RFID Data Log to Host

^HL

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

~HL Return RFID Data Log to Host

~HL

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

无参数。

参数参考 ↗

^HR Calibrate RFID Tag Position

^HRa,b,c,d,e,f,g,h,i

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
start string
b
end string
c
start position
d
end position
e
antenna and read/write power level detection
f
start of read/ write power range
g
end of read/write power range
h
start of antenna range
i
end of antenna range
参数参考 ↗

^RB Define EPC Data Structure

^RBn,p0,p1,p2, ..., p15

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

n
Total EPC bit count
p0
First partition size
p1
Second partition size
p15
Last partition size
参数参考 ↗

^RF Read or Write RFID Format

^RFo,f,b,n,m

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

o
Read or write operation
f
Data representation
b
Password or starting block
n
Byte count
m
Memory bank
参数参考 ↗

^RL Lock/Unlock RFID Tag Memory

^RLP | ^RLB,s,n | ^RLM,k,a,e,u

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

s
Starting section
n
Section count
k
Kill password lock
a
Access password lock
e
EPC memory lock
u
User memory lock
参数参考 ↗

^RS Set Up RFID Parameters

^RSt,p,v,n,e,a,c,s

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

t
RFID tag type
p
Tag programming position
v
Void label length
n
Retry label count
e
Error action
a
Applicator signal mode
c
Reserved
s
Void label print speed
参数参考 ↗

^RU Read Unique RFID Chip Serialization

^RUa,b

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

a
Prefix
b
Special character
参数参考 ↗

^RW Set RF Power Levels for Read and Write

^RWr,w,a

打印机命令。保留在 ZPL 中供打印机执行;不在此预览中绘制标签内容。

r
read power
w
write power
a
RFID antenna element selection
参数参考 ↗

综合示例

一个使用上述大部分命令组的典型 4×6 物流标签:

^XA
^PW812
^LL1218
^CI28
^CF0,32

^FO40,40^FDSHIP TO:^FS
^FO40,80^A0N,44,44^FDAcme Industries^FS
^FO40,130^FD500 Warehouse Way^FS
^FO40,170^FDSpringfield, IL 62701^FS

^FO40,230^GB732,3,3^FS

^FO40,260^FDOrder #A-10592 / 3 of 4^FS

^BY3,2,120
^FO140,320^BCN,120,Y,N,N^FD4210159200083^FS
^XZ

在查看器中打开此示例(新标签页)

手动编辑点坐标很快就会令人厌烦——每次调整布局都需要修改数字并重新打印。如果您更希望将字段拖放到位并让 ZPL 自动生成,ZPLCraft 编辑器可将可视画布编译为正是这种干净的 ZPL 代码,并支持 通过兼容的浏览器到打印机 USB 路径发送 ZPL,前提是浏览器、操作系统和打印机提供可占用的接口。

资料来源