Chapter 10: Bar Code Commands for 9-Pin Printers 101Chapter 10: Bar Code Commands for 9-Pin Printers9-Pin models ML320 Turbo, ML321 Turbo, ML520 and ML521 incorporate eight bar codes inboth the Epson FX 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 11 for the 24-pin printers; however,the values for the various parameters are different for the 24-pin printers.Note: 9-pin models ML320 Epson/IBM, ML321 Epson/IBM, ML320 Standard and ML321Standard do NOT have bar code commandsBar Code Commands ML320 Turbo, ML321 Turbo ML520, ML521Function 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 CommandsAlso 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).