
THERMAL RECEIPT PRINTER
17
ESC 2
[Name] Select default line spacing
[Format] ASCII ESC 2
Hex 1B 32
Decimal 27 50
[Description] Selects 1/ 6-inch line (approximately 4.23mm) spacing.
[Details] •The line spacing can be set independently in standard mode and in page mode.
[Reference]
ESC 3
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] inches.
[Details] • The line spacing can be set independently in standard mode and in page mode.
• The horizontal and vertical motion unit are specified by
GS P
. Changing the
horizontal or vertical motion unit does not affect the current line spacing.
• The
GS P
command can change the horizontal (and vertical) motion unit.
However, the value cannot be less than the minimum vertical movement
amount, and it must be in even units of the minimum vertical movement
amount.
• In standard mode, the vertical motion unit (y) is used.
• In page mode, this command functions as follows, depending on the starting
position of the printable area:
①
When the starting position is set to the upper left or lower right of the
printable area using
ESC T
, the vertical motion unit (y) is used.
②
When the starting position is set to the upper right or lower left of the print
able area using
ESC T
, the horizontal motion unit ( x) is used.
• The maximum paper feed amount is 1016 mm (40 inches). Even if a paper
feed amount of more than 1016 mm (40 inches) is set, the printer feeds the
paper only 1016 mm (40 inches).
[Default] Line spacing equivalent to approximately 4.23mm (1/6 inches).
[Reference]
ESC 2
,
GS P
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:
Bit Off/On
Hex Decimal
Function
0
Off 00 0
Printer
disabled
On 01
1
Printer
enabled
1-7 -
- -
Undefined
[Details]
W
hen the printer is disabled, it ignores all data except for error-recovery commands (
DLE EOT,