Esc p – Compuprint 10200 Programmer Manual User Manual

Page 49

Advertising
background image

Commands

45

ESC P

Sets or cancels proportional printing. (IBM)

ASCII Code

ESC P

n

Hexadecimal Value

1B 50

n

Decimal Value

27 80

n

Range

1 <

n

< 255

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.

ESC p

Sets or cancels proportional printing. (EPSON)

ASCII Code

ESC p

n

Hexadecimal Value

1B 70

n

Decimal Value

27 112

n

Range

1 <

n

< 255

This command selects the proportional or fixed spacing according to the following values:

n

Proportional Printing

0

Returns to current fixed character pitch

1

Selects proportional character spacing

The changes made to the fixed-pitch setting with ESC P, ESC M or ESC g commands during
proportional mode take effect when the printer exits proportional mode. The printer
automatically switches to LQ mode when the printer exits proportional mode.

Advertising