Tools/Printer languages/EPL command reference

EPL Command Reference

Every command the Labelixa EPL preview understands, with syntax, an example and its honest support status. Commands outside this list are reported by the validator as unknown.

Coverage: 8 commands supported, 2 partially supported, 13 recognized as printer-behaviour (not drawn). The preview renders at 203 dpi and is an interpretation of the EPL2 programming guide — it has not been verified against a physical printer.
CommandSyntaxStatusDescription
NN
N
SupportedClear the image buffer. Almost every EPL job starts with it.
qq<w>
q812
SupportedLabel width in dots (q812 = 4 inches at 203 dpi).
QQ<h>,<gap>
Q1218,24
SupportedLabel length and gap in dots.
AAx,y,rot,font,hm,vm,N/R,"text"
A50,50,0,4,1,1,N,"HELLO"
PartialText field. Fonts 1-5 are supported; double-byte sets 6/7 are not in the MVP. R prints white-on-black.
BBx,y,rot,type,narrow,wide,h,B/N,"data"
B50,150,0,1,3,7,120,B,"123456"
PartialBarcode field. MVP types: 1 (Code 128), 3 (Code 39), E30 (EAN-13), UA0 (UPC-A). Other types are skipped with a warning.
LOLOx,y,w,h
LO50,300,700,4
SupportedDraw a black line/box (Line draw blOck).
LWLWx,y,w,h
LW60,310,100,4
SupportedDraw a white line (erases what is under it).
XXx1,y1,t,x2,y2
X40,40,4,760,400
SupportedDraw a box outline with the given border thickness.
PP<n>
P2
SupportedPrint — sets the label quantity.
RRx,y
R16,0
SupportedReference point in dots (Rx,y): every later position is offset by it — the preview applies the offset; the manual's print-width side effect is not modelled.
SS<speed>
S3
Printer-onlyPrint speed — printer behaviour, does not affect the preview.
DD<density>
D8
Printer-onlyPrint darkness — printer behaviour, does not affect the preview.
II8,A,001
I8,A,001
Printer-onlyCharacter set selection — the preview assumes UTF-8.
JFJF
JF
Printer-onlyFeed setting — printer behaviour.
ZTZT
ZT
Printer-onlyPrint from top — orientation is not applied in the MVP preview.
ZBZB
ZB
Printer-onlyPrint from bottom — orientation is not applied in the MVP preview.
FSFS<"FORMNAME">
FS"FORM1"
Printer-onlyStore form — starts a form store sequence in printer memory; the preview keeps no form memory, so the form's content is not drawn.
FEFE
FE
Printer-onlyEnd form store — closes the FS sequence; recognised, nothing to draw.
FRFR<"FORMNAME">
FR"FORM1"
Printer-onlyRetrieve form — recalls a stored form from printer memory; the preview cannot open printer memory, paste the form's source instead.
FKFK<"FORMNAME" | "*">
FK"FORM1"
Printer-onlyDelete form — removes a stored form (or all with "*"); printer memory only.
FIFI
FI
Printer-onlyPrint form information — the printer prints its list of stored forms; nothing for the preview to draw.
VV<nn>,<len>,<L|R|C|N>,<"PROMPT">
V00,15,N,"Product:"
Printer-onlyDefine variable — a prompt field inside a stored form, filled at recall with ?; the preview has no form memory, so the variable's value is unknown.
??
?
Printer-onlyDownload variables — the lines after ? fill a recalled form's variables in order; without form memory the preview reads them as commands.

Render your code: EPL viewer

Other languages

TSPL · CPCL · ZPL

Save your labels to your account and print them with DirectPrint — free account. Create free account