Xerox Printer manual Grid command, Grid Unit, Cpi Lpi, Origin

Models: Printer

1 181
Download 181 pages 29.88 Kb
Page 35
Image 35

USING HFDL COMMANDS

GRID command

Use the GRID command to specify the dimensions of the grid unit and the location of the form origin with respect to the virtual page origin. All HFDL description commands create and place form elements (lines and boxes) relative to the form origin.

Figure 3±4 shows the command syntax flow.

Figure 3±4. GRID command syntax

GRID

 

 

 

 

 

 

 

UNIT

IS

 

 

 

 

 

 

format ± id

 

,

n

units

 

 

 

 

 

,

 

 

 

 

 

 

 

n

units

 

 

 

 

BY

 

,

n

CPI

 

,

 

 

 

 

 

 

 

n

LPI

 

 

 

 

BY

 

,

 

units

 

,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

;

ORIGIN

y

 

,

x

 

 

 

 

units

 

units

 

 

 

 

 

Parameters

UNIT and IS are optional words you can use as a lead±in to the

 

format ± id and units identifiers.

The name of the predefined format that you have selected is format ± id. Refer to the ªFMT grid format propertiesº appendix for more information.

The size of the grid unit is n, expressed in positive numbers of units (for example, 6 inches). If you specify inches or centimeters, the value represents one side of a square grid unit. If you only specify one DOTS or XDOTS parameter, the grid unit is the same number of dots both horizontally and vertically.

CPI specifies the number of characters per inch for the horizontal size of the grid unit.

LPI specifies the number of lines per inch for the vertical size of the grid unit.

ORIGIN specifies the origin of the form relative to the virtual page origin. ORIGIN establishes the 0.0 X and Y coordinates.

HOST FORMS DESCRIPTION LANGUAGE 3.2 FOR IBM MVS CREATING FORMS

3±7

Page 35
Image 35
Xerox Printer manual Grid command, Grid Unit, Cpi Lpi, Origin