Page 75 - ZPL II Programming Guide
P. 75

ZPL Commands    55
                                                                                                         ^BC


                       Using D for the mode (m) parameter

                               Example • This example shows application identifier 00 format ((x.11.x and above):

                                      D FOR THE M PARAMETER                       ZPL II CODE


                                                                      ^XA
                                                                      ^FO50,200^BCN,150,Y,N,,D
                                                                      ^FD(00)10084423 7449200940^FS
                                                                      ^XZ







                              (0 at end of field data is a bogus character that is inserted as a place holder for the check digit
                              the printer will automatically insert.

                                  •  Subset C using FNC1 values are automatically selected.
                                  •  Parentheses and spaces can be in the field data. '00' application identifier, followed by
                                     17 characters, followed by bogus check digit place holder.

                                  •  Check digit is automatically inserted. The printer will automatically calculate the
                                     check digit and put it into the bar code and interpretation line.

                                  •  The interpretation line will also show the parentheses and spaces but will strip them
                                     out from the actual bar code.


                       Printing the Interpretation Line


                               Example • This example shows printing the interpretation in a different font with firmware
                               x.11.x and above:

                                        INTERPRETATION LINE                        ZPL II CODE


                                                                      ^XA
                                                                      ^FO50,200
                                                                      ^A0N,40,30^BCN,150,Y,N,Y
                                                                      ^FD>;>80012345123451234512^FS







                              The font command (^A0N,40,30) can be added and changed to alter the font and size of the
                              interpretation line.


                          With firmware version older than x.10.x
                                  •  A separate text field needs to be written.

                                  •  The interpretation line needs to be turned off.
                                  •  ^A0N,50,40 is the font and size selection for the separate text field.



               9/15/06                              ZPL II Programming  Guide                  45541L-004 Rev. A
   70   71   72   73   74   75   76   77   78   79   80