Esc d, Esc e, Esc i – Compuprint 4247-L03 Programmer Manua User Manual

Page 30: Spaces forwards relative dot position. (ibm), Spaces backward relative dot position. (ibm), Sets left margin. (epson)

Advertising
background image

affected by changing the horizontal spacing. The physical position of the tab stop depends on the
horizontal spacing in operation when ESC D is used. The ESC D 0 cancels all active tab stops.

ESC d

Spaces forwards relative dot position. (IBM)

ASCII Code

ESC d n

1

n

2

Hexadecimal Value

X'1B' X'64' n

1

n

2

Decimal Value

27 100 n

1

n

2

Range

0 ≤ n

1

n

2

255

This command moves the print carriage (n

1

+ (n

2

*256))/120 of an inch displacement on the right of its

current dot position. If the selected position is outside the current right margin, it is forced to the last
column.

ESC e

Spaces backward relative dot position. (IBM)

ASCII Code

ESC e n

1

n

2

Hexadecimal Value

X'1B' X'65' n

1

n

2

Decimal Value

27 101 n

1

n

2

Range

0 ≤ n

1

n

2

255

This command moves the print carriage (n

1

+ (n

2

*256))/120 of an inch displacement on the left of its

current dot position. If the selected position is outside the current left margin, it is forced to the first
column.

ESC I

Sets left margin. (EPSON)

ASCII Code

ESC I n

Hexadecimal Value

X'1B' X'6C' n

Decimal Value

27 108 n

Range

0 ≤ n ≤ 255

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

Character Width

Horizontal Spacing

Range of columns

Double Width

5

0 ≤ n ≤ 67

6 cpi

0 ≤ n ≤ 80

7.5 cpi

0 ≤ n ≤ 100

8.5 cpi

0 ≤ n ≤ 114

10 cpi

0 ≤ n ≤ 134

14

Programmer Manual

Advertising