Esc [ c – Compuprint MDP40B Programmer Manual User Manual
Page 99

A-97
ESC [ c
Send a device-dependent message to an ASCII printer. (IBM 4722, 9068)
ASCII Code
ESC [ c n c m
Hexadecimal Value 1B 5B 63 n c m
Decimal Value
27 91 99 n c m
The message command sends a device-dependent message to an ASCII printer, where:
n
defines the number of message bytes.
c
First byte of the message in a device-dependent format. It defines the printer
component type:
2 = PRINT
3 = REMS
m
Second byte of the message in a device-dependent format. It defines the type
of message that is contained in the rest of message bytes:
23 = Write to indicators
52 = Media positioning
79 = Set print speed
If the header information is not in the form described, or the message length is less
than two, the printer discards the message command.
Write to Indicators:
Message Behavior
Write indicators
Lights/unlights the
STATION 1
and
STATION 2
leds.