Genicom GEK 00031B User Manual

Page 117

Advertising
background image

GEK-00029B

5000 Series Programmer’s Manual

117

ESC P n

Select Proportional Spacing

If n = odd number, proportional print enabled.

If n = even number, proportional print disabled.

Decimal:

27 80 <n>

Hex:

1B 50

BASIC:

CHR$(27);"P<n>";

ESC Q n

Deselects IBM Proprinter (parallel interface only): Stops printer
from accepting data from the host. The host must reset the printer or

select it using DC1. This sequence is intended for diagnostic
purposes only. The variable (n) is 22.

Decimal:

27 81 22

Hex:

1B 51 16

BASIC:

CHR$(27);"Q";CHR$(22);

ESC R

Set All Tabs to Power On Settings: Sets horizontal tabs every eight
positions starting at column 9 and clears all vertical tabs.

Decimal:

27 82

Hex:

1B 52

BASIC:

CHR$(27);"R";

ESC S n

Set Superscript/Subscript On: If n is 1, then subscript (1/2 inch

below the line) is selected; if it is 0, then superscript (1/2 inch above
the line) is selected. Since these two attributes are mutually
exclusive, an ESC S command overrides any previous ESC S setting.
Also, see ESC T below.

n = 1 subscript

n = 0 superscript

Decimal:

27 83 <n>

Hex:

1B 53 <n>

BASIC:

CHR$(27);"S<n>";

ESC T

Cancel Superscript/Subscript: Returns to previous baseline
position. Also. in this chapter see ESC S.

Decimal:

27 89

Hex:

1B 54

BASIC:

CHR$(27);"T";

ESC U n

Set Unidirectional Printing

n = 0 unidirectional printing is turned off

n = 1 unidirectional printing is turned on

Decimal:

27 85 <n>

Hex:

1B 55 <n>

BASIC:

CHR$(27);"U<n>";

Advertising