Chapter 3 Configuring The KSSM Emulation With Control Codes
Master Select In DBCS Mode
ASCII Code FS ! n |
|
|
|
| |||
Hex Code | 1C 21 n |
|
|
| |||
Dec Code | 28 33 n |
|
|
| |||
Purpose | Selects any combination of several font attributes and | ||||||
|
| enhancements by setting or clearing the appropriate bit in the | |||||
|
| n parameter, as shown below: |
| ||||
|
|
|
|
|
|
|
|
Bit |
| On/Off |
| Hex | Dec | Function | Equivalent |
|
|
|
|
|
|
|
|
0 |
| Off |
| 00 | 0 | Cancel vertical printing | FS K |
|
|
|
|
|
|
|
|
|
| On |
| 01 | 1 | Select Vertical printing | FS J |
|
|
|
|
|
|
|
|
1 |
| Off |
| 00 | 0 | Cancel half width | FS DC2 |
|
|
|
|
|
|
|
|
|
| On |
| 02 | 1 | Select half width | FS SI |
|
|
|
|
|
|
|
|
2 |
| Off |
| 00 | 0 | Cancel double width | ESC W 0 |
|
|
|
|
|
|
|
|
|
| On |
| 04 | 1 | Select double width | ESC W 1 |
|
|
|
|
|
|
|
|
3 |
| Off |
| 00 | 0 | Cancel double height | FS X 0 |
|
|
|
|
|
|
|
|
|
| On |
| 08 | 1 | Select double height | FS X 3 |
|
|
|
|
|
|
|
|
4 |
| Off |
| 00 | 0 | Select quarter printing | FS r n |
|
|
|
|
|
|
|
|
|
| On |
| 10 | 16 | Cancel quarter printing | FS DC2 |
|
|
|
|
|
|
|
|
5 |
| Off |
| 00 | 0 | Select superscript | FS r 0 |
|
|
|
|
|
|
|
|
|
| On |
| 20 | 32 | Select subscript | FS r 1 |
|
|
|
|
|
|
|
|
6 |
| Off |
| 00 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| On |
| 40 | 64 |
|
|
|
|
|
|
|
|
|
|
7 |
| Off |
| 00 | 0 | Cancel underline | FS - 0 |
|
|
|
|
|
|
|
|
|
| On |
| 80 | 128 | Selects underline | FS - 1 |
|
|
|
|
|
|
|
|
|
| Where: |
|
|
|
|
0 <= n <= 255
Comment This command cancels any attributes or enhancements that are not selected.
48