EPL1 LineManual
EPL1 LineManual
Programmer’s
Manual
The scope of the manual is Line Mode print operations and commands. For details concerning
non line mode printing and programming, see the printer's user's manual and the Page Mode
(EPL2) Programmer's manual.
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 Technologies, EPL, EPL2, and Orion 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 EPL firmware version 4.06(or higher) and is available
from Zebra Technologies in electronic form. Line Mode firmware version tracking number is 0.12
(or higher) and is a subset of the EPL firmware.
Rev. B - See Above. Changed the R command length parameter from 99 to 25 mm max..
See the Zebra Technologies web site at: www.zebra.com for an Adobe Acrobat file or call Zebra
Technologies customer service.
INTRODUCTION
Features . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Limitations . . . . . . . . . . . . . . . . . . . . . . . 1-4
Configuration . . . . . . . . . . . . . . . . . . . . . 1-5
Manually Setting Line Mode . . . . . . . . . . . . . . . . 1-5
Printer Settings. . . . . . . . . . . . . . . . . . . . . 1-6
Printer Defaults . . . . . . . . . . . . . . . . . . . . 1-8
Basic Printing
Example of Default Font Character Dot Map . . . . . . . 2-2
Printing Example . . . . . . . . . . . . . . . . . . . . . 2-2
Printer Commands. . . . . . . . . . . . . . . . . . . 2-3
Command Conventions . . . . . . . . . . . . . . . . 2-4
Character Numbering . . . . . . . . . . . . . . . . . 2-5
Basic Command Syntax . . . . . . . . . . . . . . . . 2-5
Command Concatenation . . . . . . . . . . . . . . . 2-6
Basic Line Mode Guidelines . . . . . . . . . . . . . . 2-7
980353-001 Rev.B v
Q? . . . . . . . . . . . . . . . . . . . . . . . . . 3-29
R . . . . . . . . . . . . . . . . . . . . . . . . . . 3-30
S . . . . . . . . . . . . . . . . . . . . . . . . . . 3-31
U . . . . . . . . . . . . . . . . . . . . . . . . . . 3-32
V . . . . . . . . . . . . . . . . . . . . . . . . . . 3-35
v . . . . . . . . . . . . . . . . . . . . . . . . . . 3-36
X . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37
x . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38
? . . . . . . . . . . . . . . . . . . . . . . . . . . 3-39
Appendix B
System Compatibility Features . . . . . . . . . . . . . . . . B-1
Changing Control Function Characters. . . . . . . . . . . . B-2
Resetting the Control Function Characters . . . . . . . . . . B-3
Checking Control Function Code Settings . . . . . . . . . . B-3
Appendix C
Modifying Your Printer For EPL1 Compatibility . . . . . . . C-1
Loading ELP1 Font Sets . . . . . . . . . . . . . . . . . . . C-2
Deactivating the EPL1 Fonts . . . . . . . . . . . . . . . . . C-3
EPL1 LP20XX Conversion to LN20XX Printer Models. . . . C-4
Resetting the LN20XX to LP20XX Printer Mode . . . . . . . C-4
vi 980353-001 Rev.B
INTRODUCTION
❏ Receipts
❏ Labels
❏ Tags
❏ Support chemical and water proof media
❏ UPC (Universal Product Code) bar codes
❏ Postal bar codes
❏ Support for the common international indus-
try standard bar codes
24 26
D D
o o
t t
s s
16 Dots (2mm)
Inter-character Space (actually white dots)
Printing Example
Text
Text Printed at 2x, Line Terminated with Form Feed (FF)
Command Name
Example Description
Escape Character,
¬ or Esc
ASCII value 27d (1Bh)
Form Feed Character,
E or FF
ASCII value 12d (0Ch)
Line Feed Character,
or LF
ASCII value 10d (0Ah)
Carriage Return Character,
e or CR
ASCII value 13d (0Dh)
¿ or CR/LF Carriage Return & Line Feed
Command - Commands are
typically a single character.
A
Some commands contain up to
four (4) characters.
Figure 6-1
Selects Bar Code 0 (Code 128)
Concatenated
Commands Selects Character Set 1, width 1, height 3
p1 (width multiplier)
Characters
Model Font 1 2 3 4 5 6 7
Per
(x1) (x2) (x3) (x4) (x1) (x2) (x3)
CCSET1 Inch (cpi) 7 3.5 2.25 1.75
N/A
2443 & Font 4 * Line 52 26 17 13
2844 CCSET3 Inch (cpi) 16.9 8.46 5.64
N/A
& Font 2 * Line 69 34 23
CCSET1 Inch (cpi) 7 3.5 2.25 1.75
2722 & Font 4* Line 28 14 9 7
2824 CCSET3 Inch (cpi) 16.9 8.46 5.65
& Font 2 * Line 37 18 12
Millimeters 3 6 9 12 15 18 21 24
CCSET3
Lines Per
8.4 4.2 2.8 2.1 1.6 1.4 1.2 1
Inch
Dots 26 52 78 104 130 156 182 208
¬A21SIZE 21¿
¬A22SIZE 22¿
¬A23SIZE 23¿
¬A24SIZE 24¿
¬A31SIZE 31¿
¬A32SIZE 32¿
¬A33SIZE 33¿
¬A34SIZE 34¿
¬A41SIZE 41¿
¬A42SIZE 42¿
¬A43SIZE 43¿
¬A44SIZE 44¿
Will Produce:
(Not to scale)
3 1 3*
4 2 2
Syntax ¬B
Parameters None
Default: Command Buffering Off
Use the command with the E command, End
Command Buffer.
Command Buffering ❏ Do not use printer configuration and control
Rules commands (speed, mode changes, density,
etc.) within command buffer data strings.
❏ Line, text and bar code control commands
are allowed within the command buffer data
strings.
❏ Printing with the buffer mode will automati-
cally assert a form feed at the end of buffer.
To disable this feature, use the N command,
Form Feed control, without any parameters.
❏ The printer will automatically backup to top
of form (label) when buffer printing a label.
The R command can not be used in buffered
print operations.
e :Abbreviation = CR/LF
:Treated as a single Line Feed (LF)
Parameters None
Will Print:
ABC 123 EFG
ABC 123 EFG
ABC 123 EFG
Description
1. Starts bar code data field
{ 2. Identifies bar code to include hu-
man readable text
1. Bar code data
2. Must comply with bar code specifi-
cations, i.e. type of character (num-
DATA
ber only or alpha-numeric),
supported characters, data field size,
etc.
1. Terminates the data to be entered
}
into the bar code.
Example: ¬{1234567890}¿
Description
1. Starts bar code data field
| 2. Identifies bar code to be without
the human readable text
1. Bar code data
2. Must comply with bar code specifi-
cations, i.e. type of character (num-
DATA
ber only or alpha-numeric),
supported characters, data field size,
etc.
1. Terminates the data to be entered
}
into the bar code.
Example: ¬|1234567890}¿
Parameters None
Range: 1- 8 Default: 1
(8 dots = 1mm)
e : Abbreviation = CR/LF
:Treated as a single Line Feed (LF)
Parameters None
Range: 00 - 99
Parameters None
Syntax ¬Rp1
Parameters p1 = Distance in millimeters to backup.
Range: 01 - 25 (1 = 1 millimeter)
00 = Disables automatic
backup to top of form.
p2 = Mode Selection
Value Description
Not Used Automatic Selection Mode 2 or 3
m2 Mode 2
m3 Mode 3
m4 Mode 4
m6 Mode 6
2) The shipper has explicitly set the MaxiCode symbol for Mode
2. This can be omitted by the programmer and the printer will
auto-select the mode per parameter p2 rules.
3) The shipper has used the “!” character to pad the symbol’s
data. A scanner reads back all the "Data" within the quotation
marks, including the “!” characters following the End Of Mes-
sage Marker (EOT).
4) All of the data fields in the Low Priority Message are not
used in the example. Some are left empty with the field delim-
iting GS character used as a format field holder.
• Code 39
• Interleaved 2 of 5
• CodaBar
Syntax ¬xp1p2
Parameters p1 = Narrow bar width in dots.
Values: 2, 3 or 4
Default: 2 (.250 mm or .010 inch)
p2 = Wide bar width in dots.
Values: 04 to 12
Default: 05 (.625 mm or .025 inch)
J ! 1 A Q a q ¡ ± Á Ñ á ñ
1 1 17 33 49 65 81 97 113 129 145 161 177 193 209 225 241
o " 2 B R b r ¢ ² Â Ò â ò
2 2 18 34 50 66 82 98 114 130 146 162 178 194 210 226 242
Hexidecimal - Least Significant Digit
♥ !! # 3 C S c s £ ³ Ã Ó ã ó
3 3 19 35 51 67 83 99 115 131 147 163 179 195 211 227 243
♦ ¶ $ 4 D T d t ¤ ´ Ä Ô ä ô
4 4 20 36 52 68 84 100 116 132 148 164 180 196 212 228 244
♣ § % 5 E U e u ¥ µ Å Õ å õ
5 5 21 37 53 69 85 101 117 133 149 165 181 197 213 229 245
♠ & 6 F V f v ¦ ¶ Æ Ö æ ö
6 6 22 38 54 70 86 102 118 134 150 166 182 198 214 230 246
o ' 7 G W g w § · Ç × ç ÷
7 7 23 39 55 71 87 103 119 135 151 167 183 199 215 231 247
h ( 8 H X h x ¨ ¸ È Ø è ø
8 8 24 40 56 72 88 104 120 136 152 168 184 200 216 232 248
i ) 9 I Y i y © ¹ É Ù é ù
9 9 25 41 57 73 89 105 121 137 153 169 185 201 217 233 249
g * : J Z j z ª º Ê Ú ê ú
A 10 26 42 58 74 90 106 122 138 154 170 186 202 218 234 250
G f + ; K [ k { « » Ë Û ë û
B 11 27 43 59 75 91 107 123 139 155 171 187 203 219 235 251
, < L \ l | ¬ ¼ Ì Ü ì ü
E
¬
C 12 28 44 60 76 92 108 124 140 156 172 188 204 220 236 252
e n - = M ] m } ½ Í Ý í ý
D 13 29 45 61 77 93 109 125 141 157 173 189 205 221 237 253
. > N ^ n ~ ® ¾ Î Þ î þ
E 14 30 46 62 78 94 110 126 142 158 174 190 206 222 238 254
C / ? O _ o ¯ ¿ Ï ß ï
F 15 31 47 63 79 95 111 127 143 159 175 191 207 223 239
256
255
Standard Character
Command Decimal Hexadecimal
Name
<STX> Start Transmission 02 02
<ETX> End Transmission 03 03
<EOT> End of Text 04 04
<CAN> Cancel 24 18
Resetting the LN20XX See the “Resetting the Control Function Char-
to LP20XX Printer acters” in Appendix B, page B-3.
Mode