Intermec PF2i Fingerprint Developer's Guide (old) - Page 22
Learning Fingerprint Syntax, About Keywords, Statements, and Lines - parts
View all Intermec PF2i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 22 highlights
Chapter 2 - Understanding Fingerprint Syntax Learning Fingerprint Syntax Fingerprint syntax consists of a variety of keywords, parameters, and operators. For specific command syntax, see the Fingerprint Command Reference Manual. About Keywords, Statements, and Lines A Fingerprint command begins with a keyword. Keywords generally indicate the action to be taken, the printer setting to be changed, or other related information. The next table lists some examples. Keyword Examples Keyword BARSET COPY FORMAT DATE$ GOTO STORE IMAGE Description Specifies a bar code. Copies a file. Specifies the format to be used for dates (such as YYMMDD). Branches unconditionally to a specified line. Sets up parameters for storing an image in printer memory. In some cases, a space character is a required part of the keyword, as in LINEINPUT, where indicates a required space character. Some keywords can be used in an abbreviated form (for example, PT instead of PRTXT). For more information, see the Fingerprint Command Reference Manual. A statement is an instruction which specifies an operation. It consists of a keyword, usually followed by one or several parameters, flags, or input data, which further define the statement. The next table lists examples of statements. Statement Examples Keyword and Statement PRTXT "HELLO" ON BREAK 1 GOSUB 1000 FILES "tmp:", A Description Keyword PRTXT indicates that the following data ("HELLO") is to be placed in a text field. ON BREAK 1 GOSUB indicates that on the first break interrupt instruction, the program must branch to a subroutine at line 1000. Indicates that all files (A) in the "tmp:" directory should be listed to the printer OUT channel. A line in a Fingerprint program may contain up to 32,767 characters and must always be terminated by a carriage return character (ASCII 13 decimal). In Programming Mode, lines are always numbered, although if you allow Fingerprint to number the lines automatically, the numbers are not visible until the program is listed. In Immediate mode and the Intermec Direct Protocol, numbering is not required. 6 Intermec Fingerprint Developer's Guide