Plain English

Draws a ruled line or box at the current position. You specify vertical border width, horizontal border width, vertical length, and horizontal length in dots. If the border widths are thin and the lengths are large, you get a rectangle outline. If one length is very small, you get a line.

When to use

For drawing borders, divider lines, boxes, and table structures on your label.

Syntax

ESC+FWaaaa,bbbb,cccc,dddd

Parameters

ParameterDescription
aaaa
Vertical border width in dots
bbbb
Horizontal border width in dots
cccc
Vertical length (height) in dots
dddd
Horizontal length (width) in dots

Example

ESC+A
ESC+H0050
ESC+V0050
ESC+FW0002,0002,0200,0600
ESC+Q1
ESC+Z

Draw a 600x200 dot rectangle with 2-dot border

Try it in the playground View all SBPL commands