230Chapter 11 Barcode PrintingBarcode PrintingBarcode HeaderBefore the data, which contains the barcode information, are transmitted tothe printer, the barcode header must be sent. Otherwise the standardparameter values are used (see “Header Format” below). In the header (theprinting parameters), the barcode size and type are defined. This header onlyneeds to be transferred once, unless settings are to be changed or the printerhas been turned off.Header FormatFormat: SUB [F] a [n] [;xyz] EM[ ] Specification is optionalx, y unregarded at EAN/UPC-Barcode!For Code 128 and EAN 128 (Type S+T) only the X parameter isvalid. This is automatically used for the Y parameter. The Zparameter is not evaluated.Character Meaning:SUB (hex.1A, dec.26) Start headerF Print feature (see section "Barcode PrintFeature F" to select the F codes, page 10)a ASCII a = "A"..."S" Barcode Types (see section "BarcodeTypes")n ASCII n = "0"..."90" Barcode height in n/6 inch.At n="0" the barcode height equals to 1/12inch.; ASCII Separation characterx ASCII x = "0"..."3" Width of the narrow bar(see “Barcode Width” on page 233)y ASCII y = "0"..."3" Width of the narrow space(see “Barcode Width” on page 233)z ASCII z = "0"..."3" Ratio of wide to narrow(see “Barcode Width” on page 233)EM (hex.19, dec.25) End of headerNOTE: For encoding ASCII values to decimal or hexadecimal values refer to“Character Sets” on page 305.