beautypg.com

User's guide d-32 code sets – AMT Datasouth AMTACCEL-5350 User Manual

Page 210

background image

User's Guide

D-32 Code Sets

Table D-6. Epson and IBM Escape Sequences––continued

Function

ASCII

Hexadecimal

Decimal

Description

Vertical Spacing––continued

Reverse paper feed in ......

ESC j n

1B 6A n

27 106 n

This sequence reverse feeds the paper a set distance

1/216- or 1/180-inch

without changing the current line spacing. The sequence

increments

sets the distance as a number of 1/216- or 1/180-inch
increments, depending on the active emulation. When the
Epson JX emulation is active, the distance is in 1/216-inch
increments. When the Epson LQ-2550 emulation is
active, the distance is in 1/180-inch increments. For
example, with the Epson JX emulation active, to reverse
feed the paper 18/216 inch, the sequence is ESC j DC2.

Note: This sequence is not supported when the IBM
XL24 emulation is active.

Absolute and Relative Moving

Absolute move to ...............

ESC $ n1 n2

1B 24 n1 n2

27 36 n1 n2

This sequence moves the carriage a specific distance from

print position

the left print boundary. The values of variables n1 and n2
define the distance in 1/60-inch increments:

Distance in 1/60ths = (n2 x 256) + n1

For example, to move the carriage five inches to the right
of the left print boundary (300/60 inch), the correct n2
value is 1 and the correct n1 value is 44 (300 = (1 x 256)
+ 44). If the sequence specifies a distance beyond the
right print boundary, the printer ignores the sequence.

Relative move to ................

ESC \ n1 n2

1B 5C n1 n2

27 92 n1 n2

This sequence moves the carriage a set distance left or

print position

right from the current print position. The values of varia-
bles n1 and n2 define the distance in 1/180-inch
increments during letter- or memo-quality printing, and in
1/120-inch increments during draft-quality printing:

Letter/Memo: Distance in 1/180ths = (n2 x 256) + n1

Draft: Distance in 1/120ths = (n2 x 256) + n1

To move the carriage to the right, just compute the
number of increments to move and supply the correct n1
and n2 values. For example, to move the carriage two
inches to the right during letter-quality printing (360/180
inch), the correct n2 value is 1 and the correct n1 value is
104 (360 = (1 x 256) + 104).

User's Guide

D-32 Code Sets

Table D-6. Epson and IBM Escape Sequences––continued

Function

ASCII

Hexadecimal

Decimal

Description

Vertical Spacing––continued

Reverse paper feed in ......

ESC j n

1B 6A n

27 106 n

This sequence reverse feeds the paper a set distance

1/216- or 1/180-inch

without changing the current line spacing. The sequence

increments

sets the distance as a number of 1/216- or 1/180-inch
increments, depending on the active emulation. When the
Epson JX emulation is active, the distance is in 1/216-inch
increments. When the Epson LQ-2550 emulation is
active, the distance is in 1/180-inch increments. For
example, with the Epson JX emulation active, to reverse
feed the paper 18/216 inch, the sequence is ESC j DC2.

Note: This sequence is not supported when the IBM
XL24 emulation is active.

Absolute and Relative Moving

Absolute move to ...............

ESC $ n1 n2

1B 24 n1 n2

27 36 n1 n2

This sequence moves the carriage a specific distance from

print position

the left print boundary. The values of variables n1 and n2
define the distance in 1/60-inch increments:

Distance in 1/60ths = (n2 x 256) + n1

For example, to move the carriage five inches to the right
of the left print boundary (300/60 inch), the correct n2
value is 1 and the correct n1 value is 44 (300 = (1 x 256)
+ 44). If the sequence specifies a distance beyond the
right print boundary, the printer ignores the sequence.

Relative move to ................

ESC \ n1 n2

1B 5C n1 n2

27 92 n1 n2

This sequence moves the carriage a set distance left or

print position

right from the current print position. The values of varia-
bles n1 and n2 define the distance in 1/180-inch
increments during letter- or memo-quality printing, and in
1/120-inch increments during draft-quality printing:

Letter/Memo: Distance in 1/180ths = (n2 x 256) + n1

Draft: Distance in 1/120ths = (n2 x 256) + n1

To move the carriage to the right, just compute the
number of increments to move and supply the correct n1
and n2 values. For example, to move the carriage two
inches to the right during letter-quality printing (360/180
inch), the correct n2 value is 1 and the correct n1 value is
104 (360 = (1 x 256) + 104).

This manual is related to the following products: