17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

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 />

Chapter 2 Program Instructions<br />

Field of Application Statement for providing the input data for a text field, i.e. one line of text.<br />

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

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

Remarks The text field must be defined in regard of FONT and may be further defined<br />

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

statements (or their respective default values).<br />

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

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

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

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

numeric 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<br />

RUN<br />

PRINTFEED<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<br />

RUN<br />

PRINTFEED<br />

SUNSHINE<br />

MOONLIGHT<br />

yields a label with the text:<br />

<strong>Intermec</strong> Fingerprint 7.2 – Reference Manual Ed. 3 184

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

Saved successfully!

Ooh no, something went wrong!