ESC m
[Name] | Partial cut |
|
|
|
|
|
[Format] | ASCII | ESC | m |
|
|
|
| Hex | 1B | 6D |
|
|
|
| Decimal | 27 | 109 |
|
|
|
[Description] | Cut the paper partially. |
|
|
| ||
[Details] | During cutting, printing and paper feeding is stopped. | |||||
| This command is valid only when an | |||||
ESC p m n 1 n2 |
|
|
|
|
|
|
|
|
| ||||
[Name] | Generating the specified pulses |
| ||||
[Format] | ASCII | ESC | p | m | n1 | n2 |
| Hex | 1B | 70 | m | n1 | n2 |
[Range] | Decimal | 27 | 112 | m | n1 | n2 |
m = 0, 0 | n1 | 255 , 0 | n2 | 255 | ||
[Description] | The signals specified by | n1 | and | n2 are output | ||
| to the connector pin specified by | m . |
GS ! N
[Name] | Select character size |
|
|
| |||||
[Format] | ASCII |
| GS | ! | n |
|
| ||
| Hex |
|
|
| 1D | 21 | n |
|
|
[Range] | Decimal | 29 | 33 | n |
|
| |||
0 | n |
| 255 |
|
|
|
| ||
| (1 | vertical number of times | 8, 1 horizontal number of | ||||||
[Description] | times |
| 8) |
|
|
|
| ||
Selects the character height using bits 0 to 2 and selects the | |||||||||
| character width using bits 4 to 7, as follows: | ||||||||
|
|
|
|
|
|
|
| ||
| Bit |
|
| Function | Hex Number | Decimal Number | |||
| 0 |
|
|
|
|
|
|
|
|
| 1 |
|
|
| Character height selection. See Table 2 | ||||
| 2 |
|
|
| |||||
|
|
|
|
|
|
|
|
| |
| 3 |
|
|
|
|
|
|
|
|
| 4 |
|
|
|
|
|
|
|
|
| 5 |
|
|
| Character width selection. See Table 1 | ||||
| 6 |
|
|
| |||||
|
|
|
|
|
|
|
|
| |
| 7 |
|
|
|
|
|
|
|
|
ESC M n
[Name] | Select character fonts |
| ||
[Format] | ASCII | ESC | M | n |
| Hex | 1B | 4D | n |
| Decimal | 27 | 77 | n |
[Range] | n =0,1,48,49 |
|
| |
[Description] | Selects character fonts. |
|
Table 1 Character Width Selection
Hex | Decimal | Width |
00 | 0 | 1 x (Standard) |
|
|
|
10 | 16 | 2 x (Double width) |
20 | 32 | 3 x |
|
|
|
30 | 48 | 4 x |
|
|
|
40 | 64 | 5 x |
50 | 80 | 6 x |
60 | 96 | 7 x |
70 | 112 | 8 x |
Table 2 Character Height Selection
Hex | Decimal | Width |
00 | 0 | 1 x (Standard) |
|
|
|
01 | 1 | 2 x (Double height) |
02 | 2 | 3 x |
|
|
|
03 | 3 | 4 x |
|
|
|
04 | 4 | 5 x |
05 | 5 | 6 x |
06 | 6 | 7 x |
07 | 7 | 8 x |
| N | Function |
|
| 0,48 | Character font A (12 x 24) selected. |
|
| 1,49 | Character font B (9 x 17) selected. |
|
[Details] | The ESC ! command can also select the character fonts. | ||
| However, the setting of the last received command is effective. |
[Details] | If n is outside of the defined range, this command is ignored. |
| In standard mode, the vertical direction is the paper feed direction, |
| and the horizontal direction is perpendicular to the paper feed |
| direction. However, when character orientation changes in 90. |
| |
| horizontal directions are reversed. |
| In page mode, vertical and horizontal directions are based on the |
| character orientation. |
| When characters are enlarged with different sizes on one line, all |
| the characters on the line is aligned at the baseline. |
| The ESC ! command can also turn |
| modes on or off.However, the setting of the last received command |
[Default] | is effective. |
n = 0 | |
[See Also] | ESC ! |
|