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
RRotation: 1 (0 deg), 2 (90 deg), 3 (180 deg), 4 (270 deg)
XGraphics type identifier
rrrrRow position (top-left corner) in dots
ccccColumn position (top-left corner) in dots
B/bB = box outline, b = filled box
widthBox width in dots
heightBox height in dots
thicknessLine thickness in dots

Example

1X1100000000000B0700040003

Draw a box at origin, 700 wide, 400 tall, 3-dot line thickness

Try it in the playground View all DPL commands