没有合适的资源?快使用搜索试试~ 我知道了~
首页斑马打印机EPL2语言开发手册
资源详情
资源评论
资源推荐

Manual No. 980352-001 Rev.B
©2002 ZIH Corp.
EPL2
Programmer’s
Manual
Programming for Page Mode
Printing

FOREWORD
This manual provides programming information for printers featuring Zebra’s EPL2 Pro
-
gramming and command language, which are manufactured by Zebra Technologies Corpora
-
tion, Camarillo, California.
COPYRIGHT NOTICE
This document contains information proprietary to Zebra Technologies Corporation. This docu
-
ment and the information contained within is copyrighted by Zebra Technologies Corporation
and may not be duplicated in full or in part by any person without written approval from Zebra.
While every effort has been made to keep the information contained within current and accurate
as of the date of publication, no guarantee is given or implied that the document is error-free or
that it is accurate with regard to any specification. Zebra reserves the right to make changes, for the
purpose of product improvement, at any time.
TRADEMARKS
Zebra and EPL2 are trademarks of Zebra Technologies Corporation. All other marks are
trademarks or registered trademarks of their respective holders.
REVISION HISTORY
Rev. A - This manual version coincides with Zebra printers with EPL2 firmware version 4.04 and
is available from Zebra in electronic form.
Rev. B - This manual version coincides with Zebra printers with EPL2 firmware version 4.18 and
is available from Zebra in electronic form.
See the Zebra web site for information on Zebra Technologies printers at: www.zebra.com
ii
980352-001 Rev.B

Table of Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . 1-1
Command Conventions . . . . . . . . . . . . . . . . 1-2
Basic Command Syntax . . . . . . . . . . . . . . . . 1-3
Command Editor. . . . . . . . . . . . . . . . . . . . 1-3
Placing Elements in the Print Image . . . . . . . . . . 1-4
Text (Fonts) . . . . . . . . . . . . . . . . . . . . . . 1-5
Bar Codes . . . . . . . . . . . . . . . . . . . . . . . 1-7
Programming Sequences Affect Graphic Results . . . . 1-8
Printer Configuration . . . . . . . . . . . . . . . . . 2-1
Printer AutoSense Feature . . . . . . . . . . . . . . . 2-1
Determining Printer Firmware Version . . . . . . . . . 2-2
Programming Mode Configuration . . . . . . . . . . . 2-3
Media Detection . . . . . . . . . . . . . . . . . . . . 2-4
Command Reference . . . . . . . . . . . . . . . . . 3-1
A
Command - ASCII Text . . . . . . . . . . . . . . . . . . . 3-4
Asian Character Font Sets . . . . . . . . . . . . . . . 3-8
AUTOFR
Command - Automatic Form Printing . . . . . . . 3-9
B Command - Bar Code . . . . . . . . . . . . . . . . . . . 3-11
b Command - 2D Bar Code - MaxiCode Specific Options . . 3-16
b Command - 2D Bar Code - PDF417 Specific Options . . . 3-20
C Command - Counter . . . . . . . . . . . . . . . . . . . . 3-27
C Command - Cut Immediate . . . . . . . . . . . . . . . . 3-29
D Command - Density . . . . . . . . . . . . . . . . . . . . 3-30
dump Command - Enable Dump Mode . . . . . . . . . . . 3-31
eR Command - User Defined Error/Status Character . . . . 3-32
EI Command - Print Soft Font Information . . . . . . . . . . 3-33
EK Command - Delete Soft Font . . . . . . . . . . . . . . . 3-34
ES Command - Store Soft Font . . . . . . . . . . . . . . . . 3-35
f Command - Cut Position . . . . . . . . . . . . . . . . . . 3-40
FE Command - End Form Store . . . . . . . . . . . . . . . 3-41
FI Command - Print Form Information . . . . . . . . . . . . 3-42
FK Command - Delete Form . . . . . . . . . . . . . . . . . 3-43
FR Command - Retrieve Form . . . . . . . . . . . . . . . . 3-44
FS Command - Store Form . . . . . . . . . . . . . . . . . . 3-45
GG Command - Print Graphics . . . . . . . . . . . . . . . 3-47
GI Command - Print Graphics Information . . . . . . . . . . 3-48
GK Command - Delete Graphics . . . . . . . . . . . . . . . 3-49
GM Command - Store Graphics . . . . . . . . . . . . . . . 3-50
GW Command - Direct Graphic Write . . . . . . . . . . . . 3-52
980352-001 Rev.B
iii

I Command - Character Set Selection . . . . . . . . . . . . . 3-53
JB Command - Disable Top Of Form Backup . . . . . . . . . . 3-55
JF Command - Enable Top Of Form Backup . . . . . . . . . . 3-56
LE Command - Line Draw Exclusive . . . . . . . . . . . . . . 3-57
LO Command - Line Draw Black . . . . . . . . . . . . . . . . 3-58
LS Command - Line Draw Diagonal . . . . . . . . . . . . . . . 3-59
LW Command - Line Draw White . . . . . . . . . . . . . . . . 3-60
M Command - Memory Allocation . . . . . . . . . . . . . . . 3-61
N Command - Clear Image Buffer . . . . . . . . . . . . . . . 3-62
o Command - Cancel Software Options . . . . . . . . . . . . 3-63
oB Command - Cancel Auto Bar Code Optimization . . . . . . 3-64
oE Command - Line Mode Font Substitution . . . . . . . . . . 3-65
oH Command - Macro PDF Offset . . . . . . . . . . . . . . . 3-66
oM Command - Disable Initial Esc Sequence Feed . . . . . . . 3-68
oR Command - Character Substitution (Euro) . . . . . . . . . . 3-69
oW Command - Customize Bar Code Parameters . . . . . . . 3-71
O Command - Hardware Options . . . . . . . . . . . . . . . . 3-73
OEPL1 Command - Set Line Mode . . . . . . . . . . . . . . . 3-75
P Command - Print . . . . . . . . . . . . . . . . . . . . . . . 3-76
PA Command - Print Automatic . . . . . . . . . . . . . . . . . 3-77
q Command - Set Label Width . . . . . . . . . . . . . . . . . 3-78
Q Command - Set Form Length . . . . . . . . . . . . . . . . 3-80
r Command - Set Double Buffer Mode . . . . . . . . . . . . . 3-84
R Command - Set Reference Point . . . . . . . . . . . . . . . 3-85
S Command - Speed Select . . . . . . . . . . . . . . . . . . 3-86
TD Command - Define Date Layout . . . . . . . . . . . . . . . 3-87
TS Command - Set Real Time Clock . . . . . . . . . . . . . . 3-88
TT Command - Define Time Layout . . . . . . . . . . . . . . 3-89
U Command - Print Configuration (General) . . . . . . . . . . 3-90
UA Command - Enable Clear Label Counter Mode . . . . . . . 3-91
UB Command - Reset Label Counter Mode . . . . . . . . . . . 3-92
UE Command - External Font Information Inquiry . . . . . . . 3-93
UF Command - Form Information Inquiry . . . . . . . . . . . . 3-94
UG Command - Graphics Information Inquiry . . . . . . . . . 3-95
UI Command - Host Prompts/Codepage Inquiry . . . . . . . . 3-96
UM Command - Codepage & Memory Inquiry . . . . . . . . . 3-97
UN Command - Disable Error Reporting . . . . . . . . . . . . 3-98
UP Command - Codepage & Memory Inquiry/Print . . . . . . . 3-99
UQ Command - Configuration Inquiry . . . . . . . . . . . . 3-100
US Command - Enable Error Reporting . . . . . . . . . . . . 3-101
U% Command - Host Promts/Motor Temperature . . . . . . . 3-103
U$ Command - Host Prompts/Battery Status . . . . . . . . . 3-104
iv
980352-001 Rev.B

V Command - Define Variable . . . . . . . . . . . . . . . 3-105
W Command - Windows Mode . . . . . . . . . . . . . . . 3-107
xa Command - AutoSense . . . . . . . . . . . . . . . . . 3-108
X Command - Box Draw . . . . . . . . . . . . . . . . . . 3-109
Y Command - Serial Port Setup . . . . . . . . . . . . . . . 3-110
Z Command - Print Direction . . . . . . . . . . . . . . . 3-111
? Command - Download Variables . . . . . . . . . . . . . 3-112
^@ Command - Reset Printer . . . . . . . . . . . . . . . 3-113
^ee Command - Error Report - Immediate . . . . . . . . 3-114
Appendix A - Character References . . . . . . . . . . A-1
Resident Fonts 1-5 . . . . . . . . . . . . . . . . . . . A-1
Default Character Map Code Page - 437. . . . . . . . A-2
Dump Mode Character Map . . . . . . . . . . . . . . A-3
Appendix B - Cash Drawer Kicker Option . . . . . . . B-1
Introduction . . . . . . . . . . . . . . . . . . . . . . B-1
Cash Drawer Cable Wiring. . . . . . . . . . . . . . . B-2
<Esc>p
Command - Generate Pulse CDK . . . . . . . . . . B-3
<Esc>u Command - CDK Status . . . . . . . . . . . . . . . B-4
980352-001 Rev.B
v
剩余139页未读,继续阅读









安全验证
文档复制为VIP权益,开通VIP直接复制

评论0