Unisys E-@CTION EFP9800 User Manual

Page 147

Advertising
background image

EFP9800 ESC/POS Commands

3255 4073– 002

6– 57

Real Time Commands

The following three situations must be understood when using real time
commands.

1. First, the printer performs the real time command upon receiving it and will

transmit status regardless of the condition of the DSR signal.

2. Second, the printer transmits status whenever it receives the real time

status transmission command sequence, even if that sequence happens to
occur within the data of another command, such as graphics data.

In this case, the sequence is handled correctly for its intended use.

3. Care must be taken not to send a real time command within the data

sequence of another command that consists of two or more bytes.

In this case the printer will use the real time command sequence bytes
instead of the other command’s bytes when finally performing that other
command from the buffer. The other command will not be performed
correctly.

These three situations generally preclude use of standard DOS drivers for the
serial communication ports when using real time commands.

If RS-232C communications, another consideration is that an application should
take care not to let the buffer fill up with real time commands when the printer
is busy at the RS-232C interface. A busy condition at the RS-232C interface can
be determined by bit 3 of the response to DLE EOT 1. The reason for a
particular busy condition can be determined by other responses to DLE EOT n.

Although the printer responds to real time commands when it is busy, it will
place them into the buffer behind any other data there, and flush them out in
the order in which they were received. When the printer is busy due simply to
buffer full (that is, it can’t print data as fast as it can receive it), then data
continues to be processed out of the buffer at approximately print speed and
the real time commands will eventually get flushed out.

When the printer is busy due to an error condition, then data stops being
processed out of the buffer until the condition clears one way or another. In
either case, but more quickly in the case of an error condition, the buffer can fill
with real time commands.

When the DLE sequences are being used, the last byte stored when the buffer
fills up could be the DLE code, with no room for the subsequent EOT or ENQ.

Advertising