Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 191
Chapter 2 Program Instructions
PRBOX (PX)
Field of Application
Statement for creating a box, optionally containing a single text line or
a frame of mulitiple hyphenated text lines.
Syntax PRBOX|PX<nexp
1
>,<nexp
2
>,<nexp
3
>
[,<sexp
1
>[,<nexp
4
>[,<nexp
5
>[,<sexp
2
>[,<sexp
3
>]]]]]
<nexp
1
> is the height of the box in dots (1-6000).
<nexp
2
> is the width of the box in dots (1-6000).
<nexp
3
> is the line weight in dots (0/1-6000).
<sexp
1
> is the framed text to be written inside the box (max. 300
char./line, max. 20 lines). Single-byte fonts only.
<nexp
4
> is the horizontal distance between inner edge of the box line
and the text frame (-100 to 100 dots). Default: 0.
<nexp
5
> is the vertical distance between the inner edge of the box line
and text frame and also between each line of text in the frame
(-100 to 100 dots). Default: Same value as <nexp
4
>.
<sexp
2
> is a line delimiter (max. 9 characters), which replaces the
default delimiter string CHR$(10) or CHR$(13). Each time
this delimiter is encountered in the text string (<sexp
1
>, the
rest of the text is wrapped to the next line.
<sexp
3
> is a control string for hyphen delimiter and replacement,
see Remarks.
Remarks
This statement has two purposes: to create a rectangular white box surrounded
by a line with a certain thickness, or to specify a text frame that can contain
up to 20 lines of hyphenated text. These two purposes can be combined so
a text frame is surrounded by a black box.
Creating a simple box:
In this case you only need to specify the rst three parameters, that is
height, width, and line weight (thickness). The box will be drawn with
its anchor point (see ALIGN) at the insertion point, as speci ed by the
nearest preceding PRPOS statement. A box can be aligned left, right,
or center along its baseline.
The print direction speci es how the box is rotated in relation to its
anchor point.
The line weight (thickness) grows inward from the anchor point. The heavier
the line, the less white area inside the box. Thus, it is possible to create
a black area using a box with very heavy lines. For a simple box without
any text eld, the line weight must be >0. The white area inside a box
can be used for printing. Boxes, lines, and text may cross (also see
XORMODE ON/OFF).