N, q, S, A, L, B, P

EPL2 (page mode) Sample Label Format

This format was created for a 4w x 6L label
It will print in 5 different bitmapped font styles that are resident in the printer.
Also a sample of reverse print, a barcode, and a line.

send this EPL2 sample format to the printer

breakdown

function

.
<enter>
N
q812
S2
A50,0,0,1,1,1,N,"Example 1 0123456789"
A50,50,0,2,1,1,N,"Example 2 0123456789"
A50,100,0,3,1,1,N,"Example 3 0123456789"
A50,150,0,4,1,1,N,"Example 4 0123456789"
A50,200,0,5,1,1,N,"EXAMPLE 5 0123456789"
A50,300,0,3,2,2,R,"Example 6 0123456789"
LO25,600,750,20
B50,800,0,3,3,7,200,B,"998152-001"
P1
.
<Enter key>

 

.
<enter>
N

q
S


A50,50,0,2,1,1,N,
A
A50,
A50,50,
A50,50,0,
A50,50,0,2,
A50,50,0,2,1,1,
A50,50,0,2,1,1,N,
"field data"

LO25,600,750,20
LO25,
LO25,600,
LO25,600,750,
LO25,600,750,20

B50,800,0,3,3,7,200,B,
B50,
B50,800,
B50,800,0,
B50,800,0,3,
B50,800,0,3,3,
B50,800,0,3,3,7,
B50,800,0,3,3,7,200,
B50,800,0,3,3,7,200,B,

P1
.
<enter>

sets up a carriage return
<enter> hit the enter key (carriage return)
clears the image buffer prior to building a new label image
sets the print width in dots
speed select value in inches per second

Text field command line
prints ASCII text
horizontal start position
vertical start position
rotation, can be 0, 90, 180, 270
resident bitmapped font- choices 1,2,3,4,5
A50,50,0,0,2,1,1, font size multiplier H(1-8) x V(1-9)
N for normal print and R for reverse image
field data is entered between quotes

Draw line command
horizontal start position
vertical start position
horizontal length in dots
vertical length in dots

Barcode command line
horizontal start position
vertical start position
rotation, can be 0, 90, 180, 270
barcode selected (see epl2 guide for choices)
narrow bar width in dots
wide bar width in dots
barcode height in dots
print human readable B=Yes, N=No

number of labels to print
sets up a carriage return
<enter> hit the enter key (carriage return)

 

You can type this EPL2 format into the DOS text editor screen.

label printed

configuration label

If you are having trouble getting a label to print and you are unsure if your system is communicating with the printer you can print a configuration label. The printer will also enter into the hex dump mode after the configuration label prints out. Then send the EPL2 code to the printer and you should see characters print onto your label that resemble the sample hex dump provided.

hex dump

For further information regarding EPL2 commands check the EPL2 Programming Guide.