ZPLToolkit

^LR

Label Reverse PrintPreview: not drawn

Prints every field in the format reversed — white on black — without putting ^FR on each one.

Syntax

^LRa

Parameters

ParameterDescription and accepted valuesIf omitted
aY turns reverse printing on for the format, N turns it off.Y or N — print every field reversedN

How it works

^LR turns on reverse printing for the whole format, so each field inverts against whatever is behind it. It is the format-wide version of ^FR, which does the same thing one field at a time.

The usual use is a label with a solid black band across it: draw the band with ^GB, turn on ^LR, and the text over it comes out white without any field needing to know it is on a dark background.

It stays on for the rest of the format. Unlike ^FR, which ^FS clears along with the rest of the field, ^LR is a format setting — turn it back off with ^LRN when the dark section ends.

Example

ZPL
^XA
^LRY
^FO50,50^GB400,120,120^FS
^FO70,90^A0N,40^FDReversed^FS
^XZ

Rendering…

A solid box with a field over it, with format-wide reverse printing on.
Open in the viewer

How the preview on this site handles it

Not drawn. The preview handles ^FR, the per-field reverse, but not the format-wide ^LR — a label using it previews with its fields the right way round instead of inverted. Putting ^FR on the fields that need it previews correctly and prints the same.

Common mistakes

  • Forgetting to turn it off. ^LR runs to the end of the format, so fields after the dark section come out inverted too.
  • Expecting ^FS to clear it. That clears ^FR; ^LR needs an explicit ^LRN.
  • Reversing without something to reverse against. White on white is an invisible field, not an error.

See also