Print Position - Genicom GEK 00031B Programmer's Manual

Genicom printer user manual
Table of Contents

Advertisement

PRINT POSITION

ESC <
ESC U n
ESC $ n1 n2
GEK-00029A
Select Unidirectional Mode (1 Line): Forces unidirectional print,
from right to left, in the line in which this command is embedded.
Unidirectional printing begins with the first character following
receipt of this command and is canceled by a carriage return.
Decimal:
27 60
Hex:
1B 3C
BASIC:
CHR$(27);"<";
Turn Unidirectional Printing ON/OFF: Causes the printer to print
in only one direction [prints with the shuttle moving from right to left)
or in both directions according to the value of parameter n as follows:
n
l
0
When turning unidirectional printing off, the command should be the
first character in the line to be printed bidirectionally.
Decimal:
27 85 n
Hex:
1B 55 nH
BASIC:
CHR$(27);"U";CHR$(n);
Set Absolute Print Position: Specifies the distance from the current
left margin where subsequent characters are to be printed. If the
position specified is beyond the right margin, this command
sequence is ignored and the previous settings remain in effect.
Argument units are 1/60 Inch, expressed as n1 + (n2 x 256).
Example: To establish a position 6.3 inches from the left margin:
6.3 x 60 = 378 (total number of 1/60-tnch increments)
378/256 =1 with a remainder of 122
n1 = 122
n2 = 1
Expressed in BASIC this is:
CHR$(27);"$";CHR$(122);CHR$(1);
Decimal:
27 36 (n1) (n2)
Hex:
1B 24 (n1H) (n2H)
BASIC
CHR$(27);"$";CHR$(nl);CHR$(n2);
Effect
Unidirectional printing on
Unidirectional printing off
139
5000 Series Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5000 series

Table of Contents

Save PDF