ESC * m nL nH d1...dk
[Name] | Select |
|
| ||||
[Format] | ASCII | ESC | * | m | nL nH d1 ... dk | ||
|
| Hex | 1B | 2A | m | nL nH d1 ... dk | |
[Range] | Decimal | 27 |
| 42 | m | nL nH d1 ... dk | |
m = 0, 1, 32, 33 |
|
|
| ||||
|
| 0 < nL < 255 |
|
|
| ||
|
| 0 < nH < 3 |
|
|
|
|
|
[Description] | 0 < d < 255 |
|
|
| |||
Selects a | |||||||
|
| nH, as follows. |
|
|
| ||
|
| Number of data(k) = (nL + nH x 256) x 3 | |||||
[Notes] | The nL and nH indicate the number of dots of the bit image in the horizontal | ||||||
|
| direction. |
|
|
| ||
|
| The number of dots is calculated by (nL + nH x 256). | |||||
|
| If the | |||||
|
| the excess data is ignored. |
| ||||
|
| d indicates the | |||||
|
| to 0 to not print a dot. |
|
| |||
|
|
|
|
|
|
|
|
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 < n < 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 |
| |
[Description] | Decimal | 27 |
| 50 |
| ||
Set the line spacing to 1/6 inch. |
|
25
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 dots. |
|
ESC @
[Name] | Initialize printer. | @ | |
[Format] | ASCII | ESC | |
| Hex | 1B | 40 |
[Description] | Decimal | 27 | 64 |
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. |
ESC D n1...nk NUL
[Name] | Set horizontal tab positions. |
|
| |||
[Format] | ASCII | ESC | D | n1...nk | NUL | |
| Hex | 1B | 44 | n1...nk | 00 | |
| Decimal | 27 | 68 | n1...nk | 0 | |
[Range] | 1 | < n < 255 |
|
|
|
|
| 0 | < k < 32 |
|
|
|
|
[Description] | Sets horizontal tab position. |
[Notes] | n specifies the column number for setting a horizontal tab position |
| from the beginning of the line. |
| k indicates the total number of horizontal tab positions to be set. |
ESC E n
[Name] | Turn emphasized mode on/off. |
| ||
[Format] | ASCII | ESC | E | n |
| Hex | 1B | 45 | n |
| Decimal | 27 | 69 | n |
[Range] | 0 < n < 255 |
|
|
|
[Description] | Turns emphasized mode on or off. |
[Notes] | When the LSB is 0, emphasized mode is turned off. |
| When the LSB is 1, emphasized mode is turned on. |
26