7) Overall print mode setting: <<ESC ! | n>> |
|
| |||
Code | : [1B] h + [21] h + n | * [00≤n≤FF] h | ||||
Sets print mode. “n” has following meanings |
|
| ||||
| Bit | Function |
|
| Values | |
|
| 0 |
| 1 | ||
|
|
|
|
| ||
| 0 | Character font |
| Font A |
| Font B |
| 1 | Undefined |
| - |
| - |
| 2 | Undefined |
| - |
| - |
| 3 | Bold |
| Reset |
| Set |
| 4 | Double height |
| Reset |
| Set |
| 5 | Double width |
| Reset |
| Set |
| 6 | Undefined |
| - |
| - |
| 7 | Underline |
| Reset |
| Set |
*If double height and double width are set at the same time quadruple character will be formed.
*All of the printed characters will be underlined except for the 90° rotated characters and spaces created by horizontal tab.
*Underline width is determined by the value set in [Underline set/reset] section.
The default value is “1”.
*Different sizes of character mixed such as double width and normal size can be printed.
*The default value of “n” is [00]h.
8)Down load characters set/reset: <<ESC % n>>
Code : [1B] h + [25] h + n* [00≤n≤FF]h
Setting or resetting the characters to be downloaded.
*Unable to use download character set & download bit image set at the same time.
*Only LSB (b0) is valid for “n” value. LSB (b0) has the following meanings.
b0 Function
0Resets download chraracter
1Sets download chraracter
Default value is “n” = [00]h
9) Definition of download character:<< ESC & s n m | a | Dn>> | |
Code | : [1B ] h + [26] h + s + n + m + a + Dn |
| |
|
| * [s = 03 ] h | |
|
| * | [20≤n≤7E ] h |
|
| * | [20≤m≤7E ] h |
| * font A [ 00≤a≤0C ] h | * font B [ 00≤a≤09] h |
Definition of download character( such as alpha numeric).
1.“s” indicates a number of bytes in a vertical direction and “a” is a number of dots in horizontal direction.
2.“n” indicates the start character code, and “m” means the end character code. If only 1 character should be defined, then n = m.
3.Definable characters are from <20>h to <7E>h in ASCII code (95 characters).
4.“Dn” indicates the data to be defined. It indicates the “a” dots pattern from the left. Remaining area on the right of a character is filled with spaces.
5.Once a download character is defined, it remains valid until the download character is redefined, printer is initialized, reset signal is input, or the power is turned off.
6.Only area specified will be reset.
21