Chapter 10: Bar Code Commands for 9-Pin Printers 111Print EAN 8 Bar Code CommandThe command for printing an EAN 8 bar code isESC DLE B m [data]where parameter m designates the number of characters which will follow in the data. If youwish to include a check digit, enter the ASCII character @ (64 Dec, 40 Hex) at the end of thedata.EAN 13 Bar Code CommandsEAN 13 encodes 13 digits and contains the same number of bars as UPC A. The thirteenth digitcombined with the twelfth digit provides a code representing a country. The digits can be anyASCII character from 0 to 9 (48 to 57 Dec, 30 to 39 Hex).Select EAN 13 Bar Code CommandThe command for selecting EAN 13 isESC DLE A m 0 2 n 3 n 4 n5 0 0 n 8EAN 13 Parameters n3 and n4These parameters set the vertical length of the bars in 6/72", as calculated by the equation[(n 3 x 10) + n 4 ] x 6/72"where the total value must be less than or equal to 25.EAN 13 Parameter n5This parameter sets the maximum width of one character in 1/144" increments as follows:Table 83: IBM/Epson Select EAN 13 Command —Maximum Character Widths for Parameter n 5 Values (9-Pin Printers)Value of n5 Character Width123456719/144"26/144"33/144"40/144"47/144"54/144"61/144"When calculating the width of the printout, you must take into consideration the left handguard pattern, the center guard pattern and the right hand guard pattern.EAN 13 Parameter n8This parameter sets whether or not the readable characters are printed.n 8 = 1: print readable charactersn 8 = 0: do not print readable charactersPrint EAN 13 Bar Code CommandThe command for printing EAN 13 bar codes isESC DLE B m [data]