
--------------
THERMAL RECEIPT PRINTER-
------------
20
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.
[Details]
•
The DIP switch settings are not checked again.
•
The data in the receive buffer is not cleared.
•
The macro definition is not cleared.
•
The NV bit image data is not cleared.
•
The data of the user NV memory is not cleared.
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.
[Details]
•
The horizontal tab position is stored as a value of [character width
╳
n
]
measured from the beginning of the line. The character width includes the
right-side character spacing, and double-width characters are set with twice the
width of normal characters.
•
This command cancels the previous horizontal tab settings.
•
When setting
n
= 8, the print position is moved to column 9 by sending
HT
.
•
Up to 32 tab positions (
k
= 32) can be set. Data exceeding 32 tab positions is
processed as normal data.
•
Transmit
[ n] k
in ascending order and place a NUL code 0 at the end.
•
When
[ n] k
is less than or equal to the preceding value [
n] k-
1, tab setting is
finished and the following data is processed as normal data.
•
ESC D NUL
cancels all horizontal tab positions.
•
The previously specified horizontal tab positions do not change, even if the
character width changes.
•
The character width is memorized for each standard and page mode.
[Default] The default tab positions are at intervals of 8 characters (columns 9, 17, 25,...) for
font A (12
╳
24).
[Reference]
HT
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