Esc o, Esc q, Esc o esc q – Compuprint 4247-L03 Programmer Manua User Manual

Page 32: Disables the skipover perforation (ibm/epson), Sets the right margin. (epson)

Advertising
background image

ESC O

Disables the skipover perforation (IBM/EPSON).

ASCII Code

ESC O

Hexadecimal Value

X'1B' X'4F'

Decimal Value

27 79

This sequence sets the number of lines of the skipover perforation to the value 0. Any skip perforation set
by ESC N is cancelled.

ESC Q

Sets the right margin. (EPSON)

ASCII Code

ESC Q n

Hexadecimal Value

X'1B' X'51' n

Decimal Value

27 81 n

Range

1 ≤ n ≤ 225

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

Double Width

5

1 ≤ n ≤ 67

6 cpi

1 ≤ n ≤ 81

7.5 cpi

1 ≤ n ≤ 101

8.5 cpi

1 ≤ n ≤ 111

10 cpi

1 ≤ n ≤ 135

Normal

10 cpi

1 ≤ n ≤ 135

12 cpi

1 ≤ n ≤ 162

15 cpi

1 ≤ n ≤ 203

17 cpi

1 ≤ n ≤ 232

20 cpi

1 ≤ n ≤ 255

24 cpi

1 ≤ 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.

16

Programmer Manual

Advertising