Box (X...B/b) — Draw Box
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
| Parameter | Description |
|---|---|
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
1X1100000000000B0700040003
Draw a box at origin, 700 wide, 400 tall, 3-dot line thickness