ESC u
[Name] | Transmit peripheral device status |
|
| ||||
[Format] | ASCII | ESC | u | n |
| ||
| Hex | 1B | 75 | n |
| ||
| Decimal | 27 | 117 | n |
| ||
[Range] | n = 0, 48 |
|
|
|
|
|
|
[Description] | Transmits the peripheral device status of 1 byte. | ||||||
[Notes] | • The peripheral device status to be transmitted is as follows: | ||||||
|
|
|
|
|
|
|
|
| Bit | Binary |
| Hex |
| Decimal | Status |
| 0 | 0 |
|
|
|
| Drawer |
| 1 |
|
|
|
| Drawer | |
|
|
|
|
|
| ||
| - |
| - |
| - | Undefined. | |
| 4 | 0 |
| 00 |
| 0 | Not used. Fixed to Off. |
| 5,6 | - |
| - |
| - | Undefined. |
| 7 | 0 |
| 00 |
| 0 | Not used. Fixed to Off. |
ESC v
[Name] | Transmit paper sensor status |
| |
[Format] | ASCII | ESC | v |
| Hex | 1B | 76 |
| Decimal | 27 | 118 |
[Description] | Transmits the status of paper sensor(s) as 1 byte of data. | |||||||||
[Notes] | • The paper sensor status to be transmitted is as follows: | |||||||||
| Bit |
| Binary |
|
| Hex | Decimal |
|
| Status |
| 0,1 |
| 00 |
| 00 | 0 |
|
| Paper near end sensor: paper adequate. | |
|
|
| 11 |
| 03 | 3 |
|
| Paper near end sensor: paper near end. | |
| 2,3 |
| 00 |
| 00 | 00 |
|
| Paper end sensor: paper present. | |
|
| 11 |
|
| 0C | 12 |
|
| Paper end sensor: paper not present. | |
|
|
|
|
|
|
| ||||
| 4 |
| 0 |
| 00 | 0 |
|
| Not used. Fixed to Off. | |
| 5,6 |
| - |
| - | - |
|
| Undefined. | |
| 7 |
| Off | 00 | 0 |
|
| Not used. Fixed to Off. |
ESC {
[Name] | Turn |
| ||
[Format] | ASCII | ESC | { | n |
| Hex | 1B | 7B | n |
| Decimal | 27 | 123 | n |
[Range] | 1 ≤ n ≤ 255 |
|
|
|
[Default] | n = 0 |
|
|
|
[Description] | Turns |
-When the LSB of n is 0,
-When the LSB of n is 1,