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.

PRINTONE#<br />

Chapter 2 Program Instructions<br />

Field of Application Statement for printing characters specified by their ASCII values to a<br />

device or sequential file.<br />

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

1 2 3<br />

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

OPENed.<br />

2-n is the ASCII decimal value of the character, which is to be<br />

printed 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 can be<br />

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

PRINT# statement.<br />

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

When sending data to the printer's display, PRINTONE# will work in a way<br />

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

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

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

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

the display be cleared. Note the trailing semicolon sign on 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 7.2 – Reference Manual Ed. 3 179

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

Saved successfully!

Ooh no, something went wrong!