(23) Selecting Character Code Table (ESC t n)
Code : [1B]h + [74]h + n
* {0 ≤ n ≤ 1} The data is described with the hexadecimal code.
Selecting Page n on the character code table:
•"n" has the following meanings.
n (Hex) | Type |
0 | IBM character No. 2 |
(24) Transmitting the printer status (ESC v)
Code : [1B]h + [76]h
Transmits the current printer status.
•The transmitted status is of 1 byte and its contents are as shown in the table below.
•In case of DTR/DSR control, only one byte is transmitted after confirming that the host is ready to receive (DSR signal is in the Space mode). In case of XON/XOFF control, only one byte is transmitted without confirming the state of the D SR signal.
•In case of DTR/DSR control, if the host is not ready to receive (DSR signal is in the Mark mode), it waits to get ready to receive.
Bit |
| Function |
| Value | |
| 0 |
| 1 | ||
|
|
|
| ||
0 |
| Paper near end | With Paper |
| Without Paper |
1 |
| Undefined |
|
|
|
2 |
| Paper end | With Paper |
| Without Paper |
3 |
| Undefined |
|
|
|
4 |
| Unused | Fixed to 0 |
| – |
5 |
| Undefined |
|
|
|
6 |
| Undefined |
|
|
|
7 |
| Undefined |
|
|
|
[Caution] | Serial interface only |
|
|
|
41 | CITIZEN |