Plain English

Draws a rectangular box (outline) on the label. Use the X type field with B (box with specified width and height) as the first byte of the data. The data encodes the box width, height, and line thickness.

When to use

When you need a border, frame, or table cell outline on the label.

Syntax

1X1100BBBBrrrrcccc

Parameters

ParameterDescription
R
Rotation: 1 (0 deg), 2 (90 deg), 3 (180 deg), 4 (270 deg)
X
Graphics type identifier
rrrr
Row position (top-left corner) in dots
cccc
Column position (top-left corner) in dots
B/b
B = box outline, b = filled box
width
Box width in dots
height
Box height in dots
thickness
Line thickness in dots

Example

<STX>L
D11
1X1100000100010B300120003003
E

Complete label with a box at row 10, column 10 (300×120 units, ~609×244 dots) so the whole outline sits inside the label, 3-unit line thickness

Try it in the playground View all DPL commands