Microcom 814M Programming Manual User Manual
Page 25

21
ESC @
[Name]
[Format]
[Description]
[Notes]
Initialize printer
ASCII
ESC
@
Hex
1B
40
Decimal 27
64
Clears the data in the print buffer and resets the printer mode to the default mode when
the power was turned on.
The bit-image data or user-defined characters in RAM are cleared.
The macro definition is not cleared.
The NV bit image data is not cleared.
ESC D n1...nk NUL
[Name]
[Format]
[Range]
[Description]
[Notes]
[Example]
Set horizontal tab positions
ASCII
ESC
D n1... nk NUL
Hex
1B
44
n1...nk
00
Decimal 27
68 n1...nk 0
1 ≤ n ≤ 255
0 ≤ k ≤ 32
Sets horizontal tab positions.
♦ n+1 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.
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.
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 independent for each standard and page mode.
When n = 8, printing position is at the ninth line