Fills the given rectangle with black; with a small height it serves as a horizontal or vertical rule.
Engine status: Rendered
This command produces visible output in the preview.
LOx,y,w,hN
q812
Q1218,24
LO50,300,700,4
P2Open this example in the preview →
Output of the example above in our renderer (203 dpi). Not verified on a physical printer.
| Parameter | Meaning |
|---|---|
x,y | Top-left corner of the black rectangle, in dots |
w | Width in dots — a size, not a second corner |
h | Height in dots; a small h gives a horizontal line |
Reading the second pair as a corner, as in X: LO50,300,700,4 is a 700 × 4 dot bar starting at (50,300) and reaching x 749; it does not end at (700,4).
ZPL equivalent: ^GB · TSPL BAR · Language comparison
N · q · Q · A · B · LW · X · P · R · S · D · I · JF · ZT · ZB · FS · FE · FR · FK · FI · V · ?