Chapter 11: Bar Code Commands for 24-Pin Printers 113Chapter 11: Bar Code Commands for 24-Pin Printers24-pin models ML390 Turbo, ML391 Turbo, ML590 and ML591 incorporate eight bar codes, inboth the Epson LQ and IBM emulations:• Code 39 • UPC* E• Code 128 • EAN** 8• Interleaved 2 of 5 • EAN** 13• UPC* A • Postnet*UPC = Universal Product Code**EAN = European Article NumberingThese commands are the same as those given in Chapter 10 for the 9-pin printers; however, thevalues for the various parameters are different for the 9-pin printers.Bar Code Commands ML390 Turbo, ML391 Turbo ML590, ML591Function ASCII Dec HexSelect Bar CodeTypeand SizeESC DLE A mn 1 ... n 827 16 65 mn 1 ... n 81B 10 41 mn 1 ... n 8Print Bar Code Data ESC DLE B m n[data]27 16 66 m n[data]1B 10 42 m n[data]Print Postnet BarCode DataESC DLE C P 1 [data] 27 16 67 P1 [data] 1B 10 43 P 1 [data]To print bar codes other than Postnet, you must enter two commands:• Select Bar Code Type & Size• Print Bar Code Data (provides data and initiates printing)To print Postnet bar codes, use the command ESC DLE C P1 [data] discussed at the end of thischapter.Code 39 Bar Code Command sAlso known as 3 of 9 Code, Code 39 is used in non-retail applications. Each character has fivebars and four spaces. Code patterns have been developed for 44 different alphabetic, numericand graphic characters. The digits can be any ASCII character from SP to Z (32 to 102 Dec, 20to 66 Hex).Select Code 39 Bar Code CommandThe command for selecting Code 39 isESC DLE A m 2 0 n 3 n 4 n5 n 6 n 7 n 8