beautypg.com

Esc q, Esc r – Compuprint 9058 Programmer Manual User Manual

Page 21

background image

EPSON/IBM Mode

A78408098-003

19

ESC Q

Sets the right margin (10 cpi). (EPSON)

ASCII Code

ESC Q n

Hexadecimal Value

1B 51 n

Decimal Value

27 81 n

Range

1 < n < 255

This code sets the line length at the current horizontal spacing. It
must be sent at the beginning of the line. The n parameter specifies
the number of columns and for each type of horizontal spacing there
is a range of values, as shown in the following table:

Character Width

Horizontal Spacing

Range of columns

5 cpi

0 < n

< 67

6 cpi

0 < n

< 81

7.5 cpi

0 < n

< 102

8.5 cpi

0 < n

< 116

Double Width

10 cpi

0 < n

< 136

10 cpi

0 < n

< 136

12 cpi

0 < n

< 163

15 cpi

0 < n

< 204

17 cpi

0 < n

< 233

Normal

20 cpi

0 < n

< 255

Any value outside the accepted range is ignored and the previous
setting remains in effect. The right margin must be greater than the
left margin. The physical position set for the right margin does not
change if the horizontal spacing is modified.

ESC R

Sets all tabs to power-on settings. (IBM)

ASCII Code

ESC R

Hexadecimal Value

1B 52

Decimal Value

27 82

This command sets horizontal tab stops every eight columns starting
from column 9 and cancels all vertical tab stops.

This manual is related to the following products: