34
ESC 2
[Name] Select 1/6-inch line spacing
[Format] ASCII ESC 2
Hex 1B 32
Decimal 27 50
[Description] Selects 1/6-inch line spacing.
ESC 3 n
[Name] Set line spacing
[Format] ASCII ESC 3
n
Hex 1B 33
n
Decimal 27 51
n
[Range] Sets the line spacing to [
n
X (vertical or horizontal motion unit)]
inches.
[Description] 0
≤
n
≤
255
ESC = n
[Name] Select peripheral device
[Format] ASCII ESC =
n
Hex 1B 3D
n
Decimal 27 61
n
[Range] 0
≤
n
≤
255
[Description] Selects the device to which the host computer sends data, using n
as follows:
Bit Off/On Hex
Decimal
Function
Off 00 0
Printer
disabled.
0
On 01 1
Printer
enabled.
1 - - -
Undefined.
2 - - -
Undefined.
3 - - -
Undefined.
4 - - -
Undefined.
5 - - -
Undefined.
6 - - -
Undefined.
7 - - -
Undefined.
ESC ? n
[Name] Cancel user-defined characters
[Format] ASCII ESC ?
n
Hex 1B 3F
n
Decimal 27 63
n
[Range] 32
≤
n
≤
126
[Description] Cancels user-defined characters.
35
ESC @
[Name] Initialize printer
[Format] ASCII ESC @
Hex 1B 40
Decimal 27 64
[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.
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 positions.
●
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.
●
When the LSB of n is 0, emphasized mode is turned off.
●
When the LSB of n is 1, emphasized mode is turned on.
ESC J
n
[Name] Print and feed paper
[Format] ASCII ESC J
n
Hex 1B 4A
n
Decimal 27 74
n
[Range] 0
≤
n
≤
255
[Description] Prints the data in the print buffer and feeds the paper [
n
X
(vertical or horizontal motion unit)] inches.