It can be any whole number between 0, And indicates the space (in dots – Compuprint 6314 CZL User Manual

Page 14

Advertising
background image

CZL – Programmer Manual

14

command incorporates an automatic word wrapping function

25

to make operations easier without

worrying about the placement of individual strings.
l is the width of the box expressed in dots

26

. It can be any whole number between 0

27

and 9999.

However, it must not be smaller than the width of a character or larger than the width of the
printing area (see note 4 on page 9). If the width of the block is not sufficient to contain at least
one character, nothing is printed; if it is not large enough to contain everything, only the text
contained in the block is printed

28

.

n is the maximum number of lines that the box can contain. It can be any whole number between 1

29

and 9999. In practice, this parameter determines the height of the box (which is thus expressed in
number of lines). Thus, by changing the font type, the dimensions of the box are automatically
adjusted. If the number of lines is not sufficient to contain all the lines of text that are to be
printed, the last of these is overwritten (thus becoming illegible) until all characters to be printed
are consumed.

s è is a whole number between –9999 and +9999

30

and indicates the space (in dots

31

) to add (if the

number is positive) or subtract (if the number is negative) between one line and another. The
numbers without sign are read as positive.

g is a letter that can assume the following value on the basis of the type of justification desired: L

32

for left justification of the text, C to center it in the box, J for full justification, and R for right
justification.

m is a whole number between 0

33

and 9999 indicating the number of dots that the left margin is

indented for lines after the first. Its function is thus to indent text.

To render formatting of text inside the box easier, the following sequences of special characters can
be used:
\& corresponds to a <CR> (Carriage Return) + <LF> (Line Feed), to force a carriage return.
\ corresponds to a word break. If the split word is close to the left margin, the printer adds word-

break hyphen. Otherwise, the word break is ignored.

\\ serves to print the character \.
If a word is too long to be contained on a single line (and is not broken by any \ character) a word-
break hyphen is automatically added close to the left margin of the block and the rest of the word is
printed on the following line. The language does not provide any rule for syllabification of the
words: they are split apart according to their length. Therefore, it is necessary to force their break
with the \ command to respect the syllabification rules of the word itself.
These “special” sequences of characters also fall within the limit of 3072 characters indicated for
the ^FD

34

command. That is, each alphanumeric string aa…a, including special sequences, cannot

be longer than 3072 characters.

25

Just as in word processing, the text is justified (on the left, center, full justification, or on the right) and returns

automatically inside the box.

26

See note 5 on page 9.

27

Default value.

28

Therefore, the parameter l is mandatory since the default value 0 would be used instead.

29

Default value.

30

0 is the default value.

31

See note 5 on page 9.

32

Default value.

33

Default value.

Advertising
This manual is related to the following products: