Esc p – Compuprint MDP40B Programmer Manual User Manual

Page 58

Advertising
background image

A-56

ESC P

Selects 10.5 point, 10 cpi. (EPSON ESC/P2)

ASCII Code

ESC P n

Hexadecimal Value

1B 50 n

Decimal Value

27 80 n

This command selects 10.5-point, 10-cpi character printing. It resets the horizontal
motion index (HMI) set with the ESC c command. If you change the pitch during
proportional mode (selected with the ESC p command) the change takes effect when
the printer exits proportional mode.

ESC P

Sets or cancels proportional printing. (IBM Proprinter XL24/XL24E, 2391+)

ASCII Code

ESC P n

Hexadecimal Value

1B 50 n

Decimal Value

27 80 n

This code is a terminator code; when received it causes all data in the print buffer to
be printed out. Then if n parameter is equal to 1, the subsequent data is printed in
proportional mode. If n parameter is equal to 0, proportional mode is reset.

If the any horizontal spacing command is sent to the printer when the proportional
printing is set, the command will be stored and will be activated as soon as the
proportional printing will be reset.

Advertising