7
Chapter 7 Print Control Codes
66
(21) Printer initialization (ESC @)
Code: [1B] h + [40] h
Clears data stored in the internal print buffer and sets each setting in its initial state
(default state).
• Data in the internal input buffer are not cleared.
• Macro definition contents are not cleared.
(22) Setting the horizontal tab position (ESC D n NUL)
Code: [1B] h + [44] h + n + [00] h
* (1 ≤ n ≤ FF) Data are expressed in Hex code.
This command sets the horizontal tab position.
• n indicates the number of lines from the left margin to the horizontal tab position.
• The tab position is set at the character width x n position from the top of the line.
At this time, the character width includes the space to the right of the character and
when the horizontal enlargement rate is 2 or greater, the character width is also
made larger corresponding to the enlargement rate.
• The maximum number of places a tab position can be set is 32 positions. Settings
exceeding this number are disregarded.
• ESC D NUL clears all the set tab positions. After clearing, the horizontal tab (HT)
is disregarded.
• The initial value is every 8 characters for Font A and the amount of right space at
0 (9th column, 17th column...).
(23) Specifying/Clearing bold characters (ESC E n)
Code: [1B] h + [45] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
This command specifies and clears bold characters.
• The least significant bit (n0) in n is valid.
• Control by the least significant bit (n0) is as follows.
n0 = 0: Clears bold printing.
n0 = 1: Specifies bold printing.
• This is valid for all characters.
• The dot configuration of bold characters is one dot each added to each character
horizontally.