What ^CV does
^CV turns on barcode validation so that if field data is not legal for the chosen symbology, the printer prints a message instead of an unscannable code — catching bad data before it ships.
Syntax
^CVaParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
a | Enable validation | Y,N | N |
Example
^XA
^CVY
^FO50,50^BCN,100,Y,N,N^FDbad data!^FS
^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Notes & tips
- Prints an error overlay instead of an invalid barcode.
- Applies to all barcodes until turned off.
Related commands
See the full ZPL command reference for all 92 documented commands.
