Commands 5-7
ESC 2
[Name] Select default line spacing
[Format] ASCII ESC 2
Hex 1B 32
Decimal 27 50
[Description] Sets the line spacing to 1/6 inch.
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
× vertical or horizontal motion unit].
ESC =
n
[Name] Set peripheral device
[Format] ASCII ESC =
n
Hex 1B 3D
n
Decimal 27 61
n
[Range] 1 ≤ n ≤ 255
[Description] Selects device to which host computer sends data, using
n
as follows:
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.
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.
Bit Off/On Hex Decimal Function
0
Off 00 0 Printer disabled.
On 01 1 Printer enabled
1-7 - - - Undefined.