Genicom GEK 00031B Printer User Manual


 
Chapter 2. ANSI Emulation GEK-00029B
28
Margins and Tabs
ESC H HTS (Horizontal Tab Set):
Sets a tab at the current print position
and updates any existing horizontal tab table. A total of 22 tabs can
be set. If this number is exceeded, the leftmost 22 tabs will be
retained.
Decimal: 27 72
Hex: 1B 48
BASIC: CHR$(27);"H";
ESC J VTS (Vertical Tab Set):
Sets a tab at the current print position and
updates any existing vertical tab table. A total of 12 tabs can be set.
If this number is exceeded, the 12 tabs closest to the top of the page
will be retained.
Decimal: 27 74
Hex: 1B 4A
BASIC: CHR$(27);"J";
ESC [ p1 g TBC (Tab Clear):
Clears horizontal or vertical tab stops based on the
p1 value as follows:
p1 = 0 Clears horizontal tab at current print position.
p1 = 1 Clears vertical tab at current print position.
p1 = 3 Clears all horizontal tabs.
p1 = 4 Clears all vertical tabs.
More than one parameter can be used.
Example: To clear all horizontal and vertical tabs, send:
<ESC> [ 3 ; 4 g
Decimal: 27 91 <p1> 103
Hex: 1B 5B <p1> 67
BASIC: CHR$(27);"[<p1>;"g";
ESC [ p1; p2 ; p3 r GENFD (Forms Definition):
Establishes the form length <p1>, the
top margin <p2>, and the bottom margin <p3> in decipoints. Default
parameters are for an 11-inch (7,920 decipoints) long form with a top
and bottom margin of zero.
p1 - maximum allowable length is 24 inches (17,280 decipoints).
p2 - top of page to first print line
p3 – non-printable area at bottom of form
Decimal: 27 91 <p1> <p2> <p3> r
Hex: 1B 5B <p1> <p2> <p3>
BASIC: CHR$(27);”[<p1>;<p2>;<p3>r";