Margins and Tabs. Genicom P600, 5000 Series, GEK 00031B, GEK 00031B

Add to My manuals
314 Pages

advertisement

Margins and Tabs. Genicom P600, 5000 Series, GEK 00031B, GEK  00031B | Manualzz

Margins and Tabs

ESC H

ESC J

ESC [ p1 g

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:

Hex:

BASIC:

27 72

1B 48

CHR$(27);"H";

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:

Hex:

BASIC:

27 74

1B 4A

CHR$(27);"J";

TBC (Tab Clear): Clears horizontal or vertical tab stops based on the p1 value as follows: p1 = 0 p1 = 1 p1 = 3 p1 = 4

Clears horizontal tab at current print position.

Clears vertical tab at current print position.

Clears all horizontal tabs.

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:

Hex:

BASIC:

27 91 <p1> 103

1B 5B <p1> 67

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:

Hex:

BASIC:

27 91 <p1> <p2> <p3> r

1B 5B <p1> <p2> <p3>

CHR$(27);”[<p1>;<p2>;<p3>r";

Chapter 2. ANSI Emulation

28

GEK-00029B

ESC [ p1; p2 s

Sequence Explanation

ESC [ r

ESC [ 8280 r

Default values of 11-inch form length, zero top and bottom margins.

11.5-inch form length, default top and bottom margins of zero

ESC [ ; 720 r Default length of 11 inches, top margin of 1-inch.

Default bottom margin of zero.

ESC [ ; ; 720 r Default length of 11 inches, default top margin of zero, and a 1-inch bottom margin.

ESC [ 7920 ; 360 ; 360 r 11-inch form length, ½-inch top and bottom margins

Decimal:

Hex:

BASIC:

27 91 <p1> <p2> <p3> 114

1B 5B <p1> <p2> <p3> 72

CHR$(27);"[<p1><p2><p3>r";

GENSLR (Set Left/Right Margins): The p parameters are distances from the left edge of the printable area of the paper. Parameter <p1> sets the left margin and <p2> sets the right margin. An omitted parameter clears that margin. Invalid parameters set the left margin to zero (column 1) and the right margin to 9,504 decipoints (column

136 at 10 cpi for the 13.6-inch machines).

A new left margin takes effect following any line terminator that normally calls for a print position set to the left. A new right margin takes effect when the print position reaches the new margin.

Margin settings stored as decipoint values are enforced to the nearest

1/120 of an inch. Character printing operates at 1/120 of an inch.

Decimal:

Hex:

BASIC:

27 91 <p1> <p2> 115

1B 5B <p1> <p2> 73

CHR$(27);"[<p1><p2>s";

NOTE

There is a physical left margin of .6 to 1.6 inches from the edge of the paper to the first printable column. This distance is adjustable by sliding all four tractors sideways. The margins set with this sequence begin at the first physical print position, not at the edge of the paper.

GEK-00029B

29

5000 Series Programmer’s Manual

ESC [ p1 ; ... p22; u GENHTS (Multiple Horizontal Tab Set): Sets up to 22 horizontal tabs. The p parameters are set in decipoints.

If more than 22 tabs are set, the highest numbered tabs (farthest right) will be pushed out of the tab table. Tabs set in front of the left margin, or beyond the right margin. are not usable. Moving the margins will make them active.

Example: To place tabs at columns 10, 20, and 40 at 10 cpi, send

ESC [ 10 ; 40 ; 20 u (tabs can be specified in any order).

Decimal:

Hex:

BASIC:

27 91 <p1> 59 <p2> 59 … <p22> 59 117

1B 5B <p1> 3B <p2> 3B ... 3B <p22> 3B 75

CHR$(27);"[<p1>;<p2>; ... ;<p22>;u"

ESC [ p1 ; …; p12 ; v GENVTS (Multiple Vertical Tab Set): Sets up to 12 vertical tabs.

The p parameters are set in decipoints. If more than 12 tabs are set, the 12 tabs nearest the top of form will be retained. If a tab is set in the top margin area, it will be stored but will not be active until the margin is moved. If a tab is set beyond the bottom margin, attempting to move to that tab will advance the paper to the next top of form.

Decimal:

Hex:

BASIC:

27 91 <p1> 59 <p2> 59 … <p12> 59 118

1B 5B <p1> 3B <p2> 3B … <p12> 3B 76

CHR$(27);"[<p1>;<p2>;...;<p12>;v";

Chapter 2. ANSI Emulation

30

GEK-00029B

advertisement

Related manuals

Download PDF

advertisement

Table of contents