FORMS DESCRIPTION LANGUAGE

 

The forms compiler is capable of compiling a number of paper

 

sizes. Although a form file may be compiled without an error, it

 

may not be printable on a particular system if the paper size

 

exceeds the maximum feeder capacity of that system. Examples

 

of these are A3, B4, and 11 by 17 inch paper sizes. If you

 

attempt to print a form with an incompatible paper size, the

 

following message is displayed on the system controller:

 

Paper size in cluster AUTO is too small

 

When coding .FSL applications, the PAPER command must

 

precede the LANDSCAPE/PORTRAIT statement.

 

If a predefined format is specified in the GRID command, paper

 

size is determined automatically, and the PAPER command is

 

unnecessary. The PAPER command is required, however, any

 

time the paper size is different from the sysgen default.

 

Note: The correct size paper must be loaded in the feeder. A

 

paper size mismatch at run time causes an error message to be

 

displayed. The form does not print, and the job may be aborted.

LANDSCAPE/PORTRAIT

 

 

 

 

Specifies the origin of the form and the virtual page size.

Syntax

orientation PAGE SIZE IS n WIDE BY m HIGH;

Parameter options

orientation

 

LANDSCAPE

 

The form is oriented horizontally (like most paintings or

 

photographs of landscape scenes).

 

PORTRAIT

 

The form is oriented vertically (like most portraits of

 

people).

 

n

 

Specifies the virtual page width in DOTS, XDOTS, INCHES

 

(IN), or centimeters (CM).

 

m

 

Specifies the virtual page height in DOTS, XDOTS, INCHES

 

(IN), or centimeters (CM).

Default

LANDSCAPE is the default orientation, and the default units is

 

INCHES.

Example

PORTRAIT;

Considerations

When coding .FSL applications, the PAPER command must

 

precede the LANDSCAPE/PORTRAIT command.

 

If a PAGE SIZE parameter is specified, a virtual page of that size is

 

centered relative to the paper. The virtual page origin is at the

 

upper left corner of the centered virtual page.

 

If no PAGE SIZE parameter is specified, the virtual page size

 

defaults to the paper size specified in the PAPER command;

 

otherwise it defaults to the sysgen-defined paper size.

 

Only one LANDSCAPE or PORTRAIT command is allowed in a

 

form description. If specified, the command must precede the

 

GRID, BOX, LINE, LOGO, and TEXT commands, described later in

 

this chapter.

 

Page width and height values must be positive numbers and may

 

contain two decimal places for all units except DOTS.

2-6

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

Page 28
Image 28
Xerox 4450, 4650 manual Landscape/Portrait, Orientation page Size is n Wide by m High