ESC * m nL nH d1…dk
[Name] | Select |
|
|
| |||||
[Format] | ASCII | ESC | * | m nL nH d1…dk |
| ||||
|
|
| Hex | 1B | 2A | m nL nH d1…dk |
| ||
|
|
| Decimal | 27 | 42 | m nL nH d1…dk |
| ||
[Range] | m = 0, 1, 32, 33 |
|
|
| |||||
|
|
| 0 ≤nL ≤255 |
|
|
|
| ||
|
|
| 0 ≤nH ≤3 |
|
|
|
| ||
|
|
| 0 ≤d ≤255 |
|
|
|
| ||
[Description] | Selects a | ||||||||
|
|
| nH, as follows : |
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
| m | No. Vertical Dots |
|
| Vertical Direction | Horizontal Direction | |||
|
|
| Number | Dot | Dot | Number of Data (k) | |||
|
|
|
|
|
| of Dots | Density | Density |
|
| 0 |
| 8 | 60 DPI | 90 DPI | nL + nH ×256 | |||
| 1 |
| 8 | 60 DPI | 180 DPI | nL + nH ×256 | |||
| 32 |
| 24 | 180 DPI | 90 DPI | (nL + nH ×256) ×3 | |||
| 33 |
| 24 | 180 DPI | 180 DPI | (nL + nH ×256) ×3 |
ESC - n
[Name] | Turn underline mode on / off. | ||||
[Format] | ASCII | ESC | - | n | |
|
| Hex | 1B | 2D | n |
|
| Decimal | 27 | 45 | n |
[Range] | 0 ≤n ≤2, 48 ≤H ≤50 |
| |||
[Description] | Turns underline mode on or off, based on the following values of n : | ||||
|
|
|
|
|
|
|
| n |
|
| Function |
|
| 0, 48 |
|
| Turns off underline mode. |
|
| 1, 49 |
|
| Turns on underline mode |
|
| 2, 50 |
|
| Turns on underline mode |
ESC 2
[Name] | Select default line spacing. | ||
[Format] | ASCII | ESC | 2 |
| Hex | 1B | 32 |
| Decimal | 27 | 50 |
[Description] | Selects |
ESC 3 n
[Name] | Set line spacing |
|
| |
[Format] | ASCII | ESC | 3 | n |
| Hex | 1B | 33 | n |
| Decimal | 27 | 51 | n |
[Range] | 0 ≤n ≤255 |
|
| |
[Description] | Sets the line spacing to [n X vertical or horizontal motion unit] inches. |
ESC = n
| [Name] | Select peripheral device. |
|
|
| |||
| [Format] | ASCII | ESC | = | n |
| ||
|
| Hex | 1B | 3D | n |
| ||
|
| Decimal | 27 | 61 | n |
| ||
| [Range] | 0 ≤n ≤3 |
|
|
|
| ||
| [Description] | Selects device to which host computer sends data, using n as follows : | ||||||
|
|
|
|
|
|
|
|
|
| Bit | Off/On |
|
| Hex | Decimal |
| Function |
| 0 | Off |
|
| 00 | 0 |
| Printer Disabled. |
|
| On |
|
| 01 | 1 |
| Printer Disabled. |
| - |
|
| - | - |
| Undefined. | |
|
|
|
|
|
|
|
| |
ESC ? n |
|
|
|
|
|
|
| |
[Name] | Cancel |
| ||||||
[Format] | ASCII | ESC | ? | n |
| |||
|
| Hex | 1B | 3F | n |
| ||
|
| Decimal | 27 | 63 | n |
| ||
[Range] | 32 ≤n ≤126 |
|
|
|
| |||
[Description] | Cancels |
| ||||||
|
|
|
|
|
|
|
| |
ESC @ |
|
|
|
|
|
|
| |
[Name] | Initialize printer. |
|
|
|
| |||
[Format] | ASCII | ESC | @ |
|
|
| ||
|
| Hex | 1B | 40 |
|
|
| |
|
| Decimal | 27 | 64 |
|
|
| |
[Range] | 32 ≤n ≤126 |
|
|
|
| |||
[Description] | Clears the data in the print buffer and resets the printer mode to the mode | |||||||
|
| that was in effect when the power was turned on. |
|
32 | 33 |