Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7208
Chapter 2 Program Instructions
PRPOS (PP), cont.
Remarks, cont.
The insertion point must be selected so the eld in question will t inside
the print window. This implies that the print direction, the size of the eld
including invisible parts of for example an image, the alignment, and other
formatting instructions must be considered. A eld that does not t entirely
inside the print window will cause Error 1003, Field out of label, except
when a CLIP ON statement is issued.
To nd out the present insertion point, use the PRSTAT function.
Examples
Programming and printing a line of text:
10 FONT "Swiss 721 BT"
20 PRPOS 30,200
30 PRTXT "HELLO"
40 PRINTFEED
RUN
Each text line is normally positioned separately by is own PRPOS statement.
If no position is given for a printable statement, it will be printed immediately
after the preceding printable statement.
10 FONT "Swiss 721 BT"
20 PRPOS 30,200
30 PRTXT "SUMMER"
40 PRTXT "TIME"
50 PRINTFEED
RUN
yields a label with the text:
SUMMERTIME
A program for xed line-spacing of text may be composed this way (another
way is to use the extended PRBOX statement):
10 FONT"Swiss 721 BT"
20 X%=30:Y%=500
30 INPUT A$
40 PRPOS X%,Y%
50 PRTXT A$
60 Y%=Y%-50
70 IF Y%>=50 GOTO 30
80 PRINTFEED
90 END
RUN
Enter the text for each line after the question mark shown on the screen of the
host. The Y-coordinate will be decremented by 50 dots for each new line until it
reaches the value 50, which means that ten lines will be printed.