Esc j, Esc r – Compuprint MDP40B Programmer Manual User Manual

Page 189

Advertising
background image

C-47

ESC j

Status request. (Olivetti PR2, PR40+, 2845)

ASCII Code

ESC j

Hexadecimal Value

1B 6A

Decimal Value

27 106

This command requests the printer to indicate its synchronous status. Timing of the
status reply is depends on the STATUS REQUEST setup parameter. If NO WAIT is
selected, the reply will be provided as soon as possible and simultaneously with the
print or with paper movements. If WAIT is selected, the status reply will be provided
at the end of the print.

The command gives a command specification error (The request is fulfilled in any
case) if it is sent inside a printing field.

ESC r

Synchronous basic machine status. (Olivetti PR2, PR40+, 2845)

ASCII Code

ESC r x

Hexadecimal Value

1B 72 x

Decimal Value

27 114 x

Answer sent by the printer on receiving command ESC j.

The bits of parameter "x" indicate the printer status which may be WARNING or
ERROR.

The WARNING status indicates that the operation was performed correctly.

The ERROR status indicates that the operation has not been performed or was
performed incorrectly.

The bits of parameter "x" may have the following meanings:

Advertising