Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 205
Chapter 2 Program Instructions
PRINTONE#
Field of Application
Statement for printing characters speci ed by their ASCII values to
a device or sequential le.
Syntax PRINTONE#<nexp
1
>[,<nexp
2
>[<,|;><nexp
3
>...][;]]
<nexp
1
> is the number assigned to the le or device when it was
OPENed.
<nexp
2-n
> is the ASCII decimal value of the character, which is to be
printed to the speci ed le or device.
Remarks
This statement is useful, when the host for some reason cannot produce
certain characters. The ASCII values entered will produce characters
according to the currently selected character set, see NASC. The ASCII
values can be separated by commas or semicolons according to the same
rules as for the PRINT# statement.
PRINTONE# can only be used to print to sequential files, not to
random les.
When sending data to the printers display, PRINTONE# will work in a way
similar to PRINT#. The display can be cleared by sending PRINT#<nexp>
twice (see line 20 in the example below).
Example
The display on the printers keyboard console is able to show two lines with 16
characters each. Before sending any text, the device must be OPENed and the
display be cleared. Note the trailing semicolon sign on line 40.
10 OPEN "console:" FOR OUTPUT AS #1
20 PRINT# 1:PRINT# 1
30 PRINTONE# 1,80;82;69;83;83
40 PRINTONE# 1,69;78;84;69;82;
50 CLOSE #1
RUN
Since the last line was appended by a semicolon, there will be no carriage
return and the text will appear on both line on the printers display as:
PRESS
ENTER