
11. Online Information
The host should wait for any reponse before sending further data. If the host sends data to the printer before the printer responds to a request, the printer will cancel the reponse by sending a carriage return with no data to the host. It then processes the new data.
Exception Packets
This section describes exception packets, including their syntax.
Syntax | {E,"#,[message]" p } | |
E | is a constant, indicating that the data stream is an | |
| exception packet. | |
# | A code indicating what the printer should do. Values are | |
| as follows: | |
| 0 | Print message on line 1 of the display. |
| 1 | Provide input. |
| 2 | Print message on line 1 of the display and provide input. |
| 3 | Sound a tone. |
| 4 | Print message on line 1 of the display and sound a tone. |
| 5 | Sound a tone and provide input. |
| 6 | Print message on line 1 of the display, sound a tone, |
|
| and provide input. |
message | A message used to perform the action specified in #. It | |
| cannot be more than 15 characters long. Use message | |
| only with actions 0, 2, 4, and 6. If you specify message | |
| with actions 1, 3, or 5, the printer will ignore it. | |
Online Information
Example {E,"2,Scan bar code" p }
This example displays Scan bar code on line 1 of the printer display and enables the printer operator to provide input to the host.
Printer Status Codes
The printer sends one of the following return codes to the host after receiving a packet