| IBM | Commands |
|
|
|
| |
| Notes |
|
|
|
| ||
| Function | (ASCII, Decimal, Hexadecimal) |
|
|
|
| |
|
|
|
|
|
| ||
| Select IBM Character | ASCII: ESC 7 | Selects IBM Character Set I |
|
| ||
| Set I | Dec: 27 55 |
|
|
|
|
|
|
| Hex: 1B 37 |
|
|
|
|
|
| Select IBM Character | ASCII: ESC 6 | Selects IBM Character Set II |
|
| ||
| Set II | Dec: 27 54 |
|
|
|
|
|
|
| Hex: 1B 36 |
|
|
|
|
|
| Bar Code Commands |
|
|
|
|
|
|
| Select Bar Code Type and | ASCII: ESC DLE A m n1 ··· n8 | OKI unique command |
|
| ||
| Size | Dec: 27 16 65 m n1 ··· n8 | m=number of parameters specified |
|
| ||
|
| Hex: 1B 10 41 m n1 ··· n8 | (m=0, 1 or 3: command ignored) |
|
| ||
|
|
| n1, n2: selects bar code style |
|
| ||
|
|
| n1, n2=0, 1: EAN8 |
|
| ||
|
|
| n1, n2=0, 2: EAN13 |
|
| ||
|
|
| n1, n2=1, 0: |
|
| ||
|
|
| n1, n2=1, 4: |
|
| ||
|
|
| n1, n2=2, 0: CODE39 |
|
| ||
|
|
| n1, n2=3, 0: Interleaved 2 of 5 |
|
| ||
|
|
| n1, n2=4, 0: Code 128 |
|
| ||
|
|
| n3, n4: sets vertical length of bars, in | x |
| ||
|
|
| units of | 15/ |
| ||
|
|
|
| 180 | 3 |
|
|
|
|
| 10] + n ) x 15/ | " |
|
| |
|
|
| 4 | 180 |
|
| |
|
|
| n5: sets black bars; n5=1 to 7 |
|
| ||
|
|
| n6: sets spacing; n6=1 to 7 |
|
| ||
|
|
| n7: sets ratio of wide element to narrow |
| |||
|
|
| element; n7=1 to 7 |
|
| ||
|
|
| n8: specifies whether or not characters |
|
| ||
|
|
| are to be attached |
|
| ||
|
|
| n8=0: characters not attached |
|
| ||
|
|
| n8=1 or more: LQ characters attached |
|
| ||
| Print Industrial Bar Code | ASCII: ESC DLE B n m [data] | OKI unique command |
|
| ||
| Data | Dec: 27 16 66 n m [data] | n: specifies amount of data to follow |
|
| ||
|
| Hex: 1B 10 42 n m [data] | m: selects CODE128 mode (CODE128 |
|
| ||
|
|
| must be selected for this command to be |
| |||
|
|
| recognized) |
|
|
| |
|
|
| m=65: Set A |
|
|
| |
|
|
| m=66: Set B |
|
|
| |
|
|
| m=67: Set C |
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ML790/791 Printer Handbook | 107 |