USING HFDL COMMANDS

Parameters

HORIZONTAL or VERTICAL specifies the direction of the text

 

relative to the page orientation.

 

SPACED defines the amount of vertical space (in n units) a line

 

of text occupies. If you specify a value (not zero), it replaces the

 

line spacing value of the font being used for this TEXT AT

 

command. An LPI value specifies line height in terms of lines

 

per inch. All other specifications are actual line height

 

measurements. The n units value must be positive. The units are

 

INCHES, CENTIMETERS, CPI, LPI, DOTS, and XDOTS. You can

 

use two decimal places when you specify inches and centimeters.

 

You must express DOTS and XDOTS in integers. POINTS

 

specifies that you want the TEXT SPACED in n POINTS (1/72

 

inch).

 

ALIGNED specifies the text justification alignment (LEFT, RIGHT,

 

CENTER, TOP, BOTTOM, JUSTIFIED). See the Xerox Laser

 

Printing Systems Forms Creation Guide for alignment examples.

 

You can center multiple horizontal strings beneath each other or

 

right± or left±justify them. You can center multiple vertical

 

strings alongside each other or align them on the top or bottom.

 

The JUSTIFIED alignment mode allows you to justify text. In

 

simple justification (with no COLUMN), you must specify where

 

the lines break. You can justify lines by finding the longest line

 

in a block of lines, then justify other text strings to this length.

 

This method of justification is best for justifying small blocks of

 

text or when you must justify the last line of a paragraph. You

 

can use the JUSTIFIED parameter with the INTERWORD SPACE

 

and the COLUMN SIZE IS commands. In this mode, text begins

 

at the coordinates you specify and extends to the right column

 

boundary. Line breaks occur automatically. Enter text in one

 

continuous string without line breaks.

Example

JUSTIFIED parameters:

 

TEXT JUSTIFIED AT 1,1 `This is a sample'

 

`of justified text' `in block format.';

 

This produces the following text on the form:

 

This is a sample

 

of justified text

 

in block format.

 

You specify IN COLUMN for any alignment mode and use it with

 

the COLUMN SIZE IS command. Line breaks occur automatically

 

when you use TEXT ALIGNED IN COLUMN or TEXT JUSTIFIED

 

IN COLUMN. You can enter a complete paragraph of text in

 

one continuous string. A quote indicates the end of a paragraph

 

rather than a line break. The system ignores multiple line breaks.

 

Columns do not have a fixed location on the page. You place

 

them relative to the TEXT command you specify. The horizontal

 

coordinate you specify sets the left column boundary. You set

 

the right column boundary to the sum of the column width and

 

the left column boundary.

 

You can include a maximum of 4096 characters in one

 

continuous text string.

HOST FORMS DESCRIPTION LANGUAGE 3.2 FOR IBM MVS CREATING FORMS

3±19

Page 47
Image 47
Xerox Printer INCHES, CENTIMETERS, CPI, LPI, DOTS, and XDOTS. You can, CENTER, TOP, BOTTOM, JUSTIFIED. See the Xerox Laser