ESC m
[Name]
[Format]
[Description]
[Details]
Partial cut
ASCII ESC m
Hex 1B 6D
Decimal 27 109
Cut the paper partially.
During cutting, printing and paper feeding is stopped.
This command is valid only when an auto-cutter is connected.
ESC p m n1 n2
[Name]
[Format]
[Range]
[Description]
Generating the specified pulses
ASCII ESC p m n1 n2
Hex 1B 70 m n1 n2
Decimal 27 112 m n1 n2
m = 0, 0 n1 255, 0 n2 255
The signals specified by n1 and n2 are output
to the connector pin specified by m .
21
GS ! N
[Name]
[Format]
[Range]
[Description]
[Details]
[Default]
[See Also]
Select character size
ASCII GS ! n
Hex 1D 21 n
Decimal 29 33 n
0 n 255
(1 vertical number of times 8, 1 horizontal number of
times 8)
Selects the character height using bits 0 to 2 and selects the
character width using bits 4 to 7, as follows:
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.
clockwise-rotation mode, the relationship between vertical and
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 double-width and double-height
modes on or off.However, the setting of the last received command
is effective.
n = 0
ESC !
Hex
00
10
20
30
40
50
60
70
Decimal
0
16
32
48
64
80
96
112
1 x (Standard)
2 x (Double width)
3 x
4 x
5 x
6 x
7 x
8 x
Width
Table 1 Character Width Selection
Hex
00
01
02
03
04
05
06
07
Decimal
0
1
2
3
4
5
6
7
1 x (Standard)
2 x (Double height)
3 x
4 x
5 x
6 x
7 x
8 x
Width
Table 2 Character Height Selection
Bit
0
1
2
3
4
5
6
7
Function Hex Number Decimal Number
Character height selection. See Table 2
Character width selection. See Table 1
22
RP-3180 USER'S MANUAL RP-3180 USER'S MANUAL
ESC M n
[Name]
[Format]
[Range]
[Description]
[Details]
Select character fonts
The ESC ! command can also select the character fonts.
However, the setting of the last received command is effective.
ASCII ESC M n
Hex 1B 4D n
Decimal 27 77 n
n =0,1,48,49
Selects character fonts.
N
0,48
1,49
Function
Character font A (12 x 24) selected.
Character font B (9 x 17) selected.