Page 139 - ZPL II Programming Guide
P. 139

ZPL Commands    119
                                                                                                         ^CV


               ^CV


                     Code Validation

                              Description  The ^CV command acts as a switch to turn the code validation function on and
                              off. When this command is turned on, all bar code data is checked for these error conditions:
                               • character not in character set
                               • check-digit incorrect

                               • data field too long (too many characters)
                               • data field too short (too few characters)
                               • parameter string contains incorrect data or missing parameter

                              When invalid data is detected, an error message and code is printed in reverse image in place
                              of the bar code. The message reads INVALID - X where X is one of these error codes:
                                 C = character not in character set
                                 E = check-digit incorrect
                                 L = data field too long
                                 S = data field too short
                                 P = parameter string contains incorrect data
                                  (occurs only on select bar codes)

                              Once turned on, the ^CV command remains active from format to format until turned off by
                              another ^CV command or the printer is turned off. The command is not permanently saved.


                              Format  ^CVa
                              This table identifies the parameters for this format:



                               Parameters           Details
                               a = code validation  Accepted Values:
                                                        N = no
                                                        Y = yes
                                                    Default Value: N






















               9/15/06                              ZPL II Programming  Guide                  45541L-004 Rev. A
   134   135   136   137   138   139   140   141   142   143   144