Control Codes
[ENQ] <23> |
| Inquire | |
ASCII | [ENQ] <23> |
| |
Hexadecimal | 05H 17H |
| |
Decimal | <5> <23> |
| |
Function | The [ENQ] <23> command reports on the | ||
Response | [ACK] <23> <Report> <0> | ||
Where: |
|
|
|
<23> | is the echo of command ID. The report is a null terminated string with the | ||
following format: |
|
| |
12345[CR][LF] |
| (Free user store) | |
12345 Type Name…[CR][LF] | (First entry) etc. | ||
12345 Type Name…[CR][LF] | (Last entry) <0> |
Type The type field describes the type of information.
M = macro
C = character definition
[ENQ] <24> | Inquire color status | |
ASCII | [ENQ] <24> | |
Hexadecimal | 05H 18H | |
Decimal | <5> <24> | |
Function | The [ENQ] <24> command reports Color Cartridge status. | |
Response | [ACK] <24> <Length+40><n1><n2><n3> | |
Where |
|
|
<24> | Is the echo of command | |
<n1> | Secondary Color 0 = Not supported, 1 = Red, 2 = Green, | |
| 4 = Blue | |
<n2> | Primary Color 16 = Black | |
<n3> | Color Status | |
| bit 0 = Not defined |
bit 1 = Not defined
bit 2 = Secondary Color Not Supported bit 3 = 0 always
bit 4 = 0 always bit 5 = 0 always bit 6 = 1 always bit 7 = 0 always
Page 170 |
|
|
|