Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7192
Chapter 2 Program Instructions
PRBOX, cont.
Remarks, cont.
Creating a simple box, cont.
The illustration below shows how the height and width of the box are
de ned for different print directions.
Creating a multiline text eld
The PRBOX statement can also be used to create an area in which a eld
of wrapped and hyphenated text can be printed. As opposed to the PRTXT
statement, there is no need to specify each line of text separately. The text
eld can be framed by the box (line weight > 0), or the box can be invisible
(line weight = 0). The maximum number of characters on each line is 300
and the maximum number of lines is 20.
The position of the text frame inside the box is affected by the direction (see
DIR statement), the alignment (see ALIGN statement), and by two parameters
in the PRBOX statement (<nexp
4
> and <nexp
5
>.
The direction rotates the box with its text eld around the anchor point as
speci ed by the alignment. The alignment speci es the anchor point of the box
itself as left-, right-, or center-aligned (see ALIGN), and at the the same time
also decides how the eld will be aligned inside the box (9 possible positions)
and if the text lines will be left, right, or center justi ed.
In the following description, horizontal and vertical should be understood
in relation to how the text is printed. (That means that in directions 2
and 4, horizontal and vertical have opposite meanings than in directions
1 and 3).
The horizontal distance between the inner edge of the box line and the
borders of the text eld is speci ed by <nexp
4
>:
- In case of ALIGN 1, 4, or 7, it decides the distance between the inner edge
of the left side box line and the left-hand edge of the text eld.
- In case of ALIGN 3, 6, 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.
- In case of ALIGN 2, 5, or 8, this parameter has no consequence.