
Input Data Format
•Each status shows the current state. Also, each status is 1 byte of data.
•The status is sent without confirming the receiving ready state of the host com- puter.
•Executed in the
•This command is processed during reception.
•In cases where the [10] h [04] h n (1 ≤ n ≤ 4) data string is received, even when it is other than this command, the user's attention is necessary because the printer's operation will be the same as when this command is executed.
[Example]
In ESC* m nl nh [dl....dk], d1 = [10] h, d2 = [04] h, d3 = [01] h.
•Do not insert this command in the code strings of other commands consisting of codes with 2 bytes or more.
[Example]
If the host side wants to send ESC 3 n, then DLE EOT 3 is sent just at the point where ESC 3 has been sent, the printer will process the command as ESC 3 [10] h. Therefore, the user's attention is necessary.
•In cases where ASB is valid due to GS a, it is necessary to distinguish between the status by this command and the ASB status.
Distinguishing the Sending Status
Since the values of specific bits in the status sent by this printer, it is possible to distinguish which command's status is received.
However, in the case where ASB is used, after confirming the first byte of ASB, process the next 3 bytes, excluding the XOFF, as ASB data. If this is not done, it will be impossible to distinguish between status messages such as ESC u and the second and subsequent bytes of ASB.
Command and Function | Status |
|
|
GS I | <0**0****>B |
|
|
GS r | <0**0****>B |
|
|
XON | <00010001>B |
|
|
XOFF | <00010011>B |
|
|
DLE EOT | <0**1**10>B |
|
|
ASB (1st byte) | <0**1**00>B |
|
|
ASB (2nd through 4th byte) | <0**0****>B |
|
|
7
51