EPL Programming Guide - ServoPack

嚜激PL Programming

Guide

? 2007 ZIH Corp. The copyrights in this manual and the software and/or firmware in the label printer described

therein are owned by ZIH Corp. Unauthorized reproduction of this manual or the software and/or firmware in the

label printer may result in imprisonment of up to one year and fines of up to $10,000 (17 U.S.C.506). Copyright

violators may be subject to civil liability.

This product may contain EPL?, EPL2?, ZPL?, ZPL II?, and ZebraLink? programs; Element Energy Equalizer?

Circuit; E3?; and Monotype Imaging fonts. Software ? ZIH Corp. All rights reserved worldwide.

ZebraLink and all product names and numbers are trademarks, and Zebra, the Zebra logo, ZPL, ZPL II, Element

Energy Equalizer Circuit, and E3 Circuit are registered trademarks of ZIH Corp. All rights reserved worldwide.

All other brand names, product names, or trademarks belong to their respective holders. For additional trademark

information, please see ※Trademarks§ on the product CD.

Proprietary Statement This manual contains proprietary information of Zebra Technologies Corporation and its

subsidiaries (※Zebra Technologies§). It is intended solely for the information and use of parties operating and

maintaining the equipment described herein. Such proprietary information may not be used, reproduced, or disclosed

to any other parties for any other purpose without the express, written permission of Zebra Technologies Corporation.

Product Improvements Continuous improvement of products is a policy of Zebra Technologies Corporation.

All specifications and designs are subject to change without notice.

Liability Disclaimer Zebra Technologies Corporation takes steps to ensure that its published Engineering

specifications and manuals are correct; however, errors do occur. Zebra Technologies Corporation reserves the right

to correct any such errors and disclaims liability resulting therefrom.

Limitation of Liability In no event shall Zebra Technologies Corporation or anyone else involved in the creation,

production, or delivery of the accompanying product (including hardware and software) be liable for any damages

whatsoever (including, without limitation, consequential damages including loss of business profits, business

interruption, or loss of business information) arising out of the use of, the results of use of, or inability to use such

product, even if Zebra Technologies Corporation has been advised of the possibility of such damages. Some

jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitation

or exclusion may not apply to you.

Part Number: 14245L-001 A

Contents

About This Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

Who Should Use This Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

How This Document Is Organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Contacts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Web Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

The Americas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Europe, Africa, Middle East, and India . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Asia Pacific . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Document Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

16

16

17

17

17

17

17

18

1 ? Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

What*s New in this Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Command Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Basic Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Command Editor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Sending Commands Directly to the Printer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Sending Command Programming Files to the Printer . . . . . . . . . . . . . . . . . . . . . . . .

Transferring files with the Firmware Downloader . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Downloading a File in the DOS Enviroment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Placing Elements in the Print Image. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Text (Fonts) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Language Character Sets (Fonts 1-5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Asian Character Sets (Fonts 8 & 9) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Chinese Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Chinese Fonts 8 & 9 Double-Byte Ideographic Characters . . . . . . . . . . . . . . . . . . . .

Japanese Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Japanese Fonts 8 & 9 Double-Byte Ideographic Characters . . . . . . . . . . . . . . . . . . .

Korean Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Korean Font 8 Double-Byte Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5/30/07

EPL Programming Guide

19

20

20

21

21

23

23

24

25

26

29

29

29

30

30

30

31

31

14245L-001 Rev. A

4

Contents

Bar Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

QR Code Bar Code. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

Programming Sequences Affect Graphic Results. . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

2 ? Printer Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

Explanation of the Status Printout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Determining Printer Firmware Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Programming Mode Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Manually Setting Line Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Media Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

34

35

35

35

36

3 ? EPL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

Memory and Command Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

Command Description Memory Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

A ASCII Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

Variable Data and Counter Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

Data with the RTC Time & Date Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

A Simple Expressions in Data Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46

Asian Character Font Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

AUTOFR Automatic Form Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

B Bar Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

B RSS-14 Bar Code Specific Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

Data with the RTC Time & Date Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58

b 2D Bar Code 每 Aztec Specific Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60

b 2D Bar Code 每 Aztec Mesa Specific Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64

b 2D Bar Code 每 Data Matrix Specific Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

Automatic Data Matrix Bar Code Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

b 2D Bar Code 每 MaxiCode Specific Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

Using AIM Specified MaxiCode Data Formatting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72

b 2D Bar Code 每 PDF417 Specific Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74

PDF 417: General Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

PDF 417 Symbol Geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

Automatic PDF 417 Bar Code Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

b 2D Bar Code 每 QR Code Specific Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

C Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

C Cut Immediate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

D Density . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

dump Enable Dump Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

EI Print Soft Font Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

EK Delete Soft Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

eR User Defined Error/Status Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ES Store Soft Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

14245L-001 Rev. A

EPL Programming Guide

81

83

85

86

87

88

89

90

91

5/30/07

Contents

f Cut Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96

fB Adjust Backup Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97

FE End Form Store . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98

FI Print Form Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99

FK Delete Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100

FR Retrieve Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101

FS Store Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102

GG Print Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103

GI Print Graphics Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104

GK Delete Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105

GM Store Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106

GW Direct Graphic Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108

i Asian Character Spacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109

I Character Set Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110

JB Disable Top Of Form Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112

JC Disable Top Of Form Backup- All Cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113

JF Enable Top Of Form Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114

LE Line Draw Exclusive OR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115

LO Line Draw Black . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116

LS Line Draw Diagonal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117

LW Line Draw White . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118

M Memory Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119

N Clear Image Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120

o Cancel Software Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121

oB Cancel Auto Bar Code Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122

oE Line Mode Font Substitution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123

oH Macro PDF Offset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124

oM Disable Initial Esc Sequence Feed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126

oR Character Substitution (Euro) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127

oW Customize Bar Code Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128

O Hardware Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130

OEPL1 Set Line Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132

Returning to Page Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132

P Print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PA Print Automatic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

q Set Label Width . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Q Set Form Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

r Set Double Buffer Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

R Set Reference Point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

S Speed Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5/30/07

EPL Programming Guide

133

134

135

137

140

141

142

14245L-001 Rev. A

5

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download