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.

VERBON/VERBOFF<br />

Chapter —Program Instructions<br />

Purpose Statements for specifying the verbosity level of the communication from<br />

the printer on the standard OUT channel (serial communication only).<br />

Syntax VERBON|VERBOFF<br />

VERBON enables all verbosity levels (default).<br />

VERBOFF disables all verbosity levels.<br />

Remarks VERBON<br />

By default, when a character is received on the standard IN channel (see<br />

SETSTDIO statement), the corresponding character will be echoed back<br />

on the standard OUT channel. As the serial channel "uart1:" is by default<br />

selected both standard IN and OUT channel, this implies that when you<br />

enter a character on the keyboard of the host, the same character will<br />

appear on the screen after having been transmitted to the printer and back.<br />

When an instruction has been successfully executed, “Ok” will be displayed<br />

on the screen, else an error message will be returned. Obviously, this<br />

requires two-way communication, so verbosity has no meaning in case of<br />

the parallel "centronics:" communication protocol.<br />

VERBON corresponds to SYSVAR(18) = -1.<br />

VERBOFF corresponds to SYSVAR(18) = 0.<br />

Other verbosity levels can be selected using SYSVAR(18), and the type of<br />

error message can be selected using SYSVAR (19).<br />

VERBOFF<br />

All responses will be suppressed, which means that no characters or error<br />

messages will be echoed back. VERBOFF statements do not affect question<br />

marks and prompts displayed as a result of an INPUT statement.<br />

Instructions like DEVICES, FILES, FONTS, IMAGES, LIST, and<br />

PRINT will also work normally.<br />

Example This example shows how VERBOFF is used to suppress the printing of<br />

INPUT data in lines 20 and 40 during the actual typing on the host, and<br />

VERBON to allow the printing of the resulting string variables on the<br />

screen:<br />

10 FOR Q%=1 TO 6<br />

20 VERBOFF:INPUT "", A$<br />

30 VERBON:PRINT A$;<br />

40 VERBOFF:INPUT "", B$<br />

50 VERBON<br />

60 C$=SPACE$(25-LEN(A$))<br />

70 PRINT C$+B$<br />

80 NEXT Q%<br />

90 END<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!