AMT Datasouth ACCEL-6300 User Manual page 212

Accel-6300 series
Table of Contents

Advertisement

Table D-6. Epson and IBM Escape Sequences––continued
Function
Relative move right ..................
to print position
Relative move right ..................
or left
Relative move down .................
or up
ASCII
Hexadecimal
Absolute and Relative Moving––continued
ESC d n1 n2
1B 64 n1 n2
ESC ESC h
1B 1B 68 n1 n2
n1 n2
ESC ESC v
1B 1B 76 n1 n2
n1 n2
Decimal
27 100 n1 n2
This sequence moves the carriage a specific distance to the
right from the current print position. The value of variables n1
and n2 define the distance in 1/120-inch increments:
Distance in 1/120ths = (n2 x 256) + n1
For example, to move the carriage three inches to the right (360/
120 inch), the correct n2 value is 1 and the correct n1 value is
104 (360 = (1 x 256) + 104). If the sequence specifies a distance
that would move the carriage beyond the right print boundary,
the carriage moves to that boundary.
27 27 104 n1 n2
This sequence moves the carriage a specific distance to the
right or left from the current print position. The values of
variables n1 and n2 define the distance in 1/240-inch increments:
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 (480 x 1/
240"), the correct n2 value is 1 and the correct n1 value is 224
(480 = (1 x 256) + 224).
To move the carriage to the left, subtract the number of
increments to move from 65,536 and then supply the cor-
rect n1 and n2 values. For example, to move the carriage two
inches to the left (480 x 1/240"), first subtract 480 from 65,536 to
get 65,056. Then, use the equation to determine the correct n1
and n2 values. In this example, the correct n2 value is 254 and
the correct n1 value is 32 (65,056 = (254 x 256) + 32). If the
sequence specifies a distance that would move the carriage
beyond the left or right print boundary, the carriage moves to
that boundary.
27 27 118 n1 n2
This sequence advances or reverse feeds the paper a speci-
fic distance from the current position. The values of variables
n1 and n2 define the distance in 1/240-inch increments:
To advance the paper, just compute the number of incre-ments
to advance and supply the correct n1 and n2 values. For
example, to advance the paper one inch (240 x 1/240"), the
correct n2 value is 0 and the correct n1 value is 240 (240 = (0 x
256) + 240).
User's Guide
Description
Distance in 1/240ths = (n2 x 256) + n1
Distance in 1/240ths = (n2 x 256) + n1
Code Sets D-33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Accel-6310Accel-6310dAccel-6350Accel-6350d

Table of Contents