← Guides & articles
ED
Eduard Diaz
IT technician at S-IE, an official Zebra partner · Updated

^FR · Field Reverse

Inverts field colors (black background, white text).

Syntax and practical example

^FR

^XA
^PW600
^LL400
^FO30,30^GB350,100,100^FS
^FO50,55^FR^A0N,40,40^FDLOT A17^FS
^FO50,170^A0N,30,30^FDNORMAL^FS
^XZ

Educational example; not a certified label or a physical print test. Sample text and codes stay the same in every language for comparison.

Expected result with ^FR

^GB creates a black rectangle and ^FR reverses the overlapping LOT A17 text, making it white there. NORMAL is outside and has no ^FR. Move LOT A17 outside the rectangle to see that reversal depends on the background.

What should I check if ^FR does not give the expected result?

^FR does not draw its own black text box or invert the entire label. It applies to its field: repeat it for each field to reverse and ensure the background covers that field’s full area.

Related commands

Zebra technical reference ↗

ED

About the author

Eduard Diaz

Eduard Diaz is an IT technician (development) at S-IE, an official Zebra partner with more than 20 years providing identification and labelling services. He builds and maintains EditorZPL to make working with ZPL and Zebra label printers easier.

s-ie.cat

Related tools