Barcodes

^CVCode Validation

Validates barcode data and marks invalid codes on the label.

Category
Barcodes
Syntax
^CVa

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

^CVa

Parameters

ParameterDescriptionValuesDefault
aEnable validationY,NN

Example

^XA
^CVY
^FO50,50^BCN,100,Y,N,N^FDbad data!^FS
^XZ

Paste 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.

See the full ZPL command reference for all 92 documented commands.

Work with your labels, not just read about them

Zentralabel converts, previews, validates, and enriches ZPL labels right in your browser — free tools for one-offs, batch processing for scale.