beautypg.com

Xerox 4450 User Manual

Page 42

background image

FORMS DESCRIPTION LANGUAGE

x

Coordinate of the origin on the x axis of the section in
relation to the origin of the form.

Default

None.

Considerations

SECTION can also be used to define an entire form as a section.
Within the section, any other command, statement, or
specification may be used except another SECTION command,
DO SECTION command, FORM command, or END command.
More than one section may be defined and invoked, but each
section must be terminated with the END SECTION command
before another section can be defined.

To invoke a section that has been defined, invoke the section
with the DO SECTION command. A section must be defined
before it can be invoked.

Example

Figure 2-7 illustrates how the SECTION commands are invoked.

Figure 2-7.

Specifying a section

FORM SEC 4;

PORTRAIT;

GRID FMT8;

FONT UN207B;

COMMENT *** CREATE PHONE MESSAGE PAD SECTION ***;

BEGIN SECTION PHONE;

AT 7 DRAW 7 HORIZONTAL LINES FROM 4 TO 33 USING SOLID 1 AND

REPEAT VERTICALLY AT 11,17,20,23,26,29;

HORIZONTAL TEXT USING FONT 1 AT 2,4 'PHONE MESSAGES';

HORIZONTAL TEXT USING FONT 1 AT 4,4 'CALLER:';

HORIZONTAL TEXT USING FONT 1 AT 8,4 'TIME:';

HORIZONTAL TEXT USING FONT 1 AT 12,4 'MESSAGE:';

END SECTION;

COMMENT *** PRINT MESSAGE PAD SECTION 4 TIMES ***;

DO SECTION PHONE AT 0,0;

DO SECTION PHONE AT 30,0;

DO SECTION PHONE AT 0,37;

DO SECTION PHONE AT 30,37;

END;

BEGIN SECTION PHONE;

BEGIN SECTION

Keywords

PHONE;

Name of the section. Rules for naming sections are identical
to those for naming forms: one to six alphanumeric
characters.

END SECTION;

Finishing command. Notice that the END SECTION
command does not use the section name. Including a
section name results in an error.

2-20

XEROX 4050/4090/4450/4650 LPS FORMS CREATION GUIDE

This manual is related to the following products: