Skip to command documentation
Supportedbarcoderastersession scope
^CV

Code Validation

^CV configures code Validation. It applies to the printer session and subsequent formats and can change pixels in the rendered label.

Syntax
^CVa
a

Code validation

Sets code validation. It can be omitted when the documented default is suitable.

Default
N
Required
No
Documented valuesNY

a variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

a = N

Uses N for code validation while the other command values stay at representative defaults.

ZPLcaret-cv-a-1.zpl
^XA
^PW640
^LL360
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDJob command^FS
^FO28,318^A0N,22,22^FDCaret CV parameter example^FS
^XZ
^CVN
Renderer8 dpmm
Preview loads in your browser

a = Y

Uses Y for code validation while the other command values stay at representative defaults.

ZPLcaret-cv-a-2.zpl
^XA
^PW640
^LL360
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDJob command^FS
^FO28,318^A0N,22,22^FDCaret CV parameter example^FS
^XZ
^CVY
Renderer8 dpmm
Preview loads in your browser

Primary source

Official Zebra reference

Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.

Open Zebra documentation

ZPLr Command Reference

Independent documentation for the pinned ZPL II 2025 renderer profile. Examples run locally in your browser.

ZPL, ZPL II, Zebra, and Zebra Programming Language are trademarks or registered trademarks of Zebra Technologies Corp. ZPLr is independent and is not affiliated with or endorsed by Zebra Technologies Corp.