Esc [ k – Compuprint MDP40B Programmer Manual User Manual

Page 103

Advertising
background image

A-101

Only the selection of Draft/Quality printing, DDL and the selected character generator
are maintained.

ESC [ K

Sets initial conditions. (IBM 2391+, 9068)

ASCII Code

ESC [ K n

1

n

2

init id

Hexadecimal Value 1B 5B 4B n

1

n

2

init id

Decimal Value

27 91 75 n

1

n

2

init id

This command causes the printer to reset to its initial status:

n

1

and n

2

The n

1

and n

2

parameters specify the number of bytes in the escape sequence

normally, n

1

= 2 and n

2

= always 0.

init

The init parameter specifies to which condition the printer should initialize,
normally init = 0,1,4,5,254,255:

0

Initializes printer to user-default settings. The download font remains
unchanged. If parameters are specified, they will overwrite the default
settings. If the emulation mode is changed, the download font will be
initialized. This command will only copy data from the selected macro, add
parameter changes, if any, and store in working RAM; the data stored in
the macro’s non-volatile RAM will not be affected.

1

Initializes printer to user-default settings. The download font is initialized. If
parameters are specified, they will overwrite the default settings. This
command will only copy data from the selected macro, add parameter changes,
if any, and store in working RAM; the data stored in the macro’s non-volatile
RAM will not be affected.

Advertising