Download Microsoft Word - D-O_Printer_Command_Language-Rev_I
Transcript
Interleaved 2 of 5 Specifications Description Each symbol starts with Leading Quiet Zone, followed with Start Symbol, Data Symbols, ending with Stop Symbol and Trailing Quiet Zone numeric pairs Character set Elements per symbol 10 (5 bars, 5 spaces) Character density 1.11 CPI Bar width 25mm Characters per line 2 inch printer: 16 numeric (maximum), automatically centered 3 inch printer: 24 numeric (maximum), automatically centered 4 inch printer: 35 numeric (maximum), automatically centered Example: The following escape sequence prints an Interleaved 2 of 5 barcode, encoding “12345678” with 10 mm high, human readable. Escape Sequence: Esc Z 3 8 2 1 2 3 4 5 6 7 8 CR LF Hexadecimal: 1B 5A 33 08 32 31 32 33 34 35 36 37 38 0D 0A Decimal: 27 90 51 8 50 49 50 51 52 53 54 55 56 13 10 UPC/EAN/JAN Specifications Description Each symbol starts with Leading Quiet Zone, followed with Left Guard Bars, Left Data Symbols, Center Bar Pattern, Right Data Symbols, Check Character, ending with Right Guard Bars and Trailing Quiet Zone. The UPC, EAN/JAN-8, EAN/JAN-13 specifications comprise an internationally recognized format for application identifiers. Unlike the UCC/EAN-128 specification, these identifiers are intended for pointof-sale applications. Only recognized bodies of the UCC and EAN may assign application identifiers. More information may be found at: http://www.ean.be/ for the EAN and http://www.uc-council.org/ for the UCC Numeric - fixed length Character set Elements per symbol 4 (2 bars, 2 spaces) Character density 14.5 CPI Bar width 0.25mm Characters per line UPC-A: 11 - plus check digit (automatically centered) UPC-E: 6 - plus check digit (automatically centered) EAN/JAN-8: 7 - plus check digit (automatically centered) EAN/JAN-13: 12 - plus check digit (automatically centered) Example 1: The following escape sequence will print a UPC-A bar code with the following: human readable, 30 mm high, containing “123456789012” where 2 is the check digit. Due to limited spacing CR LF are not shown at the end of this command. Escape Sequence: Hexadecimal: Decimal: ESC Z 1B 5A 27 90 4 34 52 12 240 1 0C F0 31 12 240 49 2 32 50 3 33 51 14 4 34 52 5 35 53 6 36 54 7 37 55 8 38 56 9 39 57 0 30 48 1 31 49