Plain English

Draws a horizontal or vertical line on the label. Use the X type field with L (horizontal) or l (vertical) as the first byte of the data field. The SSS field sets the line length and the data field starts with L or l followed by the line width in dots.

When to use

When you need a divider line, border edge, or rule on the label.

Syntax

1X1100LLLLrrrrcccc

Parameters

ParameterDescription
R
Rotation: 1 (0 deg), 2 (90 deg), 3 (180 deg), 4 (270 deg)
X
Graphics type identifier
LLLL
Line length in dots (used in SSS + data fields)
rrrr
Row position in dots (4 digits, zero-padded)
cccc
Column position in dots (4 digits, zero-padded)
L/l
L = horizontal line, l = vertical line
width
Line width/thickness in dots

Example

<STX>L
D11
1X1100000000000L0700003
E

Complete label with a horizontal line at row 0, column 0, length 700, width 3

Try it in the playground View all DPL commands