Programming instructions

26
Intermec Fingerprint 6.13 – Programmer's Guide
1. Introduction
5. FINGERPRINT PROGRAMMING
Continued!
The Fingerprint firmware works in two main modes, the “Immedi-
ate Mode” and the “Programming Mode”. A special case is the
Direct Protocol, which is described in a separate Programmer's
Guide and will not be explained any further in this manual.
Immediate Mode implies that the instructions are executed at once
as soon as a carriage return is received. Most instructions can be
used, but the instructions cannot be saved after execution.
Programming Mode is used to enter instructions in the form of
program lines. The lines can be manually provided with visible line
numbers at editing, or be automatically provided with invisible line
numbers by the printer's firmware. No execution is performed until
a RUN statement is issued in the Immediate Mode, i.e. on a line
without number. The program can be saved in the printer's memory
and used again.
To be able to program a printer, you need a terminal or host
computer with a screen and a keyboard and a working two-way
serial communication between printer and host, preferably RS
232C on communication channel "uart1:". The host must be able to
transmit and receive ASCII characters, e.g. by means of a commu-
nication program like Windows Terminal.
There are three main methods of writing and transmitting a program
to the printer:
Line-by-Line Method
If you have an “non-intelligent” terminal that just can transmit and
receive ASCII characters, you must write and send each line
separately.
Each line will be checked for possible syntax errors as soon as the
printer receives it and the printer will return either “Ok” or an error
message to the screen of the host, provided verbosity is on.
If you need to correct a mistake, you must rewrite the complete
line using the same line number. Thus, this method is not suited
for the programming without line numbers.
Note that even if most examples of computer connection in this
manual assumes a PC running under MS Windows 3.11, Finger-
print is by no means restricted to such computers. Other personal
computers and operating systems, such as DOS, Windows 95,
Windows NT, Mac OS, OS-2, Unix etc., as well as larger computer
systems, can be used following the same principles.
2. Editing Methods
Computer Connection
Also see:
Chapter 2.1
Verbosity
Also see:
Chapter 7.7
Chapter 15.7
Error Messages
Also see:
Chapter 16.1