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.

PRINTONE#<br />

Chapter —Program Instructions<br />

Purpose Statement for printing characters specified by their ASCII values to a<br />

device or sequential file.<br />

Syntax PRINTONE#[,[...][;]]<br />

is the number assigned to the file or device when it was OPENed.<br />

is the ASCII decimal value of the character, which is to be printed<br />

to the specified file or device.<br />

Remarks This statement is useful, when the host for some reason cannot produce<br />

certain characters. The ASCII values entered will produce characters according<br />

to the currently selected character set, see NASC. The ASCII values<br />

can be separated by commas or semicolons according to the same rules as<br />

for the PRINT# statement.<br />

PRINTONE# can only be used to print to sequential files, not to random<br />

files.<br />

When sending data to the printer’s display, PRINTONE# will work<br />

in a way similar to PRINT#. The display can be cleared by sending<br />

PRINT# twice (see line 20 in the example below).<br />

Example The display on the printer’s keyboard console is able to show two lines<br />

with 16 characters each. Before sending any text, the device must be<br />

OPENed and the display be cleared. Note the trailing semicolon sign on<br />

line 40.<br />

10 OPEN "console:" FOR OUTPUT AS #1<br />

20 PRINT# 1:PRINT# 1<br />

30 PRINTONE# 1,80;82;69;83;83<br />

40 PRINTONE# 1,69;78;84;69;82;<br />

50 CLOSE #1<br />

RUN<br />

Since the last line was appended by a semicolon, there will be no carriage<br />

return and the text will appear on both line on the printer’s display as:<br />

PRESS<br />

ENTER<br />

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

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

Saved successfully!

Ooh no, something went wrong!