Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 193
Chapter 2 Program Instructions
PRBOX, cont.
Remarks, cont. Creating a multiline text eld, cont.
The vertical distance between the inner edge of the box line and the borders of
the text eld as well as the empty vertical space between the character cells of
two adjacent lines (line spacing) is speci ed by <nexp
5
>:
- In case of ALIGN 1, 2, or 3, it decides the distance between the inner
edge of the bottom box line and the bottom edge of the text eld
as well as line spacing.
- In case of ALIGN 7, 8, or 9, it decides the distance between the inner
edge of the right side box line and the right-hand edge of the text
eld as well as line spacing.
- In case of ALIGN 4, 5, or 6, this parameter only decides the line
spacing.
See the illustration on next page for examples of how the alignment affects
the location of multi-line text.
If the text in <sexp
1
> is entered as a continuous string of characters without any
spaces, linefeeds, or carriage returns, the text will wrap to the next line when
there is no room left for any more characters on a line.
If any combination of a carriage return (CR = ASCII 13 dec,) and a
linefeed (LF = ASCII 10 dec.) is encountered, the remaining text will be
wrapped once to the next line.
Space characters (ASCII 32 dec.) will also initiate a line wrap. If there
are more than one space character, the wrapping will be at the last one
that ts into the line in question.
It is possible to replace the default line delimiters (CR, LF, and CR/LF) with
some other line delimiter speci ed in a string of max. 9 characters (<sexp
2
>).
This delimiter will not be printed, even if it is a printable character. Each time
the delimiter is encountered, the text will wrap to a new line.
Hyphenation Support
In <sexp
3
> you can modify the way hyphenation will be performed using a
special syntax described later on.
You can put invisible hyphen delimiters in the text string at suitable
wrap-around positions. The delimiter is by default a hyphen sign (ASCII 45
dec.). However, you can use a string of any characters up to nine characters
long instead, but be careful so it will not be confused with the text. If a
wrap-around is performed, the corresponding hyphen delimiter will by
default be printed as a hyphen sign (ASCII 45 dec.), whereas hyphen
delimiters not used for wrap-around will not be printed.
If you for some reason would like to print some other character(s) than
hyphens, you can specify a string of hyphen replacement characters. It is
possible to use a string up to nine characters long, but the shorter the string
the lesser risk that a line will wrap outside the box.
If you have a text string with long words and for some reason have not
inserted all necessary line delimiters, a line-wrap may occur unexpectedly
in a word. You can specify a hyphen delimeters for this case as well. By
default, there is no such delimeter.