1-16 Command Descriptions Rev. A
ESC V n
[Name] Turn 90° clockwise rotation mode on/off
[Format] ASCII ESC V n
Hex 1B 56 n
Decimal 27 86 n
[Range] n = 0, 1, 48, 49
ESC V n turns 90° clockwise rotation mode on or off. When n=1 or 49, 90° clockwise rotation mode is
turned on; when n=0 or 48, this mode is turned off. The default setting is n=0. In standard mode, this
command is enabled only when processed at the beginning of a line. In page mode, an internal flag is
activated and this command is enabled when the printer returns to standard mode. This command is
effective for all characters (except for HRI characters).
GS ! n
[Name] Select character size
[Format] ASCII GS ! n
Hex 1D 21 n
Decimal 29 33 n
[Range] 0 ≤ n ≤ 255
(1 ≤ vertical number of times normal font size ≤ 8,
1 ≤ horizontal number of times normal font size ≤ 8)
GS ! n selects the character height (vertical number of times normal font size) using bits 0 to 3 and
selects the character width (horizontal number of times normal font size) using bits 4 to 7, as follows.
The default setting is n=0. This command is effective for all characters (except for HRI characters). If
n is outside of the defined range, this command is ignored.
Program Example Print Sample
PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180);
PRINT #1, CHR$(&H1B);" ";CHR$(20);
←
Set right-side spacing
PRINT #1, CHR$(&H1B);"3";CHR$(15);
←
Set line spacing
PRINT #1, CHR$(&H1B);"V";CHR$(1);
←
Select
GOSUB printing
PRINT #1, CHR$(&H1B);"2";
←
Set paper feed amount
PRINT #1, CHR$(&H1B);"V";CHR$(0);
←
Cancel
GOSUB printing
END
Printing
PRINT #1, "AAAAA"; CHR$(&HA);
PRINT #1, "BBBBB"; CHR$(&HA);
PRINT #1, "CCCCC"; CHR$(&HA);
RETURN
ABC
ABC
ABC
ABC
ABC
ABC
Right-side spacing
Line
spacing
ESC V
1
Line
spacing
ESC V
0
Right-side spacing
AAAAA
BBBBB
CCCCC
A
B
C