Sign In
Products
ZPL ViewerBarcode GeneratorImage → ZPLZPL cheat sheetLabel DesignerTemplate Gallery
Developers
API QuickstartAPI ReferenceMCP ServerBulk GenerationWebhooksSDKs & ExamplesLimitsDirectPrint agent NewGitHub ActionVS Code extensionOn-Premise
Solutions
Logistics & ShippingE-CommerceERP & WMSManufacturingRetailHealthcare & LaboratoryAll solutions
Tools
ZPL Diagnostics HubZPL DebuggerSize & DPI AnalyzerDPI ConverterBarcode fit calculatorShipping Label AnalyzerFont InspectorOrientation DebuggerCalibration AssistantPrinter Compatibility CheckerBarcode Readability CheckerPrinter Language DetectorThermal Printer Test PackZPL ToolsEPL ToolsTSPL ToolsCPCL ToolsPrinter Language ConverterAll ToolsGuidesPricing
Language
EnglishTürkçeDeutsch
Home›All EPL commands›LO

LO — Filled box (line)

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.

Syntax

LOx,y,w,h

Example

N
q812
Q1218,24
LO50,300,700,4
P2

Open this example in the preview →

Open the validator →

Rendered example

LO50,300,700,4

Output of the example above in our renderer (203 dpi). Not verified on a physical printer.

Parameters

ParameterMeaning
x,yTop-left corner of the black rectangle, in dots
wWidth in dots — a size, not a second corner
hHeight in dots; a small h gives a horizontal line

Common mistake

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).

The same job in other languages

ZPL equivalent: ^GB · TSPL BAR · Language comparison

All EPL commands

N · q · Q · A · B · LW · X · P · R · S · D · I · JF · ZT · ZB · FS · FE · FR · FK · FI · V · ?

All EPL commands