
| IBM | Commands |
|
|
|
|
| ||
|
| Notes |
|
|
|
|
| ||
| Function | (ASCII, Decimal, Hexadecimal) |
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
| Print Postnet Bar Code | ASCII: ESC DLE C n [data] |
| OKI unique command. |
| ||||
| Data | Dec: 27 16 67 n [data] |
| n: designates amount of data to follow |
| ||||
| Hex: 1B 10 43 n [data] |
| n=1 to 20 |
|
|
| |||
|
| Data consists of |
| ||||||
|
|
|
|
|
|
| |||
| Select Barcode type | ASCII: ESC [ f Ln Hn Pk Pm Ps Lv |
| Specifies the barcode setting. |
| ||||
|
| Hv Pc |
| Ln Hn specifies the byte number of pa- |
| ||||
|
|
| rameter. |
|
|
| |||
|
| Lv Hv Pc |
| byte number of parameter = Ln+Hn x 256 |
| ||||
|
|
| Pk: Barcode type |
| |||||
|
| Lv Hv Pc |
|
|
|
|
|
| |
|
|
| Pk (Hex) | Barcode type |
|
| |||
|
|
| B2 |
|
| ||||
|
|
|
| B3 |
|
| |||
|
|
|
| B4 |
|
| Code 39 |
|
|
|
|
|
| B6 |
|
| Interleaved 2 of 5 |
|
|
|
|
|
| B7 |
|
|
|
| |
|
|
|
| B9 |
|
| POSTNET |
|
|
|
|
|
| BA |
|
| Code 128 |
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
| Pm: specifies the module width (black or |
| ||||
|
|
|
| SP bar). |
|
|
| ||
|
|
|
|
|
|
|
|
| |
|
|
|
| Pm (Hex) | Module width (unit: 1/180") |
| |||
|
|
|
| 00 |
|
| 2 dots |
|
|
|
|
|
| 01 |
|
| 1 dot |
|
|
|
|
|
| 02 |
|
| 2 dots |
|
|
|
|
|
| 03 |
|
| 3 dots |
|
|
|
|
|
| 04 |
|
| 4 dots |
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
| Ps: specifies the PS bar width based on |
| ||||
|
|
|
| the parameter Pm setting. |
| ||||
|
|
|
|
|
|
|
|
| |
|
|
|
| Ps (Hex) | regulable value for the |
| |||
|
|
|
|
| dard width of the SP bar. |
| |||
|
|
|
| FD |
|
|
|
| |
|
|
|
| FE |
|
|
|
| |
|
|
|
| FF |
|
|
|
| |
|
|
|
| 00 |
|
| 0 (factory default) |
|
|
|
|
|
| 01 |
|
| +1 |
|
|
|
|
|
| 02 |
|
| +2 |
|
|
|
|
|
| 03 |
|
| +3 |
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
| Lv Hv: specifies the height of the black |
| ||||
|
|
|
| bar (unit: 1/2160") |
| ||||
|
|
|
| Height=Lv+Hv x 256 |
| ||||
|
|
|
| Lv Hv setting will be ignored for |
| ||||
|
|
|
| Pk=07H (when POSTNET specified) |
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 | Appendix D: Printer Commands |