G.Command examples

The examples presented in this appendix illustrate the functions of the FDL commands. Use these examples together with the command information in the ªForms Description Languageº chapter.

GRID examples

 

The following examples illustrate how virtual page and form

 

origins are determined.

Reference

Refer to the ªGridsº section in the ªBasic conceptsº chapter and

 

the ªGRIDº section in the ªForms Description Languageº chapter

 

for more information.

Example 1

LANDSCAPE;

 

 

GRID [UNIT] [IS] FMT3;

 

In this example, page size is not specified, and the virtual page

 

defaults to paper size.

 

FMT3 in the GRID command provides the grid size and form

 

origin (which is offset from the virtual page origin).

 

Figure G-1.

Form results with grid specified, but no page

 

 

size or origin

Virtual page origin

Form origin

(set by FMT3)

Virtual page

(defaults to paper size)

Grid unit dimensions (set by FMT3)

Example 2

LANDSCAPE;

 

GRID ([UNITS] [IS] FMT1 ORIGIN [IS] 1 INCH 1 INCH;

 

In this example, the ORIGIN parameter in the GRID command

 

specifies a form origin that is offset from the virtual page origin

 

by one inch vertically and one inch horizontally.

 

Grid unit dimensions are set by FMT1.

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

G-1

Page 87
Image 87
Xerox 4650, 4450 manual Command examples, Grid examples, Form results with grid specified, but no, Size or origin