Plain English

Inverts the specified rectangular area on the label — black becomes white and white becomes black. Use it over text to create white-on-black reversed text blocks.

When to use

When you want white text on a black background — draw the text first, then use REVERSE over the same area.

Syntax

REVERSE x,y,width,height

Parameters

ParameterDescription
xLeft edge X coordinate in dots
yTop edge Y coordinate in dots
widthWidth of the reversed area in dots
heightHeight of the reversed area in dots

Example

BAR 40,20,320,40
TEXT 50,25,"4",0,1,1,"CAUTION"
REVERSE 40,20,320,40

Create white-on-black "CAUTION" text

Try it in the playground View all TSPL commands