02.10.2012 Views

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PRTXT (PT)<br />

Purpose Statement for providing the input data for a text field.<br />

Syntax PRTXT|PT[;...][;]<br />

Chapter —Program Instructions<br />

specifies one line of text (max. 300 characters)<br />

Remarks A text field consists of one line of text. The text field must be defined in<br />

regard of FONT or FONTD and may be further defined and positioned<br />

by DIR, ALIGN, MAG, PRPOS, INVIMAGE, or NORIMAGE statements<br />

or their respective default values.<br />

Two or more expressions can be combined to form a text line. They must<br />

be separated by semicolons (;) and will be printed adjacently. Plus signs can<br />

also be used for the same purpose, but only between string expressions.<br />

String constants must be enclosed by quotation marks, whereas numeric<br />

constants or any kind of variables must not.<br />

Examples Programming and printing a line of text:<br />

10 FONT "Swiss 721 BT"<br />

20 PRPOS 30,300<br />

30 PRTXT "How do you do?"<br />

40 PRINTFEED<br />

RUN<br />

Several string constants and string variables can be combined into one line<br />

of text by the use of plus signs or semicolons:<br />

10 FONT "Swiss 721 BT"<br />

20 PRPOS 30,300<br />

30 PRTXT "SUN";"SHINE"<br />

40 A$="MOON"<br />

50 B$="LIGHT"<br />

60 PRPOS 30,200<br />

70 PRTXT A$+B$<br />

80 PRINTFEED<br />

RUN<br />

yields a label with the text:<br />

SUNSHINE<br />

MOONLIGHT<br />

<strong>Intermec</strong> Fingerprint <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong> 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!